compose

Function compose 

Source
pub fn compose<M1, M2>(first: M1, second: M2) -> MiddlewarePipelineV2
where M1: Middleware + 'static, M2: Middleware + 'static,
Expand description

Compose two middleware into a pipeline