[]Struct sunrise_libuser::ipc::HandleDescriptorHeader

#[repr(transparent)]pub struct HandleDescriptorHeader(pub u32);

Part of an HIPC command. Sent only when MsgPackedHdr::enable_handle_descriptor is true.

Implementations

impl HandleDescriptorHeader

fn send_pid(&self) -> bool

fn set_send_pid(&mut self, value: bool)

fn num_copy_handles(&self) -> u8

fn set_num_copy_handles(&mut self, value: u8)

fn num_move_handles(&self) -> u8

fn set_num_move_handles(&mut self, value: u8)

Trait Implementations

impl<T> BitRange<T> for HandleDescriptorHeader where
    u32: BitRange<T>, 

impl Debug for HandleDescriptorHeader

Auto Trait Implementations

impl RefUnwindSafe for HandleDescriptorHeader

impl Send for HandleDescriptorHeader

impl Sync for HandleDescriptorHeader

impl Unpin for HandleDescriptorHeader

impl UnwindSafe for HandleDescriptorHeader

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> SizedIPCBuffer for 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.