Struct WithTrailers

struct WithTrailers<T, F> { ... }

Adds trailers to a body.

See BodyExt::with_trailers for more details.

Implementations

impl<'__pin, T, F> Unpin for WithTrailers<T, F>

impl<T> Any for WithTrailers<T, F>

fn type_id(self: &Self) -> TypeId

impl<T> BodyExt for WithTrailers<T, F>

impl<T> Borrow for WithTrailers<T, F>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for WithTrailers<T, F>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for WithTrailers<T, F>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, F> Body for WithTrailers<T, F>

fn poll_frame(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Result<Frame<<Self as >::Data>, <Self as >::Error>>>
fn size_hint(self: &Self) -> SizeHint

impl<T, F> Freeze for WithTrailers<T, F>

impl<T, F> RefUnwindSafe for WithTrailers<T, F>

impl<T, F> Send for WithTrailers<T, F>

impl<T, F> Sync for WithTrailers<T, F>

impl<T, F> UnsafeUnpin for WithTrailers<T, F>

impl<T, F> UnwindSafe for WithTrailers<T, F>

impl<T, U> Into for WithTrailers<T, F>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for WithTrailers<T, F>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for WithTrailers<T, F>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>