pub struct Blobfs {
pub verbose: bool,
pub deprecated_padded_blobfs_format: bool,
pub num_inodes: u64,
pub readonly: bool,
pub write_compression_algorithm: BlobCompression,
pub write_compression_level: Option<i32>,
pub cache_eviction_policy_override: BlobEvictionPolicy,
pub component_type: ComponentType,
}
Expand description
Blobfs Filesystem Configuration If fields are None or false, they will not be set in arguments.
Fields§
§verbose: bool
§deprecated_padded_blobfs_format: bool
§num_inodes: u64
§readonly: bool
§write_compression_algorithm: BlobCompression
§write_compression_level: Option<i32>
§cache_eviction_policy_override: BlobEvictionPolicy
§component_type: ComponentType
Implementations§
Source§impl Blobfs
impl Blobfs
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 blobfs, with the default configuration, as a dynamic child in the fs-collection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Blobfs
impl RefUnwindSafe for Blobfs
impl Send for Blobfs
impl Sync for Blobfs
impl Unpin for Blobfs
impl UnwindSafe for Blobfs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)