Function async_middleware::pipe
source · [−]pub fn pipe<T, Args, I, O>(f: impl Piper<T, Args, I, O>) -> Pied<T, Args, I, O> where
T: Send + Sync + 'static,
Args: Send + Sync + 'static,
I: Send + Sync + 'static,
O: Send + Sync + 'static,
Expand description
Helper utility to execute the .pipe on a Pipe implementation and returns a middleware