Trait finchers::endpoint::wrapper::Wrapper[][src]

pub trait Wrapper<'a, E: Endpoint<'a>> {
    type Output: Tuple;
    type Endpoint: Endpoint<'a, Output = Self::Output>;
    fn wrap(self, endpoint: E) -> Self::Endpoint;
}

A trait representing the conversion of an endpoint to another endpoint.

Associated Types

The inner type of converted Endpoint.

The type of converted Endpoint.

Required Methods

Performs conversion from the provided endpoint into Self::Endpoint.

Implementors