pub struct Collected<B> {
bufs: BufList<B>,
trailers: Option<HeaderMap>,
}
Expand description
A collected body produced by Body::collect
which collects all the DATA frames
and trailers.
Fields§
§bufs: BufList<B>
§trailers: Option<HeaderMap>
Implementations§
Trait Implementations§
impl<B> Unpin for Collected<B>
Auto Trait Implementations§
impl<B> Freeze for Collected<B>
impl<B> RefUnwindSafe for Collected<B>where
B: RefUnwindSafe,
impl<B> Send for Collected<B>where
B: Send,
impl<B> Sync for Collected<B>where
B: Sync,
impl<B> UnwindSafe for Collected<B>where
B: UnwindSafe,
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