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§
Trait Implementations§
Source§impl Clone for FilesystemType
impl Clone for FilesystemType
Source§fn clone(&self) -> FilesystemType
fn clone(&self) -> FilesystemType
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 FilesystemType
impl Debug for FilesystemType
Source§impl Display for FilesystemType
impl Display for FilesystemType
Source§impl FromStr for FilesystemType
impl FromStr for FilesystemType
Source§impl PartialEq for FilesystemType
impl PartialEq for FilesystemType
Source§impl TryFrom<&str> for FilesystemType
impl TryFrom<&str> for FilesystemType
impl Eq for FilesystemType
impl StructuralPartialEq for FilesystemType
Auto Trait Implementations§
impl Freeze for FilesystemType
impl RefUnwindSafe for FilesystemType
impl Send for FilesystemType
impl Sync for FilesystemType
impl Unpin for FilesystemType
impl UnwindSafe for FilesystemType
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