pub enum Range {
OffsetWithLength {
offset: u64,
length: u64,
},
OffsetToEnd {
offset: u64,
},
Prefix {
length: u64,
},
Suffix {
suffix: u64,
},
}
Variants§
OffsetWithLength
Read length
bytes starting at offset
.
OffsetToEnd
Read from offset
to the end of the object.
Prefix
Read length
bytes starting at the beginning of the object.
Suffix
Read suffix
bytes from the end of the object.
Trait Implementations§
source§impl PartialEq for Range
impl PartialEq for Range
impl Eq 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