Trait shio::Handler [] [src]

pub trait Handler: Send + Sync where
    <Self::Result as IntoFuture>::Error: Debug + Send
{ type Result: IntoFuture<Item = Response>; fn call(&self, context: Context) -> Self::Result; fn into_box(self) -> Box<Handler<Result = BoxFuture<Response, Error>>>
    where
        Self: Sized + 'static
, { ... } }

Associated Types

Required Methods

Provided Methods

Implementors