pub enum ContentReadRange {
Whole,
Range(ByteRange),
}Expand description
Requested content extent.
Variants§
Whole
Read the complete file.
Range(ByteRange)
Read one exact logical range, truncated only at end-of-file.
Trait Implementations§
Source§impl Clone for ContentReadRange
impl Clone for ContentReadRange
Source§fn clone(&self) -> ContentReadRange
fn clone(&self) -> ContentReadRange
Returns a duplicate of the value. Read more
1.0.0 · 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 ContentReadRange
impl Debug for ContentReadRange
Source§impl Hash for ContentReadRange
impl Hash for ContentReadRange
Source§impl PartialEq for ContentReadRange
impl PartialEq for ContentReadRange
impl Copy for ContentReadRange
impl Eq for ContentReadRange
impl StructuralPartialEq for ContentReadRange
Auto Trait Implementations§
impl Freeze for ContentReadRange
impl RefUnwindSafe for ContentReadRange
impl Send for ContentReadRange
impl Sync for ContentReadRange
impl Unpin for ContentReadRange
impl UnwindSafe for ContentReadRange
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