pub enum HttpBody {
Empty,
Read(Box<dyn Read>),
String(String),
Bytes(Vec<u8>),
}Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for HttpBody
impl !RefUnwindSafe for HttpBody
impl !Send for HttpBody
impl !Sync for HttpBody
impl Unpin for HttpBody
impl !UnwindSafe for HttpBody
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