Trait viz_core::Handler [−][src]
Required methods
fn call<'a>(&'a self, _: &'a mut Context) -> BoxFuture<'a, Result<Response>>
[src]
fn clone_handler(&self) -> Box<dyn Handler>
[src]
Implementations on Foreign Types
impl Handler for Box<dyn Handler>
[src]
fn call<'a>(&'a self, cx: &'a mut Context) -> BoxFuture<'a, Result<Response>>
[src]
fn clone_handler(&self) -> Box<dyn Handler>
[src]
Implementors
impl<F, T> Handler for HandlerSuper<F, T> where
F: for<'h> HandlerCamp<'h, T> + Send + Sync,
T: Extract + Send + Sync + 'static,
T::Error: Into<Response> + Into<Error> + Send,
[src]
F: for<'h> HandlerCamp<'h, T> + Send + Sync,
T: Extract + Send + Sync + 'static,
T::Error: Into<Response> + Into<Error> + Send,
fn call<'a>(&'a self, cx: &'a mut Context) -> BoxFuture<'a, Result<Response>>
[src]
fn clone_handler(&self) -> Box<dyn Handler>
[src]
impl<F, T> Handler for HandlerWrapper<F, T> where
F: HandlerBase<T> + Send + Sync,
T: Extract + Send + Sync + 'static,
T::Error: Into<Response> + Into<Error> + Send,
[src]
F: HandlerBase<T> + Send + Sync,
T: Extract + Send + Sync + 'static,
T::Error: Into<Response> + Into<Error> + Send,