pub async fn timeout_at<T, F>(
deadline: Instant,
future: F,
) -> Result<F::Output, Either<Exceeded, Error>>where
T: TimeAbstraction,
F: Future,Expand description
Implementation for TimeAbstraction::timeout_at.
pub async fn timeout_at<T, F>(
deadline: Instant,
future: F,
) -> Result<F::Output, Either<Exceeded, Error>>where
T: TimeAbstraction,
F: Future,Implementation for TimeAbstraction::timeout_at.