[][src]Enum fuser::MountOption

pub enum MountOption {
    FSName(String),
    Subtype(String),
    CUSTOM(String),
    AllowOther,
    AllowRoot,
    AutoUnmount,
    DefaultPermissions,
    Dev,
    NoDev,
    Suid,
    NoSuid,
    RO,
    RW,
    Exec,
    NoExec,
    Atime,
    NoAtime,
    DirSync,
    Sync,
    Async,
}

Mount options accepted by the FUSE filesystem type See 'man mount.fuse' for details

Variants

FSName(String)

Set the name of the source in mtab

Subtype(String)

Set the filesystem subtype in mtab

CUSTOM(String)

Allows passing an option which is not otherwise supported in these enums

AllowOther

Allow all users to access files on this filesystem. By default access is restricted to the user who mounted it

AllowRoot

Allow the root user to access this filesystem, in addition to the user who mounted it

AutoUnmount

Automatically unmount when the mounting process exits

DefaultPermissions

Enable permission checking in the kernel

Dev

Enable special character and block devices

NoDev

Disable special character and block devices

Suid

Honor set-user-id and set-groupd-id bits on files

NoSuid

Don't honor set-user-id and set-groupd-id bits on files

RO

Read-only filesystem

RW

Read-write filesystem

Exec

Allow execution of binaries

NoExec

Don't allow execution of binaries

Atime

Support inode access time

NoAtime

Don't update inode access time

DirSync

All modifications to directories will be done synchronously

Sync

All I/O will be done synchronously

Async

All I/O will be done asynchronously

Trait Implementations

impl Clone for MountOption[src]

impl Debug for MountOption[src]

impl Eq for MountOption[src]

impl Hash for MountOption[src]

impl PartialEq<MountOption> for MountOption[src]

impl StructuralEq for MountOption[src]

impl StructuralPartialEq for MountOption[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> 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.