pub struct FoldFuture<St, B, F> {
    stream: St,
    acc: Option<B>,
    f: F,
    _pin: PhantomPinned,
}Expand description
Future returned by the fold method.
Fields§
§stream: St§acc: Option<B>§f: F§_pin: PhantomPinnedImplementations§
Source§impl<St, B, F> FoldFuture<St, B, F>
 
impl<St, B, F> FoldFuture<St, B, F>
Trait Implementations§
Source§impl<St, B, F> Future for FoldFuture<St, B, F>
 
impl<St, B, F> Future for FoldFuture<St, B, F>
impl<'__pin, St, B, F> Unpin for FoldFuture<St, B, F>where
    PinnedFieldsOf<__Origin<'__pin, St, B, F>>: Unpin,
Auto Trait Implementations§
impl<St, B, F> Freeze for FoldFuture<St, B, F>
impl<St, B, F> RefUnwindSafe for FoldFuture<St, B, F>
impl<St, B, F> Send for FoldFuture<St, B, F>
impl<St, B, F> Sync for FoldFuture<St, B, F>
impl<St, B, F> UnwindSafe for FoldFuture<St, B, F>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<F> IntoFuture for Fwhere
    F: Future,
 
impl<F> IntoFuture for Fwhere
    F: Future,
Source§type IntoFuture = F
 
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
 
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more