Trait agnostic_lite::time::AsyncLocalDelayExt
source · pub trait AsyncLocalDelayExt<F>: Future<Output = Result<F::Output, Aborted>>where
F: Future,{
// Required methods
fn delay(dur: Duration, fut: F) -> Self;
fn delay_at(at: Instant, fut: F) -> Self;
}Available on crate feature
time only.Expand description
Extension trait for AsyncLocalDelay
Required Methods§
Object Safety§
This trait is not object safe.