pub struct MonotonicInstant {}
Expand description
MonotonicInstant instances provide a monotonic clock. On Fuchsia, MonotonicInstant uses zx::MonotonicInstant::get().
Implementations§
Source§impl MonotonicInstant
impl MonotonicInstant
pub fn new() -> MonotonicInstant
Trait Implementations§
Source§impl Debug for MonotonicInstant
impl Debug for MonotonicInstant
Source§impl TimeSource for MonotonicInstant
impl TimeSource for MonotonicInstant
Auto Trait Implementations§
impl Freeze for MonotonicInstant
impl RefUnwindSafe for MonotonicInstant
impl Send for MonotonicInstant
impl Sync for MonotonicInstant
impl Unpin for MonotonicInstant
impl UnwindSafe for MonotonicInstant
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