Struct fs_management::Fxfs
source · pub struct Fxfs {
pub crypt_client_fn: Option<CryptClientFn>,
pub readonly: bool,
pub fsck_after_every_transaction: bool,
pub component_type: ComponentType,
}
Expand description
Fxfs Filesystem Configuration
Fields§
§crypt_client_fn: Option<CryptClientFn>
§readonly: bool
§fsck_after_every_transaction: bool
§component_type: ComponentType
Implementations§
source§impl Fxfs
impl Fxfs
pub fn with_crypt_client(crypt_client_fn: CryptClientFn) -> Self
sourcepub fn new(block_device: ControllerProxy) -> Filesystem
pub fn new(block_device: ControllerProxy) -> Filesystem
Manages a block device using the default configuration.
sourcepub fn dynamic_child() -> Self
pub fn dynamic_child() -> Self
Launch Fxfs, with the default configuration, as a dynamic child in the fs-collection.
Trait Implementations§
source§impl FSConfig for Fxfs
impl FSConfig for Fxfs
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.
fn disk_format(&self) -> DiskFormat
Auto Trait Implementations§
impl !RefUnwindSafe for Fxfs
impl Send for Fxfs
impl Sync for Fxfs
impl Unpin for Fxfs
impl !UnwindSafe for Fxfs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more