Struct MapFrame

struct MapFrame<B, F> { ... }

Body returned by the map_frame combinator.

Implementations

impl<B, F> MapFrame<B, F>

fn get_ref(self: &Self) -> &B

Get a reference to the inner body

fn get_mut(self: &mut Self) -> &mut B

Get a mutable reference to the inner body

fn get_pin_mut(self: Pin<&mut Self>) -> Pin<&mut B>

Get a pinned mutable reference to the inner body

fn into_inner(self: Self) -> B

Consume self, returning the inner body

impl<'__pin, B, F> Unpin for MapFrame<B, F>

impl<B, F> Debug for MapFrame<B, F>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<B, F> Freeze for MapFrame<B, F>

impl<B, F> RefUnwindSafe for MapFrame<B, F>

impl<B, F> Send for MapFrame<B, F>

impl<B, F> Sync for MapFrame<B, F>

impl<B, F> UnsafeUnpin for MapFrame<B, F>

impl<B, F> UnwindSafe for MapFrame<B, F>

impl<B, F, B2> Body for MapFrame<B, F>

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

impl<B: $crate::clone::Clone, F: $crate::clone::Clone> Clone for MapFrame<B, F>

fn clone(self: &Self) -> MapFrame<B, F>

impl<B: $crate::marker::Copy, F: $crate::marker::Copy> Copy for MapFrame<B, F>

impl<T> Any for MapFrame<B, F>

fn type_id(self: &Self) -> TypeId

impl<T> BodyExt for MapFrame<B, F>

impl<T> Borrow for MapFrame<B, F>

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

impl<T> BorrowMut for MapFrame<B, F>

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

impl<T> CloneToUninit for MapFrame<B, F>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for MapFrame<B, F>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for MapFrame<B, F>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for MapFrame<B, 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 MapFrame<B, F>

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

impl<T, U> TryInto for MapFrame<B, F>

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