pub struct Chain<T, U>(_, _);
Expand description
A middleware composing and executing other middlewares in a stack-like manner.
Trait Implementations
impl<'a, S, T, U> Endpoint<'a, S> for Chain<T, U> where
U: Endpoint<'a, S>,
T: for<'b> Middleware<'b, S>,
impl<'a, S, T, U> Endpoint<'a, S> for Chain<T, U> where
U: Endpoint<'a, S>,
T: for<'b> Middleware<'b, S>,
impl<'a, S, T, U> Middleware<'a, S> for Chain<T, U> where
U: Middleware<'a, S>,
T: for<'b> Middleware<'b, S>,
impl<'a, S, T, U> Middleware<'a, S> for Chain<T, U> where
U: Middleware<'a, S>,
T: for<'b> Middleware<'b, S>,
Auto Trait Implementations
impl<T, U> RefUnwindSafe for Chain<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> UnwindSafe for Chain<T, U> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more