Struct tower_layer::Stack
source · pub struct Stack<Inner, Outer> { /* private fields */ }
Expand description
Two middlewares chained together.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Inner, Outer> Freeze for Stack<Inner, Outer>
impl<Inner, Outer> RefUnwindSafe for Stack<Inner, Outer>where
Inner: RefUnwindSafe,
Outer: RefUnwindSafe,
impl<Inner, Outer> Send for Stack<Inner, Outer>
impl<Inner, Outer> Sync for Stack<Inner, Outer>
impl<Inner, Outer> Unpin for Stack<Inner, Outer>
impl<Inner, Outer> UnwindSafe for Stack<Inner, Outer>where
Inner: UnwindSafe,
Outer: 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