[][src]Trait tower_web::util::Chain

pub trait Chain<U> {
    type Output;
    fn chain(self, other: U) -> Self::Output;
}

Combine two values

This trait is used to represent types that can be chained, including middleware and resource values.

Associated Types

type Output

The combined type

Loading content...

Required methods

fn chain(self, other: U) -> Self::Output

Combine self with other.

Loading content...

Implementations on Foreign Types

impl<U> Chain<U> for ()[src]

type Output = U

impl<R0, U> Chain<U> for (R0,)[src]

type Output = (R0, U)

impl<R0, R1, U> Chain<U> for (R0, R1)[src]

type Output = (R0, R1, U)

impl<R0, R1, R2, U> Chain<U> for (R0, R1, R2)[src]

type Output = (R0, R1, R2, U)

impl<R0, R1, R2, R3, U> Chain<U> for (R0, R1, R2, R3)[src]

type Output = (R0, R1, R2, R3, U)

impl<R0, R1, R2, R3, R4, U> Chain<U> for (R0, R1, R2, R3, R4)[src]

type Output = (R0, R1, R2, R3, R4, U)

impl<R0, R1, R2, R3, R4, R5, U> Chain<U> for (R0, R1, R2, R3, R4, R5)[src]

type Output = (R0, R1, R2, R3, R4, R5, U)

impl<R0, R1, R2, R3, R4, R5, R6, U> Chain<U> for (R0, R1, R2, R3, R4, R5, R6)[src]

type Output = (R0, R1, R2, R3, R4, R5, R6, U)

impl<R0, R1, R2, R3, R4, R5, R6, R7, U> Chain<U> for (R0, R1, R2, R3, R4, R5, R6, R7)[src]

type Output = (R0, R1, R2, R3, R4, R5, R6, R7, U)

impl<R0, R1, R2, R3, R4, R5, R6, R7, R8, U> Chain<U> for (R0, R1, R2, R3, R4, R5, R6, R7, R8)[src]

type Output = (R0, R1, R2, R3, R4, R5, R6, R7, R8, U)

impl<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, U> Chain<U> for (R0, R1, R2, R3, R4, R5, R6, R7, R8, R9)[src]

type Output = (R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, U)

impl<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, U> Chain<U> for (R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10)[src]

type Output = (R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, U)

impl<R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, U> Chain<U> for (R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11)[src]

type Output = (R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, U)

Loading content...

Implementors

impl<T> Chain<T> for Identity[src]

type Output = Chain<Self, T>

impl<T, Inner, Outer> Chain<T> for Chain<Inner, Outer>[src]

type Output = Chain<Self, T>

impl<T, U> Chain<U> for DefaultSerializer<T>[src]

type Output = DefaultSerializer<(T, U)>

Loading content...