[−][src]Struct tokio::prelude::future::Select
Future for the select
combinator, waiting for one of two futures to
complete.
This is created by the Future::select
method.
Trait Implementations
impl<A, B> Future for Select<A, B> where
A: Future,
B: Future<Item = <A as Future>::Item, Error = <A as Future>::Error>,
[src][+]
A: Future,
B: Future<Item = <A as Future>::Item, Error = <A as Future>::Error>,
impl<A, B> Debug for Select<A, B> where
A: Future + Debug,
B: Debug + Future<Item = <A as Future>::Item, Error = <A as Future>::Error>,
[src][+]
A: Future + Debug,
B: Debug + Future<Item = <A as Future>::Item, Error = <A as Future>::Error>,
Auto Trait Implementations
impl<A, B> Send for Select<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Unpin for Select<A, B> where
A: Unpin,
B: Unpin,
A: Unpin,
B: Unpin,
impl<A, B> Sync for Select<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> UnwindSafe for Select<A, B> where
A: UnwindSafe,
B: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
impl<A, B> RefUnwindSafe for Select<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<F> IntoFuture for F where
F: Future,
[src][+]
F: Future,