pub enum BodyType {
Bytes(Option<Bytes>),
AsyncStream(AsyncStream<Bytes, Error>),
Empty,
}Variants§
Auto Trait Implementations§
impl !Freeze for BodyType
impl !RefUnwindSafe for BodyType
impl Send for BodyType
impl !Sync for BodyType
impl Unpin for BodyType
impl UnsafeUnpin for BodyType
impl !UnwindSafe for BodyType
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