with

Function with 

Source
pub fn with<T: Clone + Send>(
    item: T,
) -> impl Filter<Extract = (T,), Error = Infallible> + Clone
Expand description

A middleware to include the given item in the handler.