Trait salt::StackHandler
[−]
[src]
pub trait StackHandler: Send + Sync { type Handler: Handler + 'static; fn call(&self, next: BoxHandler) -> Self::Handler; }
Associated Types
Required Methods
fn call(&self, next: BoxHandler) -> Self::Handler
Implementors
impl<TError, TFuture, THandler, TFn> StackHandler for TFn where
TFuture: IntoFuture<Item = Response, Error = TError>,
THandler: Handler<Result = TFuture>,
THandler: 'static,
TFn: Send + Sync,
TFn: Fn(BoxHandler) -> THandler,