Skip to main content

timeout_at_wall

Function timeout_at_wall 

Source
pub async fn timeout_at_wall<F: IntoFuture>(
    deadline: Option<TimeValue>,
    f: F,
) -> Result<F::Output, Elapsed>
Expand description

Requires a Future to complete before the specified wall-clock deadline.