pub struct InodeFormat {
pub version: InodeVersion,
pub data_layout: InodeDataLayout,
}Expand description
The format of the inode, containing the version and data layout.
Fields§
§version: InodeVersion§data_layout: InodeDataLayoutImplementations§
Source§impl InodeFormat
impl InodeFormat
Sourcepub fn parse(format: u16) -> Result<Self, ParsingError>
pub fn parse(format: u16) -> Result<Self, ParsingError>
Parse the inode format from the given format value.
Trait Implementations§
Source§impl Clone for InodeFormat
impl Clone for InodeFormat
impl Copy for InodeFormat
Auto Trait Implementations§
impl Freeze for InodeFormat
impl RefUnwindSafe for InodeFormat
impl Send for InodeFormat
impl Sync for InodeFormat
impl Unpin for InodeFormat
impl UnsafeUnpin for InodeFormat
impl UnwindSafe for InodeFormat
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more