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