pub struct SmolSleep;Expand description
An implementation of SleepProvider using Smol’s timer.
This is the default provider for use in async applications built on Smol.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SmolSleep
impl RefUnwindSafe for SmolSleep
impl Send for SmolSleep
impl Sync for SmolSleep
impl Unpin for SmolSleep
impl UnwindSafe for SmolSleep
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