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