pub struct IncompleteFormatParams {
pub logically_read_only: bool,
pub len: Option<u64>,
}
Expand description
Formatting parameters provided to FormatOnAttachSqliteDiskLayer::new
.
Optional parameters which are not provided will be determined by reading the metadata of the layer being attached to.
Fields§
§logically_read_only: bool
Should the layer be considered logically read only (i.e: a cache layer)
len: Option<u64>
The size of the layer in bytes.
Trait Implementations§
Source§impl Clone for IncompleteFormatParams
impl Clone for IncompleteFormatParams
Source§fn clone(&self) -> IncompleteFormatParams
fn clone(&self) -> IncompleteFormatParams
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 Inspect for IncompleteFormatParams
impl Inspect for IncompleteFormatParams
impl Copy for IncompleteFormatParams
Auto Trait Implementations§
impl Freeze for IncompleteFormatParams
impl RefUnwindSafe for IncompleteFormatParams
impl Send for IncompleteFormatParams
impl Sync for IncompleteFormatParams
impl Unpin for IncompleteFormatParams
impl UnwindSafe for IncompleteFormatParams
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