pub struct SqliteConfig {
pub path: PathBuf,
pub journal_mode: String,
}Expand description
Local-mode SQLite StorageBackend settings.
path is stored raw — the leading ~ is expanded by
GatewayConfig::expand_paths() (extension landing in Subtask
AAASM-1740). journal_mode = "wal" gives a better concurrent-read
experience for the local dashboard while a developer’s gateway is
writing audit events.
Fields§
§path: PathBufSQLite database path. Default: ~/.aasm/local.db (un-expanded).
journal_mode: StringSQLite journal_mode PRAGMA. Default: "wal".
Trait Implementations§
Source§impl Clone for SqliteConfig
impl Clone for SqliteConfig
Source§fn clone(&self) -> SqliteConfig
fn clone(&self) -> SqliteConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SqliteConfig
impl Debug for SqliteConfig
Source§impl Default for SqliteConfig
impl Default for SqliteConfig
impl Eq for SqliteConfig
Source§impl PartialEq for SqliteConfig
impl PartialEq for SqliteConfig
Source§fn eq(&self, other: &SqliteConfig) -> bool
fn eq(&self, other: &SqliteConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SqliteConfig
Auto Trait Implementations§
impl Freeze for SqliteConfig
impl RefUnwindSafe for SqliteConfig
impl Send for SqliteConfig
impl Sync for SqliteConfig
impl Unpin for SqliteConfig
impl UnsafeUnpin for SqliteConfig
impl UnwindSafe for SqliteConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.