pub async fn within<F: Future>( limit: Duration, future: F, ) -> Result<F::Output, SyncError>
Waits at most limit; a server that does not answer is a network problem.
limit