Struct finchers::server::EndpointService
[−]
[src]
pub struct EndpointService<E: NewEndpoint>(_);
Trait Implementations
impl<E: NewEndpoint> Service for EndpointService<E> where
E::Item: Responder,
[src]
E::Item: Responder,
type Request = Request
Requests handled by the service.
type Response = Response
Responses given by the service.
type Error = Error
Errors produced by the service.
type Future = EndpointServiceFuture<E::Future>
The future response value.
fn call(&self, req: Request) -> Self::Future
Process the request and return the response asynchronously.