[][src]Struct futures_option::SelectNextSome

pub struct SelectNextSome<'a, T> { /* fields omitted */ }

Adapter future for Option to get the next value of the stored future.

Resolves to None if no future is present.

Trait Implementations

impl<'a, T: Debug> Debug for SelectNextSome<'a, T>[src]

impl<'a, T> FusedFuture for SelectNextSome<'a, T> where
    T: Unpin + Stream
[src]

impl<'a, T> Future for SelectNextSome<'a, T> where
    T: Stream + Unpin
[src]

type Output = T::Item

The type of value produced on completion.

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for SelectNextSome<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for SelectNextSome<'a, T> where
    T: Send

impl<'a, T> Sync for SelectNextSome<'a, T> where
    T: Sync

impl<'a, T> Unpin for SelectNextSome<'a, T>

impl<'a, T> !UnwindSafe for SelectNextSome<'a, T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<F, T, E> TryFuture for F where
    F: Future<Output = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.