Struct EitherResponseFuture

pub struct EitherResponseFuture<A, B> { /* private fields */ }

Response future for Either.

Trait Implementations

impl<'__pin, A, B> Unpin for EitherResponseFuture<A, B> where PinnedFieldsOf<__Origin<'__pin, A, B>>: Unpin,

impl<A, B> Future for EitherResponseFuture<A, B> where A: Future, B: Future<Output = A::Output>,

type Output = <A as Future>::Output;
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>

Auto Trait Implementations

impl<A, B> Freeze for EitherResponseFuture<A, B> where Kind<A, B>: Freeze,

impl<A, B> RefUnwindSafe for EitherResponseFuture<A, B> where Kind<A, B>: RefUnwindSafe,

impl<A, B> Send for EitherResponseFuture<A, B> where Kind<A, B>: Send,

impl<A, B> Sync for EitherResponseFuture<A, B> where Kind<A, B>: Sync,

impl<A, B> UnsafeUnpin for EitherResponseFuture<A, B> where Kind<A, B>: UnsafeUnpin,

impl<A, B> UnwindSafe for EitherResponseFuture<A, B> where Kind<A, B>: UnwindSafe,

Blanket Implementations

impl<F> IntoFuture for EitherResponseFuture<A, B> where F: Future,

impl<F, T, E> TryFuture for EitherResponseFuture<A, B> where F: Future<Output = Result<T, E>> + ?Sized,

impl<Fut> TryFutureExt for EitherResponseFuture<A, B> where Fut: TryFuture + ?Sized,

impl<T> Any for EitherResponseFuture<A, B> where T: 'static + ?Sized,

impl<T> Borrow<T> for EitherResponseFuture<A, B> where T: ?Sized,

impl<T> BorrowMut<T> for EitherResponseFuture<A, B> where T: ?Sized,

impl<T> From<T> for EitherResponseFuture<A, B>

impl<T> FutureExt for EitherResponseFuture<A, B> where T: Future + ?Sized,

impl<T> FutureExt for EitherResponseFuture<A, B> where T: Future + ?Sized,

impl<T> Instrument for EitherResponseFuture<A, B>

impl<T> WithSubscriber for EitherResponseFuture<A, B>

impl<T, U> Into<U> for EitherResponseFuture<A, B> where U: From<T>,

impl<T, U> TryFrom<U> for EitherResponseFuture<A, B> where U: Into<T>,

impl<T, U> TryInto<U> for EitherResponseFuture<A, B> where U: TryFrom<T>,