[]Struct sunrise_kernel::ipc::session::MsgPackedHdr

pub struct MsgPackedHdr(pub u64);

Represenens the header of an HIPC command.

The kernel uses this header to figure out how to send the IPC message.

Implementations

impl MsgPackedHdr

fn ty(&self) -> u16

fn num_x_descriptors(&self) -> u8

fn set_num_x_descriptors(&mut self, value: u8)

fn num_a_descriptors(&self) -> u8

fn set_num_a_descriptors(&mut self, value: u8)

fn num_b_descriptors(&self) -> u8

fn set_num_b_descriptors(&mut self, value: u8)

fn num_w_descriptors(&self) -> u8

fn set_num_w_descriptors(&mut self, value: u8)

fn raw_section_size(&self) -> u16

fn set_raw_section_size(&mut self, value: u16)

fn c_descriptor_flags(&self) -> u8

fn set_c_descriptor_flags(&mut self, value: u8)

fn enable_handle_descriptor(&self) -> bool

fn set_enable_handle_descriptor(&mut self, value: bool)

Trait Implementations

impl<T> BitRange<T> for MsgPackedHdr where
    u64: BitRange<T>, 

impl Debug for MsgPackedHdr

Auto Trait Implementations

impl RefUnwindSafe for MsgPackedHdr

impl Send for MsgPackedHdr

impl Sync for MsgPackedHdr

impl Unpin for MsgPackedHdr

impl UnwindSafe for MsgPackedHdr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Bit for T where
    T: BitRange<u8>, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.