pub struct WireProcess { /* private fields */ }
Expand description
A Zircon Process.
Implementations§
Source§impl WireProcess
impl WireProcess
Sourcepub fn set_encoded_present(out: &mut MaybeUninit<WireProcess>)
pub fn set_encoded_present(out: &mut MaybeUninit<WireProcess>)
Encodes a Process as present in an output.
Sourcepub fn is_invalid(&self) -> bool
pub fn is_invalid(&self) -> bool
Returns whether the underlying zx_handle_t
is invalid.
Sourcepub fn as_raw_handle(&self) -> u32
pub fn as_raw_handle(&self) -> u32
Returns the underlying zx_handle_t
.
Trait Implementations§
Source§impl Debug for WireProcess
impl Debug for WireProcess
Source§impl<D> Decode<D> for WireProcesswhere
D: HandleDecoder + ?Sized,
impl<D> Decode<D> for WireProcesswhere
D: HandleDecoder + ?Sized,
Source§fn decode(
slot: Slot<'_, WireProcess>,
decoder: &mut D,
) -> Result<(), DecodeError>
fn decode( slot: Slot<'_, WireProcess>, decoder: &mut D, ) -> Result<(), DecodeError>
Decodes a value into a slot using a decoder. Read more
Source§impl FromWire<WireProcess> for Process
impl FromWire<WireProcess> for Process
Source§fn from_wire(wire: WireProcess) -> Process
fn from_wire(wire: WireProcess) -> Process
Converts the given
wire
to this type.Source§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl IntoNatural for WireProcess
impl IntoNatural for WireProcess
Source§impl Wire for WireProcess
impl Wire for WireProcess
Source§type Decoded<'de> = WireProcess
type Decoded<'de> = WireProcess
The decoded wire type, restricted to the
'de
lifetime.Source§fn zero_padding(out: &mut MaybeUninit<WireProcess>)
fn zero_padding(out: &mut MaybeUninit<WireProcess>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireProcess
impl RefUnwindSafe for WireProcess
impl Send for WireProcess
impl Sync for WireProcess
impl Unpin for WireProcess
impl UnwindSafe for WireProcess
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