pub enum ErofsVersion {
V0,
V1,
V2,
}Expand description
The EROFS format version used when generating images.
Variants§
V0
Format V0: compact inodes, BFS, C-compatible (composefs_version auto-detects 0 or 1).
V1
Format V1: same layout as V0, composefs_version always 1.
V2
Format V2: extended inodes, DFS (composefs_version=2).
Trait Implementations§
Source§impl Clone for ErofsVersion
impl Clone for ErofsVersion
Source§fn clone(&self) -> ErofsVersion
fn clone(&self) -> ErofsVersion
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 ErofsVersion
impl Debug for ErofsVersion
Source§impl From<ErofsVersion> for FormatVersion
impl From<ErofsVersion> for FormatVersion
Source§fn from(v: ErofsVersion) -> Self
fn from(v: ErofsVersion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ErofsVersion
impl PartialEq for ErofsVersion
Source§impl ValueEnum for ErofsVersion
impl ValueEnum for ErofsVersion
impl Copy for ErofsVersion
impl Eq for ErofsVersion
impl StructuralPartialEq for ErofsVersion
Auto Trait Implementations§
impl Freeze for ErofsVersion
impl RefUnwindSafe for ErofsVersion
impl Send for ErofsVersion
impl Sync for ErofsVersion
impl Unpin for ErofsVersion
impl UnsafeUnpin for ErofsVersion
impl UnwindSafe for ErofsVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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