pub struct Ext4FormatOptions {
pub size_bytes: u64,
pub journal_blocks: u32,
}Expand description
Options for creating an ext4 filesystem image.
Fields§
§size_bytes: u64Total image size in bytes. Must be large enough to hold metadata and journal. Defaults to 4 GiB.
journal_blocks: u32Number of 4 KiB blocks to allocate for the journal. Defaults to 16384 (64 MiB).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ext4FormatOptions
impl RefUnwindSafe for Ext4FormatOptions
impl Send for Ext4FormatOptions
impl Sync for Ext4FormatOptions
impl Unpin for Ext4FormatOptions
impl UnsafeUnpin for Ext4FormatOptions
impl UnwindSafe for Ext4FormatOptions
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