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> 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
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
type Output = <F as Future>::Output
type Output = <F as Future>::Output
The output that the future will produce on completion.
type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more