Struct WireOptionalProcess
pub struct WireOptionalProcess { /* private fields */ }
Expand description
An optional Zircon Process.
Implementations§
§impl WireOptionalProcess
impl WireOptionalProcess
pub fn set_encoded_present(out: &mut MaybeUninit<WireOptionalProcess>)
pub fn set_encoded_present(out: &mut MaybeUninit<WireOptionalProcess>)
Encodes a Process as present in an output.
pub fn set_encoded_absent(out: &mut MaybeUninit<WireOptionalProcess>)
pub fn set_encoded_absent(out: &mut MaybeUninit<WireOptionalProcess>)
Encodes a Process as absent in an output.
pub fn as_raw_handle(&self) -> Option<u32>
pub fn as_raw_handle(&self) -> Option<u32>
Returns the underlying zx_handle_t
, if any.
Trait Implementations§
§impl Debug for WireOptionalProcess
impl Debug for WireOptionalProcess
§impl<D> Decode<D> for WireOptionalProcesswhere
D: HandleDecoder + ?Sized,
impl<D> Decode<D> for WireOptionalProcesswhere
D: HandleDecoder + ?Sized,
§fn decode(
slot: Slot<'_, WireOptionalProcess>,
decoder: &mut D,
) -> Result<(), DecodeError>
fn decode( slot: Slot<'_, WireOptionalProcess>, decoder: &mut D, ) -> Result<(), DecodeError>
Decodes a value into a slot using a decoder. Read more
§impl FromWireOption<WireOptionalProcess> for Process
impl FromWireOption<WireOptionalProcess> for Process
§fn from_wire_option(wire: WireOptionalProcess) -> Option<Process>
fn from_wire_option(wire: WireOptionalProcess) -> Option<Process>
Converts the given
wire
to an option of this type.§impl Wire for WireOptionalProcess
impl Wire for WireOptionalProcess
§type Decoded<'de> = WireOptionalProcess
type Decoded<'de> = WireOptionalProcess
The decoded wire type, restricted to the
'de
lifetime.§fn zero_padding(out: &mut MaybeUninit<WireOptionalProcess>)
fn zero_padding(out: &mut MaybeUninit<WireOptionalProcess>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireOptionalProcess
impl RefUnwindSafe for WireOptionalProcess
impl Send for WireOptionalProcess
impl Sync for WireOptionalProcess
impl Unpin for WireOptionalProcess
impl UnwindSafe for WireOptionalProcess
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more