Trait AsyncPredicate
pub trait AsyncPredicate<Request>
Checks a request asynchronously.
Associated Types
Required Methods
fn check(&mut self, request: Request) -> Self::FutureCheck whether the given request should be forwarded.
If the future resolves with
Ok, the request is forwarded to the inner service.