pub trait Dispatcher: RefUnwindSafe {
// Required method
fn dispatch(&self, state: State) -> Pin<Box<HandlerFuture>>;
}Expand description
Used by Router to dispatch requests via pipelines and finally into the configured Handler.
pub trait Dispatcher: RefUnwindSafe {
// Required method
fn dispatch(&self, state: State) -> Pin<Box<HandlerFuture>>;
}Used by Router to dispatch requests via pipelines and finally into the configured Handler.