pub struct Extent {
pub start: u64,
pub end: u64,
pub shared: bool,
}Expand description
Struct representing a file extent metadata.
Fields§
§start: u64Extent logical start
end: u64Extent logical end
Whether extent is shared between multiple file. This generally only applies to reflinked files on filesystems that support CoW.
Trait Implementations§
source§impl PartialEq for Extent
impl PartialEq for Extent
impl StructuralPartialEq for Extent
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