Trait salt::Handler [] [src]

pub trait Handler: Send + Sync {
    type Result: IntoFuture<Item = Response>;
    fn call(&self, context: Context) -> Self::Result;

    fn boxed(self) -> BoxHandler
    where
        Self: Sized + 'static
, { ... } }

Associated Types

Required Methods

Provided Methods

Implementors