/// Compose this `Filter` with a function receiving an error.
///
/// The function should return some `IntoFuture` type yielding the
/// same item and error types.
Compose this `Filter` with a function receiving an error.
The function should return some `IntoFuture` type yielding the
same item and error types.
Compose this ` Filter ` with a function receiving an error . The function should return some ` IntoFuture ` type yielding the same item and error types .
fn or_else<F>(self, fun: F) -> OrElse<Self, F>
    where
        Self: Sized,
        F: Func<Self::Error>,
        F::Output: IntoFuture<Item = Self::Extract, Error = Self::Error> + Send,
        <F::Output as IntoFuture>::Future: Send,
    {
        OrElse {
            filter: self,
            callback: fun,
        }
    }
fn or_else < F > ( self , fun : F ) -> OrElse < Self , F > where Self : Sized , F : Func < Self :: Error > , F :: Output : IntoFuture < Item = Self :: Extract , Error = Self :: Error > + Send , < F :: Output as IntoFuture > :: Future : Send , { OrElse { filter : self , callback : fun , } }
Compose this `Filter` with a function receiving an error.
Compose this ` Filter ` with a function receiving an error .
self
fun
F