Enum axol_http::body::BodyComponent
source · pub enum BodyComponent {
Data(Bytes),
Trailers(HeaderMap),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for BodyComponent
impl Send for BodyComponent
impl Sync for BodyComponent
impl Unpin for BodyComponent
impl UnwindSafe for BodyComponent
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