#[non_exhaustive]pub enum Incompatible {
Unknown(IncompatibleFeatures),
Missing(IncompatibleFeatures),
Incompatible(IncompatibleFeatures),
DirectoryHash(u8),
DirectoryEncrypted(u32),
}Expand description
Error type used in Ext4Error::Incompatible when the filesystem
cannot be read due to incomplete support in this library.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown(IncompatibleFeatures)
One or more unknown bits are set in the incompatible feature flags.
Tuple Fields
§
0: IncompatibleFeaturesThe unknown features.
Missing(IncompatibleFeatures)
One or more required incompatible features are missing.
Tuple Fields
§
0: IncompatibleFeaturesThe missing features.
Incompatible(IncompatibleFeatures)
One or more disallowed incompatible features are present.
Tuple Fields
§
0: IncompatibleFeaturesThe incompatible features.
DirectoryHash(u8)
The directory hash algorithm is not supported.
DirectoryEncrypted(u32)
Attempted to read an encrypted directory. Only unencrypted directories are currently supported.
Trait Implementations§
Source§impl Clone for Incompatible
impl Clone for Incompatible
Source§fn clone(&self) -> Incompatible
fn clone(&self) -> Incompatible
Returns a copy 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 Incompatible
impl Debug for Incompatible
Source§impl Display for Incompatible
impl Display for Incompatible
Source§impl PartialEq for Incompatible
impl PartialEq for Incompatible
impl Eq for Incompatible
impl StructuralPartialEq for Incompatible
Auto Trait Implementations§
impl Freeze for Incompatible
impl RefUnwindSafe for Incompatible
impl Send for Incompatible
impl Sync for Incompatible
impl Unpin for Incompatible
impl UnwindSafe for Incompatible
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)