Enum sys_mount::FilesystemType[][src]

pub enum FilesystemType<'a> {
    Auto(&'a SupportedFilesystems),
    Manual(&'a str),
    Set(&'a [&'a str]),
}

Defines how the file system type should be derived for a mount -- auto or manual

Variants

The automatic variant will iterate through a list of pre-generated supported file systems, and attempt to mount each one before giving up.

The caller can avoid costly trial-and-error iteration with this variant.

A specific set of file systems to attempt to mount with.

Trait Implementations

impl<'a> Debug for FilesystemType<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a SupportedFilesystems> for FilesystemType<'a>
[src]

Performs the conversion.

impl<'a> From<&'a str> for FilesystemType<'a>
[src]

Performs the conversion.

impl<'a> From<&'a [&'a str]> for FilesystemType<'a>
[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for FilesystemType<'a>

impl<'a> Sync for FilesystemType<'a>