Struct metered::time_source::StdInstant
source · [−]pub struct StdInstant(_);
Expand description
A new-type wrapper for std Instants and Metered’s Instant trait that measures time in milliseconds.
Trait Implementations
sourceimpl Clone for StdInstant
impl Clone for StdInstant
sourcefn clone(&self) -> StdInstant
fn clone(&self) -> StdInstant
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 StdInstant
impl Debug for StdInstant
Auto Trait Implementations
impl RefUnwindSafe for StdInstant
impl Send for StdInstant
impl Sync for StdInstant
impl Unpin for StdInstant
impl UnwindSafe for StdInstant
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