pub fn deadline<F: Future>(deadline: Instant, f: F) -> Timeout<F> 
Expand description

Like timeout, but with an explicit deadline.