[−][src]Trait futures_option::OptionExt
Required methods
ⓘImportant traits for Next<'a, T>fn next(&mut self) -> Next<T> where
T: Stream + Unpin,
ⓘImportant traits for Next<'a, T>
T: Stream + Unpin,
Convert Option
into a Future that resolves to the next item in the Stream
.
If the Option
is None
, the returned future also resolves to None
.
ⓘImportant traits for SelectNextSome<'a, T>fn select_next_some(&mut self) -> SelectNextSome<T> where
T: Stream + Unpin,
ⓘImportant traits for SelectNextSome<'a, T>
T: Stream + Unpin,
Returns a Future that resolves when the next item in this stream is ready.
If the Option
is None
, the returned future will always be pending.
ⓘImportant traits for Current<'a, T>fn current(&mut self) -> Current<T> where
T: Future + Unpin,
ⓘImportant traits for Current<'a, T>
T: Future + Unpin,
Implementations on Foreign Types
impl<T> OptionExt<T> for Option<T>
[src]
ⓘImportant traits for Next<'a, T>fn next(&mut self) -> Next<T> where
T: Stream + Unpin,
[src]
ⓘImportant traits for Next<'a, T>
T: Stream + Unpin,
ⓘImportant traits for SelectNextSome<'a, T>fn select_next_some(&mut self) -> SelectNextSome<T> where
T: Stream + Unpin,
[src]
ⓘImportant traits for SelectNextSome<'a, T>
T: Stream + Unpin,
ⓘImportant traits for Current<'a, T>fn current(&mut self) -> Current<T> where
T: Future + Unpin,
[src]
ⓘImportant traits for Current<'a, T>
T: Future + Unpin,