Struct Collected
struct Collected<B> { ... }
A collected body produced by BodyExt::collect which collects all the DATA frames
and trailers.
Implementations
impl<B: Buf> Collected<B>
impl<B> Default for Collected<B>
fn default() -> Self
impl<B> Freeze for Collected<B>
impl<B> RefUnwindSafe for Collected<B>
impl<B> Send for Collected<B>
impl<B> Sync for Collected<B>
impl<B> Unpin for Collected<B>
impl<B> UnsafeUnpin for Collected<B>
impl<B> UnwindSafe for Collected<B>
impl<B: $crate::fmt::Debug> Debug for Collected<B>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<B: Buf> Body for Collected<B>
fn poll_frame(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Option<Result<Frame<<Self as >::Data>, <Self as >::Error>>>
impl<T> Any for Collected<B>
fn type_id(self: &Self) -> TypeId
impl<T> BodyExt for Collected<B>
impl<T> Borrow for Collected<B>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Collected<B>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Collected<B>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for Collected<B>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Collected<B>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Collected<B>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>