pub fn timeout_with<B, F>(
ctx: RuntimeCtx<B>,
duration: Duration,
fut: F,
) -> impl Future<Output = Result<F::Output>>where
B: CompletionBackend,
F: Future,pub fn timeout_with<B, F>(
ctx: RuntimeCtx<B>,
duration: Duration,
fut: F,
) -> impl Future<Output = Result<F::Output>>where
B: CompletionBackend,
F: Future,