Struct fs_management::MinfsLegacy
source · pub struct MinfsLegacy {
pub verbose: bool,
pub readonly: bool,
pub fsck_after_every_transaction: bool,
}
Expand description
MinfsLegacy Filesystem Configuration MinfsLegacy allows us to launch minfs as a legacy binary DON’T USE!! This is only for //src/identity (fxbug.dev/114443) If fields are None or false, they will not be set in arguments.
Fields§
§verbose: bool
§readonly: bool
§fsck_after_every_transaction: bool
Implementations§
source§impl MinfsLegacy
impl MinfsLegacy
sourcepub fn new(block_device: ControllerProxy) -> Filesystem
pub fn new(block_device: ControllerProxy) -> Filesystem
Manages a block device using the default configuration.
Trait Implementations§
source§impl Clone for MinfsLegacy
impl Clone for MinfsLegacy
source§fn clone(&self) -> MinfsLegacy
fn clone(&self) -> MinfsLegacy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for MinfsLegacy
impl Default for MinfsLegacy
source§fn default() -> MinfsLegacy
fn default() -> MinfsLegacy
Returns the “default value” for a type. Read more
source§impl FSConfig for MinfsLegacy
impl FSConfig for MinfsLegacy
fn disk_format(&self) -> DiskFormat
source§fn crypt_client(&self) -> Option<Channel>
fn crypt_client(&self) -> Option<Channel>
Returns a handle for the crypt service (if any).
source§fn is_multi_volume(&self) -> bool
fn is_multi_volume(&self) -> bool
Whether the filesystem supports multiple volumes.