Struct futures_util::future::Select
source · pub struct Select<A, B> { /* private fields */ }
Expand description
Future for the select()
function.
Trait Implementations§
source§impl<A, B> FusedFuture for Select<A, B>where
A: Future + Unpin,
B: Future + Unpin,
impl<A, B> FusedFuture for Select<A, B>where
A: Future + Unpin,
B: Future + Unpin,
source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true
if the underlying future should no longer be polled.source§impl<A, B> Future for Select<A, B>where
A: Future + Unpin,
B: Future + Unpin,
impl<A, B> Future for Select<A, B>where
A: Future + Unpin,
B: Future + Unpin,
impl<A: Unpin, B: Unpin> Unpin for Select<A, B>
Auto Trait Implementations§
impl<A, B> RefUnwindSafe for Select<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Select<A, B>where
A: Send,
B: Send,
impl<A, B> Sync for Select<A, B>where
A: Sync,
B: Sync,
impl<A, B> UnwindSafe for Select<A, B>where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations§
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more