Enum block_utils::FilesystemType
source · [−]pub enum FilesystemType {
Btrfs,
Ext2,
Ext3,
Ext4,
Lvm,
Xfs,
Zfs,
Ntfs,
Vfat,
Unrecognised(String),
Unknown,
}Expand description
What type of filesystem
Variants
Btrfs
Ext2
Ext3
Ext4
Lvm
Xfs
Zfs
Ntfs
Vfat
All FAT-based filesystems, i.e. VFat, Fat16, Fat32, Fat64, ExFat.
Unrecognised(String)
Unknown filesystem with label (name).
Unknown
Unknown filesystem without label (name) or absent filesystem.
Implementations
sourceimpl FilesystemType
impl FilesystemType
Trait Implementations
sourceimpl Clone for FilesystemType
impl Clone for FilesystemType
sourcefn clone(&self) -> FilesystemType
fn clone(&self) -> FilesystemType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FilesystemType
impl Debug for FilesystemType
sourceimpl Display for FilesystemType
impl Display for FilesystemType
sourceimpl FromStr for FilesystemType
impl FromStr for FilesystemType
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl PartialEq<FilesystemType> for FilesystemType
impl PartialEq<FilesystemType> for FilesystemType
sourcefn eq(&self, other: &FilesystemType) -> bool
fn eq(&self, other: &FilesystemType) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FilesystemType) -> bool
fn ne(&self, other: &FilesystemType) -> bool
This method tests for !=.
sourceimpl TryFrom<&'_ str> for FilesystemType
impl TryFrom<&'_ str> for FilesystemType
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
impl Eq for FilesystemType
impl StructuralEq for FilesystemType
impl StructuralPartialEq for FilesystemType
Auto Trait Implementations
impl RefUnwindSafe for FilesystemType
impl Send for FilesystemType
impl Sync for FilesystemType
impl Unpin for FilesystemType
impl UnwindSafe for FilesystemType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more