pub enum Range {
Valid(u64, u64),
OutOfBounds,
}
Expand description
Represents the result of parsing the Range
HTTP header.
Variants§
Valid(u64, u64)
A valid range with the given start and end bounds
OutOfBounds
A range that is outside of the file’s boundaries
Implementations§
Trait Implementations§
impl Copy for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnwindSafe for Range
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