[][src]Enum heim_disk::FileSystem

pub enum FileSystem {
    Ext2,
    Ext3,
    Ext4,
    VFat,
    ExFat,
    F2fs,
    Ntfs,
    Zfs,
    Hfs,
    HfsPlus,
    Jfs,
    Reiser3,
    Reiser4,
    Btrfs,
    Minix,
    Nilfs,
    Xfs,
    Apfs,
    FuseBlk,
    Other(String),
    // some variants omitted
}

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)

ExFat

exFAT (https://en.wikipedia.org/wiki/ExFAT)

F2fs

F2FS (https://en.wikipedia.org/wiki/F2FS)

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)

HfsPlus

HFS+ (https://en.wikipedia.org/wiki/HFS_Plus)

Jfs

JFS (https://en.wikipedia.org/wiki/JFS_(file_system))

Reiser3

ReiserFS 3 (https://en.wikipedia.org/wiki/ReiserFS)

Reiser4

ReiserFS 4 (https://en.wikipedia.org/wiki/Reiser4)

Btrfs

Btrfs (https://en.wikipedia.org/wiki/Btrfs)

Minix

MINIX FS (https://en.wikipedia.org/wiki/MINIX_file_system)

Nilfs

NILFS (https://en.wikipedia.org/wiki/NILFS)

Xfs

XFS (https://en.wikipedia.org/wiki/XFS)

Apfs

APFS (https://en.wikipedia.org/wiki/Apple_File_System)

FuseBlk

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]

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.

impl Hash for FileSystem[src]

impl PartialEq<FileSystem> for FileSystem[src]

impl StructuralEq for FileSystem[src]

impl StructuralPartialEq for FileSystem[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.