pub struct SysTimer { /* fields omitted */ }
Expand description
A periodic timer based on std::time::Instant, which is a
monotonically nondecreasing clock.
Create a new timer instance.
The duration will be initialized to 0, so make sure to call start
with your desired timer duration before calling wait.
The unit of time used by this timer
Non-blockingly “waits” until the count down finishes Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.