timeout_at

Function timeout_at 

Source
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.