Skip to main content

with_timeout

Function with_timeout 

Source
pub fn with_timeout<F>(duration: Duration, future: F) -> Timeout<F>
where F: Future,