pub type WireToken = WireHandle;
Expand description
The wire type corresponding to Token
.
Aliased Type§
union WireToken { /* private fields */ }
Implementations
§impl WireHandle
impl WireHandle
pub fn set_encoded_present(out: &mut MaybeUninit<WireHandle>)
pub fn set_encoded_present(out: &mut MaybeUninit<WireHandle>)
Encodes a handle 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 Wire for WireHandle
impl Wire for WireHandle
§fn zero_padding(_: &mut MaybeUninit<WireHandle>)
fn zero_padding(_: &mut MaybeUninit<WireHandle>)
Writes zeroes to the padding for this type, if any.