Function gotham::pipeline::single_middleware
source · [−]pub fn single_middleware<M>(m: M) -> Pipeline<(M, ())>where
M: NewMiddleware,
M::Instance: Send + 'static,
Expand description
Constructs a pipeline from a single middleware.