pub struct Chain<T, U>(/* private fields */);
Expand description
A middleware composing and executing other middlewares in a stack-like manner.
Trait Implementations§
Source§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>,
Source§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> Freeze for Chain<T, U>
impl<T, U> RefUnwindSafe for Chain<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Chain<T, U>
impl<T, U> Sync for Chain<T, U>
impl<T, U> Unpin for Chain<T, U>
impl<T, U> UnwindSafe for Chain<T, U>where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more