Enum http_range::HttpRangeParseError
source · [−]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 RefUnwindSafe for HttpRangeParseError
impl Send for HttpRangeParseError
impl Sync for HttpRangeParseError
impl Unpin for HttpRangeParseError
impl UnwindSafe for HttpRangeParseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more