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