pub struct SystemRouterSleeper;Expand description
Runtime-neutral production timer backed by futures-timer.
Trait Implementations§
Source§impl Clone for SystemRouterSleeper
impl Clone for SystemRouterSleeper
Source§fn clone(&self) -> SystemRouterSleeper
fn clone(&self) -> SystemRouterSleeper
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 moreimpl Copy for SystemRouterSleeper
Source§impl Debug for SystemRouterSleeper
impl Debug for SystemRouterSleeper
Source§impl Default for SystemRouterSleeper
impl Default for SystemRouterSleeper
Source§fn default() -> SystemRouterSleeper
fn default() -> SystemRouterSleeper
Returns the “default value” for a type. Read more
Source§impl RouterSleeper for SystemRouterSleeper
impl RouterSleeper for SystemRouterSleeper
Source§fn sleep(&self, duration: Duration) -> RouterSleepFuture<'_>
fn sleep(&self, duration: Duration) -> RouterSleepFuture<'_>
Waits for the requested monotonic duration.
Auto Trait Implementations§
impl Freeze for SystemRouterSleeper
impl RefUnwindSafe for SystemRouterSleeper
impl Send for SystemRouterSleeper
impl Sync for SystemRouterSleeper
impl Unpin for SystemRouterSleeper
impl UnsafeUnpin for SystemRouterSleeper
impl UnwindSafe for SystemRouterSleeper
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