pub async fn with_default_timeout<T, F>(future: F) -> Twhere
F: Future<Output = T>,Expand description
Run an async function with the default timeout.
Uses DEFAULT_TIMEOUT (5 seconds) as the timeout.
pub async fn with_default_timeout<T, F>(future: F) -> Twhere
F: Future<Output = T>,Run an async function with the default timeout.
Uses DEFAULT_TIMEOUT (5 seconds) as the timeout.