[−][src]Struct futures_option::Current
Adapter future for Option
to get the next value of the stored stream.
Resolves to None
if no stream is present.
Trait Implementations
impl<'a, T: Debug> Debug for Current<'a, T>
[src]
impl<'a, T> FusedFuture for Current<'a, T> where
T: Unpin + Future,
[src]
T: Unpin + Future,
fn is_terminated(&self) -> bool
[src]
impl<'a, T> Future for Current<'a, T> where
T: Future + Unpin,
[src]
T: Future + Unpin,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Current<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for Current<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for Current<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for Current<'a, T>
impl<'a, T> !UnwindSafe for Current<'a, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<F, T, E> TryFuture for F where
F: Future<Output = Result<T, E>> + ?Sized,
[src]
F: Future<Output = Result<T, E>> + ?Sized,
type Ok = T
The type of successful values yielded by this future
type Error = E
The type of failures yielded by this future
fn try_poll(self: Pin<&mut F>, cx: &mut Context) -> Poll<<F as Future>::Output>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,