pub enum RangeError {
Malformed,
MultiRangeUnsupported,
Unsatisfiable,
}Expand description
Why an HTTP Range header could not be resolved to a concrete ByteRange.
Variants§
Malformed
The header was not a well-formed single bytes= range.
MultiRangeUnsupported
The header requested more than one range; unsupported.
Unsatisfiable
The requested range starts at or beyond the content length.
Trait Implementations§
Source§impl Debug for RangeError
impl Debug for RangeError
impl Eq for RangeError
Source§impl PartialEq for RangeError
impl PartialEq for RangeError
impl StructuralPartialEq for RangeError
Auto Trait Implementations§
impl Freeze for RangeError
impl RefUnwindSafe for RangeError
impl Send for RangeError
impl Sync for RangeError
impl Unpin for RangeError
impl UnsafeUnpin for RangeError
impl UnwindSafe for RangeError
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