pub struct FormatOnAttachSqliteDiskLayer { /* private fields */ }
Expand description
A disk layer backed by sqlite, which lazily infers its topology from the layer it is being stacked on-top of.
Implementations§
Source§impl FormatOnAttachSqliteDiskLayer
impl FormatOnAttachSqliteDiskLayer
Sourcepub fn new(
dbhd_path: PathBuf,
read_only: bool,
format_dbhd: IncompleteFormatParams,
) -> Self
pub fn new( dbhd_path: PathBuf, read_only: bool, format_dbhd: IncompleteFormatParams, ) -> Self
Create a new sqlite-backed disk layer, which is formatted when it is attached.
Trait Implementations§
Source§impl LayerAttach for FormatOnAttachSqliteDiskLayer
impl LayerAttach for FormatOnAttachSqliteDiskLayer
Source§type Layer = SqliteDiskLayer
type Layer = SqliteDiskLayer
Object implementating [
LayerIo
] after being attached.Auto Trait Implementations§
impl Freeze for FormatOnAttachSqliteDiskLayer
impl RefUnwindSafe for FormatOnAttachSqliteDiskLayer
impl Send for FormatOnAttachSqliteDiskLayer
impl Sync for FormatOnAttachSqliteDiskLayer
impl Unpin for FormatOnAttachSqliteDiskLayer
impl UnwindSafe for FormatOnAttachSqliteDiskLayer
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