pub struct WireClock { /* private fields */ }
Expand description
A Zircon Clock.
Implementations§
Source§impl WireClock
impl WireClock
Sourcepub 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.
Sourcepub fn is_invalid(&self) -> bool
pub fn is_invalid(&self) -> bool
Returns whether the underlying zx_handle_t
is invalid.
Sourcepub fn as_raw_handle(&self) -> u32
pub fn as_raw_handle(&self) -> u32
Returns the underlying zx_handle_t
.
Trait Implementations§
Source§impl FromWire<WireClock> for Clock
impl FromWire<WireClock> for Clock
Source§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl IntoNatural for WireClock
impl IntoNatural for WireClock
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