pub enum DbConfig {
Path(PathBuf),
InMemory,
}Expand description
Opening parameters for Db. Only the two shapes this daemon actually
needs: a file-backed path (WAL, production) or an in-memory connection
(tests, SqliteMailStore::open_in_memory).
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DbConfig
impl RefUnwindSafe for DbConfig
impl Send for DbConfig
impl Sync for DbConfig
impl Unpin for DbConfig
impl UnsafeUnpin for DbConfig
impl UnwindSafe for DbConfig
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