pub enum ContentLength {
Omitted,
Head,
Remaining(u64),
}
Expand description
State related to validating a stream’s content-length
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContentLength
impl RefUnwindSafe for ContentLength
impl Send for ContentLength
impl Sync for ContentLength
impl Unpin for ContentLength
impl UnwindSafe for ContentLength
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