pub enum Resolved {
Whole,
Part {
start: u64,
end: u64,
},
Unsatisfiable,
}Expand description
What to serve for a given Range header.
Variants§
Whole
Serve the whole representation. Either nothing was asked for, or the request is one we are permitted to answer in full.
Part
Serve bytes start..=end, inclusive at both ends as HTTP counts them.
Unsatisfiable
The range names nothing inside the representation.
Trait Implementations§
impl Eq for Resolved
impl StructuralPartialEq for Resolved
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
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