Enum aoko::no_std::algebraic::sum::TimeUnit [−][src]
pub enum TimeUnit {
Nanos,
Micros,
Millis,
Secs,
}
Variants
Nanos
Micros
Millis
Secs
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TimeUnit
impl UnwindSafe for TimeUnit
Blanket Implementations
Convert value
to RefCell(value)
Returns Some(self)
if it satisfies the given predicate function,
or None
if it doesn’t. Read more
Performs operation f
with &self
, returns the closure result. Read more
Performs operation f
with &mut self
, returns the closure result. Read more
Consumes self
, performs operation f
with it, returns the closure result. Read more
Consumes self
, performs operation f
with it, returns the receiver. Read more
Consumes self
, performs operation f
on it, returns the updated value. Read more
Returns Some(f())
if it satisfies the given predicate function,
or None
if it doesn’t. Read more
Mutably borrows from an owned value. Read more
Executes the given closure block and returns the duration of elapsed time interval.
Executes the given closure block, returns the result of the closure execution and the duration of elapsed time interval. Read more
Executes the given closure block,
returns the receiver self
and the duration of elapsed time interval. Read more