pub fn timeout_at<F: Future>(fut: F, expiry: Instant) -> Timeout<F> ⓘ
Run the future until a point in time, cancelling it if it doesn’t complete in time.
See timeout for more details.
timeout