[−][src]Struct http_body::combinators::MapErr
Body returned by the map_err
combinator.
Implementations
impl<B, F> MapErr<B, F>
[src][−]
pub fn get_ref(&self) -> &B
[src][−]
Get a reference to the inner body
pub fn get_mut(&mut self) -> &mut B
[src][−]
Get a mutable reference to the inner body
pub fn get_pin_mut(self: Pin<&mut Self>) -> Pin<&mut B>
[src][−]
Get a pinned mutable reference to the inner body
pub fn into_inner(self) -> B
[src][−]
Consume self
, returning the inner body
Trait Implementations
impl<B, F, E> Body for MapErr<B, F> where
B: Body,
F: FnMut(B::Error) -> E,
[src][+]
B: Body,
F: FnMut(B::Error) -> E,
impl<B: Clone, F: Clone> Clone for MapErr<B, F>
[src][+]
impl<B: Copy, F: Copy> Copy for MapErr<B, F>
[src]
impl<B: Debug, F: Debug> Debug for MapErr<B, F>
[src][+]
impl<'__pin, B, F> Unpin for MapErr<B, F> where
__Origin<'__pin, B, F>: Unpin,
[src]
__Origin<'__pin, B, F>: Unpin,
Auto Trait Implementations
impl<B, F> RefUnwindSafe for MapErr<B, F> where
B: RefUnwindSafe,
F: RefUnwindSafe,
[src]
B: RefUnwindSafe,
F: RefUnwindSafe,
impl<B, F> Send for MapErr<B, F> where
B: Send,
F: Send,
[src]
B: Send,
F: Send,
impl<B, F> Sync for MapErr<B, F> where
B: Sync,
F: Sync,
[src]
B: Sync,
F: Sync,
impl<B, F> UnwindSafe for MapErr<B, F> where
B: UnwindSafe,
F: UnwindSafe,
[src]
B: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,