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> RefUnwindSafe for Stack<Inner, Outer>where
Inner: RefUnwindSafe,
Outer: RefUnwindSafe,
impl<Inner, Outer> Send for Stack<Inner, Outer>where
Inner: Send,
Outer: Send,
impl<Inner, Outer> Sync for Stack<Inner, Outer>where
Inner: Sync,
Outer: Sync,
impl<Inner, Outer> Unpin for Stack<Inner, Outer>where
Inner: Unpin,
Outer: Unpin,
impl<Inner, Outer> UnwindSafe for Stack<Inner, Outer>where
Inner: UnwindSafe,
Outer: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more