[−][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
Ext2
ext2 (https://en.wikipedia.org/wiki/Ext2)
Ext3
ext3 (https://en.wikipedia.org/wiki/Ext3)
Ext4
ext4 (https://en.wikipedia.org/wiki/Ext4)
VFat
FAT (https://en.wikipedia.org/wiki/File_Allocation_Table)
Ntfs
NTFS (https://en.wikipedia.org/wiki/NTFS)
Zfs
ZFS (https://en.wikipedia.org/wiki/ZFS)
Hfs
HFS (https://en.wikipedia.org/wiki/Hierarchical_File_System)
Reiserfs
ReiserFS (https://en.wikipedia.org/wiki/ReiserFS)
FuseBlk
FUSE (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 PartialEq<FileSystem> for FileSystem
[src]
fn eq(&self, other: &FileSystem) -> bool
[src]
fn ne(&self, other: &FileSystem) -> bool
[src]
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 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 Send for FileSystem
impl Sync for FileSystem
impl UnwindSafe for FileSystem
impl RefUnwindSafe for FileSystem
Blanket Implementations
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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,