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

    // Provided methods
    fn crypt_client(&self) -> Option<Channel> { ... }
    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 crypt_client(&self) -> Option<Channel>

Returns a handle for the crypt service (if any).

source

fn is_multi_volume(&self) -> bool

Whether the filesystem supports multiple volumes.

source

fn disk_format(&self) -> DiskFormat

Implementors§