pub enum DbPath {
File(PathBuf),
Tmpfs(PathBuf),
Memory(PathBuf),
}Expand description
Where the SQLite database file lives on disk.
Variants§
File(PathBuf)
A regular file path.
Tmpfs(PathBuf)
Tmpfs-backed file for WAL support + automatic cleanup.
Memory(PathBuf)
RAM-backed file for storage with WAL support + automatic cleanup.
Trait Implementations§
impl Eq for DbPath
impl StructuralPartialEq for DbPath
Auto Trait Implementations§
impl Freeze for DbPath
impl RefUnwindSafe for DbPath
impl Send for DbPath
impl Sync for DbPath
impl Unpin for DbPath
impl UnsafeUnpin for DbPath
impl UnwindSafe for DbPath
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