Struct WireProcess
pub struct WireProcess { /* private fields */ }
Expand description
A Zircon Process.
Implementations§
§impl WireProcess
impl WireProcess
pub 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.
pub fn is_invalid(&self) -> bool
pub fn is_invalid(&self) -> bool
Returns whether the underlying zx_handle_t
is invalid.
pub fn as_raw_handle(&self) -> u32
pub fn as_raw_handle(&self) -> u32
Returns the underlying zx_handle_t
.
Trait Implementations§
§impl Debug for WireProcess
impl Debug for WireProcess
§impl<D> Decode<D> for WireProcesswhere
D: HandleDecoder + ?Sized,
impl<D> Decode<D> for WireProcesswhere
D: HandleDecoder + ?Sized,
§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
§impl FromWire<WireProcess> for Process
impl FromWire<WireProcess> for Process
§fn from_wire(wire: WireProcess) -> Process
fn from_wire(wire: WireProcess) -> Process
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
§impl Wire for WireProcess
impl Wire for WireProcess
§type Decoded<'de> = WireProcess
type Decoded<'de> = WireProcess
The decoded wire type, restricted to the
'de
lifetime.§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