/// Wraps the current filter with some wrapper.
///
/// The wrapper may do some preparation work before starting this filter,
/// and may do post-processing after the filter completes.
///
/// # Example
///
/// ```
/// use warp::Filter;
///
/// let route = warp::any()
///     .map(warp::reply);
///
/// // Wrap the route with a log wrapper.
/// let route = route.with(warp::log("example"));
/// ```
Wraps the current filter with some wrapper.
The wrapper may do some preparation work before starting this filter,
and may do post-processing after the filter completes.
Wraps the current filter with some wrapper . The wrapper may do some preparation work before starting this filter and may do post - processing after the filter completes .
fn with<W>(self, wrapper: W) -> W::Wrapped
    where
        Self: Sized,
        W: Wrap<Self>,
    {
        wrapper.wrap(self)
    }
fn with < W > ( self , wrapper : W ) -> W :: Wrapped where Self : Sized , W : Wrap < Self > , { wrapper . wrap ( self ) }
Wraps the current filter with some wrapper.
Wraps the current filter with some wrapper .
self
wrapper
W
example
```
use warp::Filter.

let route = warp::any()
.map(warp::reply).

Wrap the route with a log wrapper.
let route = route.with(warp::log("example"));
```
` ` ` use warp :: Filter . let route = warp :: any () . map ( warp :: reply ) . Wrap the route with a log wrapper . let route = route . with ( warp :: log ( " example " )) ; ` ` `