Struct ResponseFuture

pub struct ResponseFuture<R, F> { /* private fields */ }

Filtered response future from Filter services.

Trait Implementations

impl<'__pin, R, F> Unpin for ResponseFuture<R, F> where PinnedFieldsOf<__Origin<'__pin, R, F>>: Unpin,

impl<R, F> Debug for ResponseFuture<R, F>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<R, F> Future for ResponseFuture<R, F> where Either<Ready<Result<R, BoxError>>, ErrInto<F, BoxError>>: Future,

type Output = <Either<Ready<Result<R, Box<dyn Error + Sync + Send>>>, ErrInto<F, Box<dyn Error + Sync + Send>>> as Future>::Output;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

Auto Trait Implementations

impl<R, F> !RefUnwindSafe for ResponseFuture<R, F>

impl<R, F> !UnwindSafe for ResponseFuture<R, F>

impl<R, F> Freeze for ResponseFuture<R, F> where Either<Ready<Result<R, Box<dyn Error + Sync + Send>>>, ErrInto<F, Box<dyn Error + Sync + Send>>>: Freeze,

impl<R, F> Send for ResponseFuture<R, F> where Either<Ready<Result<R, Box<dyn Error + Sync + Send>>>, ErrInto<F, Box<dyn Error + Sync + Send>>>: Send,

impl<R, F> Sync for ResponseFuture<R, F> where Either<Ready<Result<R, Box<dyn Error + Sync + Send>>>, ErrInto<F, Box<dyn Error + Sync + Send>>>: Sync,

impl<R, F> UnsafeUnpin for ResponseFuture<R, F> where Either<Ready<Result<R, Box<dyn Error + Sync + Send>>>, ErrInto<F, Box<dyn Error + Sync + Send>>>: UnsafeUnpin,

Blanket Implementations

impl<F> IntoFuture for ResponseFuture<R, F> where F: Future,

impl<F, T, E> TryFuture for ResponseFuture<R, F> where F: Future<Output = Result<T, E>> + ?Sized,

impl<Fut> TryFutureExt for ResponseFuture<R, F> where Fut: TryFuture + ?Sized,

impl<T> Any for ResponseFuture<R, F> where T: 'static + ?Sized,

impl<T> Borrow<T> for ResponseFuture<R, F> where T: ?Sized,

impl<T> BorrowMut<T> for ResponseFuture<R, F> where T: ?Sized,

impl<T> From<T> for ResponseFuture<R, F>

impl<T> FutureExt for ResponseFuture<R, F> where T: Future + ?Sized,

impl<T> FutureExt for ResponseFuture<R, F> where T: Future + ?Sized,

impl<T> Instrument for ResponseFuture<R, F>

impl<T> WithSubscriber for ResponseFuture<R, F>

impl<T, U> Into<U> for ResponseFuture<R, F> where U: From<T>,

impl<T, U> TryFrom<U> for ResponseFuture<R, F> where U: Into<T>,

impl<T, U> TryInto<U> for ResponseFuture<R, F> where U: TryFrom<T>,