pub enum FileSystem {
Fat,
ExFat,
HfsPlus,
Apfs,
Ntfs,
Other(String),
}Variants§
Fat
FAT12, FAT16 or FAT32: the filesystem type the OS reports does not tell them apart.
ExFat
HfsPlus
Apfs
Ntfs
Other(String)
Anything else, by the name the OS gives it.
Trait Implementations§
Source§impl Clone for FileSystem
impl Clone for FileSystem
Source§impl Debug for FileSystem
impl Debug for FileSystem
Source§impl Display for FileSystem
impl Display for FileSystem
impl Eq for FileSystem
Source§impl PartialEq for FileSystem
impl PartialEq for FileSystem
impl StructuralPartialEq for FileSystem
Auto Trait Implementations§
impl Freeze for FileSystem
impl RefUnwindSafe for FileSystem
impl Send for FileSystem
impl Sync for FileSystem
impl Unpin for FileSystem
impl UnsafeUnpin for FileSystem
impl UnwindSafe for FileSystem
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§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