pub enum HttpRangeParseError {
InvalidRange,
NoOverlap,
}
Expand description
Range parsing error
Variants§
InvalidRange
Returned if range is invalid.
NoOverlap
Returned if first-byte-pos of all of the byte-range-spec values is greater than the content size. See https://github.com/golang/go/commit/aa9b3d7
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpRangeParseError
impl RefUnwindSafe for HttpRangeParseError
impl Send for HttpRangeParseError
impl Sync for HttpRangeParseError
impl Unpin for HttpRangeParseError
impl UnwindSafe for HttpRangeParseError
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