pub struct BodyWriter<T>(/* 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.
Auto Trait Implementations§
impl<T> Freeze for BodyWriter<T>
impl<T> RefUnwindSafe for BodyWriter<T>
impl<T> Send for BodyWriter<T>where
T: Send,
impl<T> !Sync for BodyWriter<T>
impl<T> Unpin for BodyWriter<T>
impl<T> UnwindSafe for BodyWriter<T>
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