[−]Struct smol_potat::stream::NextFuture
Future for the StreamExt::next()
method.
Trait Implementations
impl<'a, T> Debug for NextFuture<'a, T> where
T: Unpin + Debug + ?Sized,
T: Unpin + Debug + ?Sized,
impl<'_, T> Future for NextFuture<'_, T> where
T: Unpin + Stream + ?Sized,
T: Unpin + Stream + ?Sized,
type Output = Option<<T as Stream>::Item>
The type of value produced on completion.
fn poll(
self: Pin<&mut NextFuture<'_, T>>,
cx: &mut Context
) -> Poll<<NextFuture<'_, T> as Future>::Output>
self: Pin<&mut NextFuture<'_, T>>,
cx: &mut Context
) -> Poll<<NextFuture<'_, T> as Future>::Output>
impl<'_, St> Unpin for NextFuture<'_, St> where
St: Unpin + ?Sized,
St: Unpin + ?Sized,
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for NextFuture<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for NextFuture<'a, T> where
T: Send,
T: Send,
impl<'a, T: ?Sized> Sync for NextFuture<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> !UnwindSafe for NextFuture<'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> FutureExt for T where
T: Future + ?Sized,
T: Future + ?Sized,
fn or<F>(self, other: F) -> Or<Self, F>ⓘ where
F: Future<Output = Self::Output>,
F: Future<Output = Self::Output>,
fn boxed(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'static + Send>>ⓘ where
Self: Send + 'static,
Self: Send + 'static,
fn boxed_local(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'static>>ⓘ where
Self: 'static,
Self: 'static,
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<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,