pub enum WireBody {
Bytes(Bytes),
Stream(BodyStream),
}Variants§
Bytes(Bytes)
Stream(BodyStream)
Implementations§
Auto Trait Implementations§
impl !Freeze for WireBody
impl !RefUnwindSafe for WireBody
impl !Sync for WireBody
impl !UnwindSafe for WireBody
impl Send for WireBody
impl Unpin for WireBody
impl UnsafeUnpin for WireBody
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