fs_management

Trait FSConfig

Source
pub trait FSConfig:
    Send
    + Sync
    + 'static {
    // Required method
    fn options(&self) -> Options<'_>;

    // Provided methods
    fn is_multi_volume(&self) -> bool { ... }
    fn disk_format(&self) -> DiskFormat { ... }
}
Expand description

Describes the configuration for a particular filesystem.

Required Methods§

Source

fn options(&self) -> Options<'_>

Returns the options specifying how to run this filesystem.

Provided Methods§

Source

fn is_multi_volume(&self) -> bool

Whether the filesystem supports multiple volumes.

Source

fn disk_format(&self) -> DiskFormat

Implementors§