Trait finchers::endpoint::IntoEndpoint[][src]

pub trait IntoEndpoint<'a> {
    type Output: Tuple;
    type Endpoint: Endpoint<'a, Output = Self::Output>;
    fn into_endpoint(self) -> Self::Endpoint;
}

Trait representing the transformation into an Endpoint.

Associated Types

The inner type of associated Endpoint.

The type of transformed Endpoint.

Required Methods

Consume itself and transform into an Endpoint.

Implementations on Foreign Types

impl<'a, 's> IntoEndpoint<'a> for &'s str
[src]

impl<'a> IntoEndpoint<'a> for String
[src]

impl<'a, 's> IntoEndpoint<'a> for Cow<'s, str>
[src]

impl<'a, E1, E2> IntoEndpoint<'a> for (E1, E2) where
    E1: IntoEndpoint<'a>,
    E2: IntoEndpoint<'a>,
    E1::Output: Combine<E2::Output>, 
[src]

impl<'a, E1, E2, E3> IntoEndpoint<'a> for (E1, E2, E3) where
    E1: IntoEndpoint<'a>,
    E2: IntoEndpoint<'a>,
    E3: IntoEndpoint<'a>,
    E2::Output: Combine<E3::Output>,
    E1::Output: Combine<<E2::Output as Combine<E3::Output>>::Out>, 
[src]

impl<'a, E1, E2, E3, E4> IntoEndpoint<'a> for (E1, E2, E3, E4) where
    E1: IntoEndpoint<'a>,
    E2: IntoEndpoint<'a>,
    E3: IntoEndpoint<'a>,
    E4: IntoEndpoint<'a>,
    E3::Output: Combine<E4::Output>,
    E2::Output: Combine<<E3::Output as Combine<E4::Output>>::Out>,
    E1::Output: Combine<<E2::Output as Combine<<E3::Output as Combine<E4::Output>>::Out>>::Out>, 
[src]

impl<'a, E1, E2, E3, E4, E5> IntoEndpoint<'a> for (E1, E2, E3, E4, E5) where
    E1: IntoEndpoint<'a>,
    E2: IntoEndpoint<'a>,
    E3: IntoEndpoint<'a>,
    E4: IntoEndpoint<'a>,
    E5: IntoEndpoint<'a>,
    E4::Output: Combine<E5::Output>,
    E3::Output: Combine<<E4::Output as Combine<E5::Output>>::Out>,
    E2::Output: Combine<<E3::Output as Combine<<E4::Output as Combine<E5::Output>>::Out>>::Out>,
    E1::Output: Combine<<E2::Output as Combine<<E3::Output as Combine<<E4::Output as Combine<E5::Output>>::Out>>::Out>>::Out>, 
[src]

Implementors