Trait shio::middleware::Middleware [] [src]

pub trait Middleware: Send + Sync {
    fn call(&self, next: BoxHandler) -> BoxHandler;

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

Required Methods

Provided Methods

Implementors