Struct tower_layer::Stack [−][src]
Two middlewares chained together.
Implementations
impl<Inner, Outer> Stack<Inner, Outer>
[src]
Trait Implementations
impl<Inner: Clone, Outer: Clone> Clone for Stack<Inner, Outer>
[src]
impl<Inner, Outer> Debug for Stack<Inner, Outer> where
Inner: Debug,
Outer: Debug,
[src]
Inner: Debug,
Outer: Debug,
impl<S, Inner, Outer> Layer<S> for Stack<Inner, Outer> where
Inner: Layer<S>,
Outer: Layer<Inner::Service>,
[src]
Inner: Layer<S>,
Outer: Layer<Inner::Service>,
Auto Trait Implementations
impl<Inner, Outer> RefUnwindSafe for Stack<Inner, Outer> where
Inner: RefUnwindSafe,
Outer: RefUnwindSafe,
Inner: RefUnwindSafe,
Outer: RefUnwindSafe,
impl<Inner, Outer> Send for Stack<Inner, Outer> where
Inner: Send,
Outer: Send,
Inner: Send,
Outer: Send,
impl<Inner, Outer> Sync for Stack<Inner, Outer> where
Inner: Sync,
Outer: Sync,
Inner: Sync,
Outer: Sync,
impl<Inner, Outer> Unpin for Stack<Inner, Outer> where
Inner: Unpin,
Outer: Unpin,
Inner: Unpin,
Outer: Unpin,
impl<Inner, Outer> UnwindSafe for Stack<Inner, Outer> where
Inner: UnwindSafe,
Outer: UnwindSafe,
Inner: UnwindSafe,
Outer: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,