Struct injectable_time::MonotonicTime
source · pub struct MonotonicTime {}
Expand description
MonotonicTime instances provide a monotonic clock. On Fuchsia, MonotonicTime uses fuchsia_zircon::Time::get_monotonic().
Implementations§
source§impl MonotonicTime
impl MonotonicTime
pub fn new() -> MonotonicTime
Trait Implementations§
source§impl Debug for MonotonicTime
impl Debug for MonotonicTime
source§impl TimeSource for MonotonicTime
impl TimeSource for MonotonicTime
Auto Trait Implementations§
impl Freeze for MonotonicTime
impl RefUnwindSafe for MonotonicTime
impl Send for MonotonicTime
impl Sync for MonotonicTime
impl Unpin for MonotonicTime
impl UnwindSafe for MonotonicTime
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