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