pub enum FileExtentType {
Inline,
Regular,
Prealloc,
Unknown(u8),
}Expand description
File extent type.
Variants§
Inline
Data stored directly in the tree leaf (small files or file tails).
Regular
Data stored in a separate disk extent, referenced by logical address.
Prealloc
Preallocated extent (reserved but not yet written).
Unknown(u8)
Unrecognized extent type byte.
Implementations§
Trait Implementations§
Source§impl Clone for FileExtentType
impl Clone for FileExtentType
Source§fn clone(&self) -> FileExtentType
fn clone(&self) -> FileExtentType
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 FileExtentType
impl Debug for FileExtentType
Source§impl PartialEq for FileExtentType
impl PartialEq for FileExtentType
impl Copy for FileExtentType
impl Eq for FileExtentType
impl StructuralPartialEq for FileExtentType
Auto Trait Implementations§
impl Freeze for FileExtentType
impl RefUnwindSafe for FileExtentType
impl Send for FileExtentType
impl Sync for FileExtentType
impl Unpin for FileExtentType
impl UnsafeUnpin for FileExtentType
impl UnwindSafe for FileExtentType
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