pub fn timeout_named<F: Future>( name: impl Into<String>, duration: Duration, future: F, ) -> Timeout<F> ⓘ
Wrap a future with a timeout and operation name.