Struct metered::time_source::StdInstantMicros
source · [−]pub struct StdInstantMicros(_);
Expand description
A new-type wrapper for std Instants and Metered’s Instant trait that measures time in microseconds.
Trait Implementations
sourceimpl Clone for StdInstantMicros
impl Clone for StdInstantMicros
sourcefn clone(&self) -> StdInstantMicros
fn clone(&self) -> StdInstantMicros
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StdInstantMicros
impl Debug for StdInstantMicros
Auto Trait Implementations
impl RefUnwindSafe for StdInstantMicros
impl Send for StdInstantMicros
impl Sync for StdInstantMicros
impl Unpin for StdInstantMicros
impl UnwindSafe for StdInstantMicros
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more