pub struct Extent {
pub logical: u64,
pub physical: u64,
pub length: u64,
pub flags: ExtentFlags,
}Expand description
A single extent in a file’s physical block mapping.
Each extent represents a contiguous range of physical blocks that store a portion of the file’s data.
Fields§
§logical: u64Logical offset in the file where this extent starts (in bytes).
physical: u64Physical offset on the block device where this extent starts (in bytes).
length: u64Length of this extent (in bytes).
flags: ExtentFlagsFlags describing this extent’s properties.
Implementations§
Source§impl FiemapExtent
impl FiemapExtent
Trait Implementations§
Source§impl Clone for FiemapExtent
impl Clone for FiemapExtent
Source§fn clone(&self) -> FiemapExtent
fn clone(&self) -> FiemapExtent
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 FiemapExtent
impl Debug for FiemapExtent
Source§impl Display for FiemapExtent
impl Display for FiemapExtent
Source§impl PartialEq for FiemapExtent
impl PartialEq for FiemapExtent
impl Copy for FiemapExtent
impl Eq for FiemapExtent
impl StructuralPartialEq for FiemapExtent
Auto Trait Implementations§
impl Freeze for FiemapExtent
impl RefUnwindSafe for FiemapExtent
impl Send for FiemapExtent
impl Sync for FiemapExtent
impl Unpin for FiemapExtent
impl UnwindSafe for FiemapExtent
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