pub struct Extent {
pub offset: u64,
pub size: u32,
}Expand description
An extent containing a file’s data on disk.
This is created by the extents method on File, and represents
a byte range on the disk that contains a file’s data. All values
are in bytes.
Fields§
§offset: u64§size: u32Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Extent
impl Send for Extent
impl Sync for Extent
impl Unpin for Extent
impl UnwindSafe for Extent
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