Struct Select

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

Future for the [select()] function.

Implementations

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

impl<A, B> FusedFuture for Select<A, B>

fn is_terminated(self: &Self) -> bool

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

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

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

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

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

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

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

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

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

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

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

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

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

fn type_id(self: &Self) -> TypeId

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

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

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

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

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

fn from(t: T) -> T

Returns the argument unchanged.

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

impl<T, U> Into for Select<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 Select<A, B>

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

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

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