Trait bonsaidb::keystorage::s3::aws_sdk_s3::config::AsyncSleep
pub trait AsyncSleep: Debug + Send + Sync {
// Required method
fn sleep(&self, duration: Duration) -> Sleep ⓘ;
}
Expand description
Async trait with a sleep
function.
Required Methods§
Trait Implementations§
§fn as_ref(&self) -> &(dyn AsyncSleep + 'static)
fn as_ref(&self) -> &(dyn AsyncSleep + 'static)
Converts this type into a shared reference of the (usually inferred) input type.