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