Trait gotham::router::route::dispatch::Dispatcher[][src]

pub trait Dispatcher: RefUnwindSafe {
    fn dispatch(&self, state: State) -> Pin<Box<HandlerFuture>>;
}
Expand description

Used by Router to dispatch requests via pipelines and finally into the configured Handler.

Required methods

Dispatches a request via pipelines and Handler represented by this Dispatcher.

Implementors