pub fn with<F>(&mut self, filter: F)
    where
        F: Filter<S> + Send + Sync + 'static,
    {
        self.filters.push(Box::new(filter));
    }
/// Append a filter to the chain. Filters are applied to all endpoints in this app, and are
/// applied in the order they are registered.
Append a filter to the chain. Filters are applied to all endpoints in this app, and are
applied in the order they are registered.
Append a filter to the chain . Filters are applied to all endpoints in this app and are applied in the order they are registered .
pub fn with<F>(&mut self, filter: F)
    where
        F: Filter<S> + Send + Sync + 'static,
    {
        self.filters.push(Box::new(filter));
    }
pub fn with < F > ( & mut self , filter : F ) where F : Filter < S > + Send + Sync + ' static , { self . filters . push ( Box :: new ( filter ) ) ; }
Append a filter to the chain.
Append a filter to the chain .
&mut self
filter
F