pub struct ResponseAxumBodyLayer;Expand description
Layer that transforms the Response body to crate::body::Body.
This is useful when another layer maps the body to some other type to convert it back.
Trait Implementations§
Source§impl Clone for ResponseAxumBodyLayer
impl Clone for ResponseAxumBodyLayer
Source§fn clone(&self) -> ResponseAxumBodyLayer
fn clone(&self) -> ResponseAxumBodyLayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseAxumBodyLayer
impl Debug for ResponseAxumBodyLayer
Auto Trait Implementations§
impl Freeze for ResponseAxumBodyLayer
impl RefUnwindSafe for ResponseAxumBodyLayer
impl Send for ResponseAxumBodyLayer
impl Sync for ResponseAxumBodyLayer
impl Unpin for ResponseAxumBodyLayer
impl UnwindSafe for ResponseAxumBodyLayer
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