Struct TrySelect

struct TrySelect<A, B> { ... }

Future for the [try_select()] function.

Implementations

impl<A, B> Freeze for TrySelect<A, B>

impl<A, B> Future for TrySelect<A, B>

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

impl<A, B> RefUnwindSafe for TrySelect<A, B>

impl<A, B> Send for TrySelect<A, B>

impl<A, B> Sync for TrySelect<A, B>

impl<A, B> UnsafeUnpin for TrySelect<A, B>

impl<A, B> UnwindSafe for TrySelect<A, B>

impl<A: $crate::fmt::Debug, B: $crate::fmt::Debug> Debug for TrySelect<A, B>

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

impl<A: Unpin, B: Unpin> Unpin for TrySelect<A, B>

impl<F> IntoFuture for TrySelect<A, B>

fn into_future(self: Self) -> <F as IntoFuture>::IntoFuture

impl<F, T, E> TryFuture for TrySelect<A, B>

fn try_poll(self: Pin<&mut F>, cx: &mut Context<'_>) -> Poll<<F as Future>::Output>

impl<Fut> TryFutureExt for TrySelect<A, B>

impl<T> Any for TrySelect<A, B>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for TrySelect<A, B>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for TrySelect<A, B>

fn borrow_mut(self: &mut Self) -> &mut T

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

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FutureExt for TrySelect<A, B>

impl<T, U> Into for TrySelect<A, B>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for TrySelect<A, B>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for TrySelect<A, B>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>