[−][src]Enum heim_disk::FileSystem
Known filesystems.
All physical filesystems should have their own enum element
and all virtual filesystems will go into the Other element.
Variants (Non-exhaustive)
ext2 (https://en.wikipedia.org/wiki/Ext2)
ext3 (https://en.wikipedia.org/wiki/Ext3)
ext4 (https://en.wikipedia.org/wiki/Ext4)
FAT (https://en.wikipedia.org/wiki/File_Allocation_Table)
exFAT (https://en.wikipedia.org/wiki/ExFAT)
F2FS (https://en.wikipedia.org/wiki/F2FS)
NTFS (https://en.wikipedia.org/wiki/NTFS)
ZFS (https://en.wikipedia.org/wiki/ZFS)
HFS (https://en.wikipedia.org/wiki/Hierarchical_File_System)
HFS+ (https://en.wikipedia.org/wiki/HFS_Plus)
JFS (https://en.wikipedia.org/wiki/JFS_(file_system))
ReiserFS 3 (https://en.wikipedia.org/wiki/ReiserFS)
ReiserFS 4 (https://en.wikipedia.org/wiki/Reiser4)
Btrfs (https://en.wikipedia.org/wiki/Btrfs)
MINIX FS (https://en.wikipedia.org/wiki/MINIX_file_system)
NILFS (https://en.wikipedia.org/wiki/NILFS)
XFS (https://en.wikipedia.org/wiki/XFS)
APFS (https://en.wikipedia.org/wiki/Apple_File_System)
FUSE (https://en.wikipedia.org/wiki/Filesystem_in_Userspace)
Other(String)Some unspecified filesystem.
Implementations
impl FileSystem[src]
pub fn is_physical(&self) -> bool[src]
Checks if filesystem is used for a physical devices
pub fn is_virtual(&self) -> bool[src]
Checks if filesystem is used for a virtual devices (such as tmpfs or smb mounts)
pub fn as_str(&self) -> &str[src]
Returns a string identifying this filesystem.
Trait Implementations
impl Clone for FileSystem[src]
pub fn clone(&self) -> FileSystem[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for FileSystem[src]
impl Eq for FileSystem[src]
impl FromStr for FileSystem[src]
type Err = Error
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self>[src]
impl Hash for FileSystem[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<FileSystem> for FileSystem[src]
pub fn eq(&self, other: &FileSystem) -> bool[src]
pub fn ne(&self, other: &FileSystem) -> bool[src]
impl StructuralEq for FileSystem[src]
impl StructuralPartialEq for FileSystem[src]
Auto Trait Implementations
impl RefUnwindSafe for FileSystem[src]
impl Send for FileSystem[src]
impl Sync for FileSystem[src]
impl Unpin for FileSystem[src]
impl UnwindSafe for FileSystem[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,