Struct Stack
struct Stack<Inner, Outer> { ... }
Two middlewares chained together.
Implementations
impl<Inner, Outer> Stack<Inner, Outer>
const fn new(inner: Inner, outer: Outer) -> SelfCreate a new
Stack.
impl<Inner, Outer> Debug for Stack<Inner, Outer>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<Inner, Outer> Freeze for Stack<Inner, Outer>
impl<Inner, Outer> RefUnwindSafe for Stack<Inner, Outer>
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> UnsafeUnpin for Stack<Inner, Outer>
impl<Inner, Outer> UnwindSafe for Stack<Inner, Outer>
impl<Inner: $crate::clone::Clone, Outer: $crate::clone::Clone> Clone for Stack<Inner, Outer>
fn clone(self: &Self) -> Stack<Inner, Outer>
impl<S, Inner, Outer> Layer for Stack<Inner, Outer>
fn layer(self: &Self, service: S) -> <Self as >::Service
impl<T> Any for Stack<Inner, Outer>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Stack<Inner, Outer>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Stack<Inner, Outer>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Stack<Inner, Outer>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Stack<Inner, Outer>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Stack<Inner, Outer>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Stack<Inner, Outer>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Stack<Inner, Outer>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Stack<Inner, Outer>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>