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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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 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?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more