Struct WireEvent
pub struct WireEvent { /* private fields */ }
Expand description
A Zircon Event.
Implementations§
§impl WireEvent
impl WireEvent
pub fn set_encoded_present(out: &mut MaybeUninit<WireEvent>)
pub fn set_encoded_present(out: &mut MaybeUninit<WireEvent>)
Encodes a Event 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<D> Decode<D> for WireEventwhere
D: HandleDecoder + ?Sized,
impl<D> Decode<D> for WireEventwhere
D: HandleDecoder + ?Sized,
§impl FromWire<WireEvent> for Event
impl FromWire<WireEvent> for Event
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
§impl Wire for WireEvent
impl Wire for WireEvent
§fn zero_padding(out: &mut MaybeUninit<WireEvent>)
fn zero_padding(out: &mut MaybeUninit<WireEvent>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireEvent
impl RefUnwindSafe for WireEvent
impl Send for WireEvent
impl Sync for WireEvent
impl Unpin for WireEvent
impl UnwindSafe for WireEvent
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