pub struct Collect<T>where
T: Body,{
body: T,
collected: Option<Collected<T::Data>>,
is_data_done: bool,
}
Expand description
Future that resolves into a Collected
.
Fields§
§body: T
§collected: Option<Collected<T::Data>>
§is_data_done: bool
Implementations§
Trait Implementations§
source§impl<T: Body> Future for Collect<T>
impl<T: Body> Future for Collect<T>
impl<'__pin, T> Unpin for Collect<T>
Auto Trait Implementations§
impl<T> Freeze for Collect<T>where
T: Freeze,
impl<T> RefUnwindSafe for Collect<T>
impl<T> Send for Collect<T>
impl<T> Sync for Collect<T>
impl<T> UnwindSafe for Collect<T>
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