[−]Struct sunrise_kernel::ipc::session::MsgPackedHdr
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>,
u64: BitRange<T>,
fn bit_range(&self, msb: usize, lsb: usize) -> T
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: 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]
T: 'static + ?Sized,
impl<T> Bit for T where
T: BitRange<u8>,
T: BitRange<u8>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,