Struct AsyncResponseFuture
pub struct AsyncResponseFuture<P, S, Request>
where
P: AsyncPredicate<Request>,
S: Service<P::Request>, { /* private fields */ }
Filtered response future from AsyncFilter services.
Trait Implementations
impl<'__pin, P, S, Request> Unpin for AsyncResponseFuture<P, S, Request>
where
PinnedFieldsOf<__Origin<'__pin, P, S, Request>>: Unpin,
P: AsyncPredicate<Request>,
S: Service<P::Request>,
impl<P, S, Request> Future for AsyncResponseFuture<P, S, Request>
where
P: AsyncPredicate<Request>,
S: Service<P::Request>,
S::Error: Into<BoxError>,
type Output = Result<<S as Service<<P as AsyncPredicate<Request>>::Request>>::Response, Box<dyn Error + Sync + Send>>;fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>
impl<P, S, Request: Debug> Debug for AsyncResponseFuture<P, S, Request>
where
P: AsyncPredicate<Request> + Debug,
S: Service<P::Request> + Debug,
P::Future: Debug,
S::Future: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result