pub enum BodyVariant {
Buffered(Bytes),
Streaming(Incoming),
Consumed,
}Expand description
Internal representation of the request body state
Variants§
Auto Trait Implementations§
impl !Freeze for BodyVariant
impl !RefUnwindSafe for BodyVariant
impl Send for BodyVariant
impl Sync for BodyVariant
impl Unpin for BodyVariant
impl !UnwindSafe for BodyVariant
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