pub trait Predicate<Request> {
type Request;
// Required method
fn check(&mut self, request: Request) -> Result<Self::Request, BoxError>;
}
Available on crate feature
filter
only.Expand description
Checks a request synchronously.