pub enum InodeDataLayout {
FlatPlain,
FlatInline,
}Expand description
The layout of the data portion of the inode.
Variants§
FlatPlain
The data union is interpreted as a block address. The data for this inode is stored in consecutive blocks starting from that block address.
FlatInline
The data union is interpreted as a block address. The data for this inode is stored in consecutive blocks starting from that block address, except for the tail of the data which is stored immediately following this metadata. If the whole tail is inlined, the data union is unused and doesn’t matter. For this to be used, the data must have a tail section that fits within the current metadata block.
Trait Implementations§
Source§impl Clone for InodeDataLayout
impl Clone for InodeDataLayout
Source§fn clone(&self) -> InodeDataLayout
fn clone(&self) -> InodeDataLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InodeDataLayout
impl Debug for InodeDataLayout
Source§impl PartialEq for InodeDataLayout
impl PartialEq for InodeDataLayout
Source§fn eq(&self, other: &InodeDataLayout) -> bool
fn eq(&self, other: &InodeDataLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for InodeDataLayout
impl Eq for InodeDataLayout
impl StructuralPartialEq for InodeDataLayout
Auto Trait Implementations§
impl Freeze for InodeDataLayout
impl RefUnwindSafe for InodeDataLayout
impl Send for InodeDataLayout
impl Sync for InodeDataLayout
impl Unpin for InodeDataLayout
impl UnsafeUnpin for InodeDataLayout
impl UnwindSafe for InodeDataLayout
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