Type Alias WireToken

Source
pub type WireToken = WireHandle;
Expand description

The wire type corresponding to Token.

Aliased Type§

union WireToken { /* private fields */ }

Implementations

§

impl WireHandle

pub fn set_encoded_present(out: &mut MaybeUninit<WireHandle>)

Encodes a handle as present in an output.

pub fn is_invalid(&self) -> bool

Returns whether the underlying zx_handle_t is invalid.

pub fn as_raw_handle(&self) -> u32

Returns the underlying [zx_handle_t].

Trait Implementations

§

impl Debug for WireHandle

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<D> Decode<D> for WireHandle
where D: HandleDecoder + ?Sized,

§

fn decode( slot: Slot<'_, WireHandle>, decoder: &mut D, ) -> Result<(), DecodeError>

Decodes a value into a slot using a decoder. Read more
§

impl Drop for WireHandle

§

fn drop(&mut self)

Executes the destructor for this type. Read more
§

impl Wire for WireHandle

§

type Decoded<'de> = WireHandle

The decoded wire type, restricted to the 'de lifetime.
§

fn zero_padding(_: &mut MaybeUninit<WireHandle>)

Writes zeroes to the padding for this type, if any.