fedimint_server::net::connect::mock

Function timeout

Source
async fn timeout<F, T>(f: F) -> Option<T>
where F: Future<Output = T>,