[−][src]Function futures_async_combinators::future::unwrap_or_else
pub async fn unwrap_or_else<Fut, T, E, F>(future: Fut, f: F) -> T where
Fut: Future<Output = Result<T, E>>,
F: FnOnce(E) -> T,
pub async fn unwrap_or_else<Fut, T, E, F>(future: Fut, f: F) -> T where
Fut: Future<Output = Result<T, E>>,
F: FnOnce(E) -> T,