pub struct AsyncFilterExLayer<U, R>where
U: AsyncPredicate<R>,{ /* private fields */ }
Expand description
Conditionally dispatch requests to the inner service based on an asynchronous predicate
This Layer
produces instances of the AsyncFilterEx
service.
Implementations§
Source§impl<U, R> AsyncFilterExLayer<U, R>where
U: AsyncPredicate<R>,
impl<U, R> AsyncFilterExLayer<U, R>where
U: AsyncPredicate<R>,
Trait Implementations§
Source§impl<U, R> Clone for AsyncFilterExLayer<U, R>where
U: AsyncPredicate<R> + Clone,
impl<U, R> Clone for AsyncFilterExLayer<U, R>where
U: AsyncPredicate<R> + Clone,
Source§impl<U, R: Debug> Debug for AsyncFilterExLayer<U, R>where
U: AsyncPredicate<R> + Debug,
impl<U, R: Debug> Debug for AsyncFilterExLayer<U, R>where
U: AsyncPredicate<R> + Debug,
Source§impl<U, S, R> Layer<S> for AsyncFilterExLayer<U, R>where
U: AsyncPredicate<R> + Clone,
impl<U, S, R> Layer<S> for AsyncFilterExLayer<U, R>where
U: AsyncPredicate<R> + Clone,
Auto Trait Implementations§
impl<U, R> Freeze for AsyncFilterExLayer<U, R>where
U: Freeze,
impl<U, R> RefUnwindSafe for AsyncFilterExLayer<U, R>where
U: RefUnwindSafe,
R: RefUnwindSafe,
impl<U, R> Send for AsyncFilterExLayer<U, R>
impl<U, R> Sync for AsyncFilterExLayer<U, R>
impl<U, R> Unpin for AsyncFilterExLayer<U, R>
impl<U, R> UnwindSafe for AsyncFilterExLayer<U, R>where
U: UnwindSafe,
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more