pub trait HandlerExt<I>: Handler<I> {
    fn boxed(
        self
    ) -> Box<dyn Handler<I, Output = Self::Output> + 'static, Global>Notable traits for Box<F, A>impl<F, A> Future for Box<F, A> where
    F: Future + Unpin + ?Sized,
    A: Allocator + 'static, 
type Output = <F as Future>::Output;
{ ... } fn before<F>(self, f: F) -> Before<Self, F> { ... } fn after<F>(self, f: F) -> After<Self, F> { ... } fn around<F>(self, f: F) -> Around<Self, F> { ... } fn map<F>(self, f: F) -> Map<Self, F> { ... } fn and_then<F>(self, f: F) -> AndThen<Self, F> { ... } fn map_err<F>(self, f: F) -> MapErr<Self, F> { ... } fn or_else<F>(self, f: F) -> OrElse<Self, F> { ... } fn catch_error<F, R, E>(self, f: F) -> CatchError<Self, F, R, E> { ... } fn catch_unwind<F>(self, f: F) -> CatchUnwind<Self, F> { ... } fn with<T>(self, t: T) -> <T as Transform<Self>>::Output
    where
        T: Transform<Self>
, { ... } fn with_fn<F>(self, f: F) -> Self
    where
        F: Fn(Self) -> Self
, { ... } }
Expand description

An extension trait for Handlers that provides a variety of convenient combinator functions.

Provided Methods

Implementors