pub struct ExtentHeader {
pub magic: u16,
pub entries: u16,
pub max: u16,
pub depth: u16,
pub generation: u32,
}Expand description
Header of an ext4 extent tree node (root, internal, or leaf).
Fields§
§magic: u16Magic number (EXTENT_HEADER_MAGIC = 0xF30A).
entries: u16Number of valid entries following this header.
max: u16Maximum number of entries that could follow this header.
depth: u16Depth of this node in the extent tree (0 = leaf).
generation: u32Generation of the tree (used by Lustre, not standard ext4).
Implementations§
Trait Implementations§
Source§impl Clone for ExtentHeader
impl Clone for ExtentHeader
Source§fn clone(&self) -> ExtentHeader
fn clone(&self) -> ExtentHeader
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 ExtentHeader
impl Debug for ExtentHeader
Source§impl Default for ExtentHeader
impl Default for ExtentHeader
Source§fn default() -> ExtentHeader
fn default() -> ExtentHeader
Returns the “default value” for a type. Read more
impl Copy for ExtentHeader
Auto Trait Implementations§
impl Freeze for ExtentHeader
impl RefUnwindSafe for ExtentHeader
impl Send for ExtentHeader
impl Sync for ExtentHeader
impl Unpin for ExtentHeader
impl UnsafeUnpin for ExtentHeader
impl UnwindSafe for ExtentHeader
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