pub enum ContentError {
ForbiddenLength {
length: u64,
},
NonemptyLength {
length: u64,
},
Exceeded {
remaining: u64,
actual: usize,
},
Incomplete {
remaining: u64,
},
Trailers,
}Variants§
Trait Implementations§
Source§impl Clone for ContentError
impl Clone for ContentError
impl Copy for ContentError
Source§impl Debug for ContentError
impl Debug for ContentError
impl Eq for ContentError
Source§impl PartialEq for ContentError
impl PartialEq for ContentError
impl StructuralPartialEq for ContentError
Auto Trait Implementations§
impl Freeze for ContentError
impl RefUnwindSafe for ContentError
impl Send for ContentError
impl Sync for ContentError
impl Unpin for ContentError
impl UnsafeUnpin for ContentError
impl UnwindSafe for ContentError
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