[−][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
Ext2ext2 (https://en.wikipedia.org/wiki/Ext2)
Ext3ext3 (https://en.wikipedia.org/wiki/Ext3)
Ext4ext4 (https://en.wikipedia.org/wiki/Ext4)
VFatFAT (https://en.wikipedia.org/wiki/File_Allocation_Table)
ExFatexFAT (https://en.wikipedia.org/wiki/ExFAT)
F2fsF2FS (https://en.wikipedia.org/wiki/F2FS)
NtfsNTFS (https://en.wikipedia.org/wiki/NTFS)
ZfsZFS (https://en.wikipedia.org/wiki/ZFS)
HfsHFS (https://en.wikipedia.org/wiki/Hierarchical_File_System)
HfsPlusHFS+ (https://en.wikipedia.org/wiki/HFS_Plus)
JfsJFS (https://en.wikipedia.org/wiki/JFS_(file_system))
Reiser3ReiserFS 3 (https://en.wikipedia.org/wiki/ReiserFS)
Reiser4ReiserFS 4 (https://en.wikipedia.org/wiki/Reiser4)
BtrfsBtrfs (https://en.wikipedia.org/wiki/Btrfs)
MinixMINIX FS (https://en.wikipedia.org/wiki/MINIX_file_system)
NilfsNILFS (https://en.wikipedia.org/wiki/NILFS)
XfsXFS (https://en.wikipedia.org/wiki/XFS)
FuseBlkFUSE (https://en.wikipedia.org/wiki/Filesystem_in_Userspace)
Other(String)Some unspecified filesystem.
Methods
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]
fn clone(&self) -> FileSystem[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for FileSystem[src]
impl PartialEq<FileSystem> for FileSystem[src]
fn eq(&self, other: &FileSystem) -> bool[src]
fn ne(&self, other: &FileSystem) -> bool[src]
impl Hash for FileSystem[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for FileSystem[src]
impl FromStr for FileSystem[src]
Auto Trait Implementations
impl Unpin for FileSystem
impl Sync for FileSystem
impl Send for FileSystem
impl UnwindSafe for FileSystem
impl RefUnwindSafe for FileSystem
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self