Struct futures_util::future::SelectOk
source · [−]pub struct SelectOk<Fut> { /* private fields */ }
Expand description
Future for the select_ok
function.
Trait Implementations
sourceimpl<Fut: TryFuture + Unpin> FromIterator<Fut> for SelectOk<Fut>
impl<Fut: TryFuture + Unpin> FromIterator<Fut> for SelectOk<Fut>
sourcefn from_iter<T: IntoIterator<Item = Fut>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = Fut>>(iter: T) -> Self
Creates a value from an iterator. Read more
sourceimpl<Fut: TryFuture + Unpin> Future for SelectOk<Fut>
impl<Fut: TryFuture + Unpin> Future for SelectOk<Fut>
impl<Fut: Unpin> Unpin for SelectOk<Fut>
Auto Trait Implementations
impl<Fut> RefUnwindSafe for SelectOk<Fut> where
Fut: RefUnwindSafe,
impl<Fut> Send for SelectOk<Fut> where
Fut: Send,
impl<Fut> Sync for SelectOk<Fut> where
Fut: Sync,
impl<Fut> UnwindSafe for SelectOk<Fut> where
Fut: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F> IntoFuture for F where
F: Future,
impl<F> IntoFuture for F where
F: Future,
type Output = <F as Future>::Output
type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type IntoFuture = F
type IntoFuture = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.