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