pub struct Extent {
pub logical_block: u32,
pub length: u16,
pub physical_block: u64,
pub uninitialized: bool,
}Expand description
Leaf extent: maps [ee_block, ee_block+ee_len) logical to physical.
Fields§
§logical_block: u32First logical block number covered by this extent.
length: u16Number of contiguous blocks (after masking the uninit flag).
physical_block: u64Physical block where the data lives (assembled from hi/lo).
uninitialized: boolTrue if this extent is a pre-allocated hole (reads return zeros).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Extent
impl RefUnwindSafe for Extent
impl Send for Extent
impl Sync for Extent
impl Unpin for Extent
impl UnsafeUnpin 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