#[repr(u16)]pub enum DataLayout {
FlatPlain = 0,
FlatInline = 4,
ChunkBased = 8,
}Expand description
Data layout method for file content storage
Variants§
FlatPlain = 0
File data stored in separate blocks
FlatInline = 4
File data stored inline within the inode
ChunkBased = 8
File data stored using chunk-based addressing
Trait Implementations§
Source§impl BitOr<DataLayout> for InodeLayout
impl BitOr<DataLayout> for InodeLayout
Source§type Output = FormatField
type Output = FormatField
The resulting type after applying the
| operator.Source§fn bitor(self, datalayout: DataLayout) -> FormatField
fn bitor(self, datalayout: DataLayout) -> FormatField
Performs the
| operation. Read moreSource§impl Debug for DataLayout
impl Debug for DataLayout
Source§impl TryFrom<FormatField> for DataLayout
impl TryFrom<FormatField> for DataLayout
Source§type Error = FormatError
type Error = FormatError
The type returned in the event of a conversion error.
Source§fn try_from(value: FormatField) -> Result<Self, FormatError>
fn try_from(value: FormatField) -> Result<Self, FormatError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DataLayout
impl RefUnwindSafe for DataLayout
impl Send for DataLayout
impl Sync for DataLayout
impl Unpin for DataLayout
impl UnwindSafe for DataLayout
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