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