Skip to main content

within

Function within 

Source
pub async fn within<F: Future>(
    limit: Duration,
    future: F,
) -> Result<F::Output, SyncError>
Expand description

Waits at most limit; a server that does not answer is a network problem.