pub enum JournalSelect {
WalWithFallback,
WalStrict,
Delete,
}Expand description
How the journal mode is chosen. WAL needs working shared-memory locking, which network filesystems often lack and which SQLite will silently downgrade; the default therefore verifies the mode that took effect and falls back to a rollback journal.
Variants§
WalWithFallback
WAL when the filesystem honors it and is not a detected network mount; else DELETE.
WalStrict
WAL or fail (no fallback).
Delete
Rollback journal.
Trait Implementations§
Source§impl Clone for JournalSelect
impl Clone for JournalSelect
impl Copy for JournalSelect
Source§impl Debug for JournalSelect
impl Debug for JournalSelect
impl Eq for JournalSelect
Source§impl PartialEq for JournalSelect
impl PartialEq for JournalSelect
impl StructuralPartialEq for JournalSelect
Auto Trait Implementations§
impl Freeze for JournalSelect
impl RefUnwindSafe for JournalSelect
impl Send for JournalSelect
impl Sync for JournalSelect
impl Unpin for JournalSelect
impl UnsafeUnpin for JournalSelect
impl UnwindSafe for JournalSelect
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