Struct luminal_handler::HandlerService [] [src]

pub struct HandlerService<H: Handler> { /* fields omitted */ }

An impl of hyper::Service that consumes an impl of Handler.

Methods

impl<H: Handler> HandlerService<H>
[src]

[src]

Trait Implementations

impl<H: Handler> Service for HandlerService<H>
[src]

Requests handled by the service.

Responses given by the service.

Errors produced by the service.

The future response value.

[src]

Dispatches to the owned Handler, marshalling success or error into the response.

Auto Trait Implementations

impl<H> Send for HandlerService<H> where
    H: Send

impl<H> Sync for HandlerService<H> where
    H: Sync