Struct aws_smithy_async::rt::sleep::TokioSleep
source · #[non_exhaustive]pub struct TokioSleep;
Expand description
Implementation of AsyncSleep
for Tokio.
Implementations§
source§impl TokioSleep
impl TokioSleep
sourcepub fn new() -> TokioSleep
pub fn new() -> TokioSleep
Create a new AsyncSleep
implementation using the Tokio hashed wheel sleep implementation
Trait Implementations§
source§impl AsyncSleep for TokioSleep
impl AsyncSleep for TokioSleep
source§impl Debug for TokioSleep
impl Debug for TokioSleep
source§impl Default for TokioSleep
impl Default for TokioSleep
source§fn default() -> TokioSleep
fn default() -> TokioSleep
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TokioSleep
impl RefUnwindSafe for TokioSleep
impl Send for TokioSleep
impl Sync for TokioSleep
impl Unpin for TokioSleep
impl UnwindSafe for TokioSleep
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