Struct FilterLayer
pub struct FilterLayer<U> { /* private fields */ }
Conditionally dispatch requests to the inner service based on a synchronous predicate.
Implementations
impl<U> FilterLayer<U>
Trait Implementations
impl<U: Clone> Clone for FilterLayer<U>
fn clone(&self) -> Self
impl<U: Clone, S> Layer<S> for FilterLayer<U>
type Service = Filter<S, U>;fn layer(&self, service: S) -> Self::Service
impl<U: Debug> Debug for FilterLayer<U>
fn fmt(&self, f: &mut Formatter<'_>) -> Result