timeout_at

Function timeout_at 

Source
pub fn timeout_at<F: Future>(fut: F, expiry: Instant) -> Timeout<F> 
Expand description

Run the future until a point in time, cancelling it if it doesn’t complete in time.

See timeout for more details.