[][src]Enum heim_disk::FileSystem

pub enum FileSystem {
    Ext2,
    Ext3,
    Ext4,
    VFat,
    Ntfs,
    Zfs,
    Hfs,
    Reiserfs,
    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

Ext2Ext3Ext4VFatNtfsZfsHfsReiserfsFuseBlkOther(String)

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]

Trait Implementations

impl Clone for 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]

impl Debug 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]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for FileSystem

impl Sync for FileSystem

Blanket Implementations

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

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

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.

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

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

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

impl<'a, T> TryFrom<&'a str> for T where
    T: FromStr

type Err = <T as FromStr>::Err

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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