pub struct Body { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<T: AsRef<[u8]> + Send + 'static> From<BodyWriter<T>> for Body
impl<T: AsRef<[u8]> + Send + 'static> From<BodyWriter<T>> for Body
source§fn from(value: BodyWriter<T>) -> Self
fn from(value: BodyWriter<T>) -> Self
Converts to this type from the input type.
source§impl<R> From<BufBodyReader<R>> for Body
impl<R> From<BufBodyReader<R>> for Body
source§fn from(value: BufBodyReader<R>) -> Self
fn from(value: BufBodyReader<R>) -> Self
Converts to this type from the input type.
source§impl<T: AsRef<[u8]> + Send + 'static> From<ChunkedBody<T>> for Body
impl<T: AsRef<[u8]> + Send + 'static> From<ChunkedBody<T>> for Body
source§fn from(value: ChunkedBody<T>) -> Self
fn from(value: ChunkedBody<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Body
impl !RefUnwindSafe for Body
impl Send for Body
impl !Sync for Body
impl Unpin for Body
impl !UnwindSafe for Body
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