pub enum BodyPlan {
Empty,
FullBytes(Vec<u8>),
FileFull,
FileRange {
start: u64,
end_inclusive: u64,
},
}Expand description
Body plan for a response.
Variants§
Trait Implementations§
impl Eq for BodyPlan
impl StructuralPartialEq for BodyPlan
Auto Trait Implementations§
impl Freeze for BodyPlan
impl RefUnwindSafe for BodyPlan
impl Send for BodyPlan
impl Sync for BodyPlan
impl Unpin for BodyPlan
impl UnsafeUnpin for BodyPlan
impl UnwindSafe for BodyPlan
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