[−][src]Struct smol::stream::TryFoldFuture
Future for the StreamExt::try_fold()
method.
Trait Implementations
impl<'a, S, F, B> Debug for TryFoldFuture<'a, S, F, B> where
B: Debug,
F: Debug,
S: Debug,
[src]
B: Debug,
F: Debug,
S: Debug,
impl<'a, T, E, S, F, B> Future for TryFoldFuture<'a, S, F, B> where
F: FnMut(B, T) -> Result<B, E>,
S: Stream + Unpin,
<S as Stream>::Item: Result,
<<S as Stream>::Item as Result>::Ok == T,
<<S as Stream>::Item as Result>::Err == E,
[src]
F: FnMut(B, T) -> Result<B, E>,
S: Stream + Unpin,
<S as Stream>::Item: Result,
<<S as Stream>::Item as Result>::Ok == T,
<<S as Stream>::Item as Result>::Err == E,
type Output = Result<B, E>
The type of value produced on completion.
fn poll(
self: Pin<&mut TryFoldFuture<'a, S, F, B>>,
cx: &mut Context<'_>
) -> Poll<<TryFoldFuture<'a, S, F, B> as Future>::Output>
[src]
self: Pin<&mut TryFoldFuture<'a, S, F, B>>,
cx: &mut Context<'_>
) -> Poll<<TryFoldFuture<'a, S, F, B> as Future>::Output>
impl<'a, S, F, B> Unpin for TryFoldFuture<'a, S, F, B>
[src]
Auto Trait Implementations
impl<'a, S, F, B> RefUnwindSafe for TryFoldFuture<'a, S, F, B> where
B: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
B: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
impl<'a, S, F, B> Send for TryFoldFuture<'a, S, F, B> where
B: Send,
F: Send,
S: Send,
B: Send,
F: Send,
S: Send,
impl<'a, S, F, B> Sync for TryFoldFuture<'a, S, F, B> where
B: Sync,
F: Sync,
S: Sync,
B: Sync,
F: Sync,
S: Sync,
impl<'a, S, F, B> !UnwindSafe for TryFoldFuture<'a, S, F, B>
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(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'static + Send>>ⓘ where
Self: Send + 'static,
[src]
Self: Send + 'static,
fn boxed_local(self) -> Pin<Box<dyn Future<Output = Self::Output> + 'static>>ⓘ where
Self: 'static,
[src]
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<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]
self: Pin<&mut F>,
cx: &mut Context<'_>
) -> Poll<<F as Future>::Output>
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,