pub enum ParsedRange {
Bytes(RangeSpec),
Suffix(u64),
}Expand description
A parsed, still-unresolved range request.
Variants§
Bytes(RangeSpec)
An explicit byte range [start, end) (end may be unbounded).
Suffix(u64)
The final n bytes of the resource (bytes=-n).
Trait Implementations§
Source§impl Clone for ParsedRange
impl Clone for ParsedRange
Source§fn clone(&self) -> ParsedRange
fn clone(&self) -> ParsedRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedRange
impl Debug for ParsedRange
impl Eq for ParsedRange
Source§impl PartialEq for ParsedRange
impl PartialEq for ParsedRange
impl StructuralPartialEq for ParsedRange
Auto Trait Implementations§
impl Freeze for ParsedRange
impl RefUnwindSafe for ParsedRange
impl Send for ParsedRange
impl Sync for ParsedRange
impl Unpin for ParsedRange
impl UnsafeUnpin for ParsedRange
impl UnwindSafe for ParsedRange
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