Trait tower::filter::Predicate [−][src]
pub trait Predicate<Request> {
type Request;
fn check(&mut self, request: Request) -> Result<Self::Request, BoxError>;
}
This is supported on crate feature
filter
only.Expand description
Checks a request synchronously.