Trait finchers::NewEndpoint [] [src]

pub trait NewEndpoint: Sized {
    type Item;
    type Future: Future<Item = Self::Item, Error = FinchersError>;
    type Endpoint: Endpoint<Item = Self::Item, Future = Self::Future>;
    fn new_endpoint(&self) -> Self::Endpoint;

    fn into_service(self) -> EndpointService<Self> { ... }
}

A factory of Endpoint.

Associated Types

Required Methods

Provided Methods

Implementors