fn boxed(self) -> BoxedFilter<Self::Extract>
    where
        Self: Sized + Send + Sync + 'static,
        Self::Extract: Send,
        Self::Error: Into<Rejection>,
    {
        BoxedFilter::new(self)
    }
/// Boxes this filter into a trait object, making it easier to name the type.
///
/// # Example
///
/// ```
/// use warp::Filter;
///
/// fn impl_reply() -> warp::filters::BoxedFilter<(impl warp::Reply,)> {
///     warp::any()
///         .map(warp::reply)
///         .boxed()
/// }
///
/// fn named_i32() -> warp::filters::BoxedFilter<(i32,)> {
///     warp::path::param::<i32>()
///         .boxed()
/// }
///
/// fn named_and() -> warp::filters::BoxedFilter<(i32, String)> {
///     warp::path::param::<i32>()
///         .and(warp::header::<String>("host"))
///         .boxed()
/// }
/// ```
Boxes this filter into a trait object, making it easier to name the type.
Boxes this filter into a trait object making it easier to name the type .
fn boxed(self) -> BoxedFilter<Self::Extract>
    where
        Self: Sized + Send + Sync + 'static,
        Self::Extract: Send,
        Self::Error: Into<Rejection>,
    {
        BoxedFilter::new(self)
    }
fn boxed ( self ) -> BoxedFilter < Self :: Extract > where Self : Sized + Send + Sync + ' static , Self :: Extract : Send , Self :: Error : Into < Rejection > , { BoxedFilter :: new ( self ) }
Boxes this filter into a trait object, making it easier to name the type.
Boxes this filter into a trait object making it easier to name the type .
self
self
example
```
use warp::Filter.






` ` ` use warp :: Filter .