pub struct NativeTimer;Expand description
Tokio timer using monotonic std::time::Instant measurements.
Trait Implementations§
Source§impl Clone for NativeTimer
impl Clone for NativeTimer
Source§fn clone(&self) -> NativeTimer
fn clone(&self) -> NativeTimer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NativeTimer
impl Debug for NativeTimer
Source§impl Default for NativeTimer
impl Default for NativeTimer
Source§fn default() -> NativeTimer
fn default() -> NativeTimer
Returns the “default value” for a type. Read more
Source§impl Timer for NativeTimer
impl Timer for NativeTimer
impl Copy for NativeTimer
Auto Trait Implementations§
impl Freeze for NativeTimer
impl RefUnwindSafe for NativeTimer
impl Send for NativeTimer
impl Sync for NativeTimer
impl Unpin for NativeTimer
impl UnsafeUnpin for NativeTimer
impl UnwindSafe for NativeTimer
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