pub fn fast_timeout<T>(duration: Duration, future: T) -> Timeout<T, FastTimeout> ⓘwhere
T: Future,
Expand description
Similar to tokio::time::timeout but more efficient.
pub fn fast_timeout<T>(duration: Duration, future: T) -> Timeout<T, FastTimeout> ⓘwhere
T: Future,
Similar to tokio::time::timeout but more efficient.