pub struct SqliteSettingsInEffect {Show 16 fields
pub busy_timeout: Duration,
pub cache_size: CacheSize,
pub cache_spill: CacheSpill,
pub mmap_size: u64,
pub temp_store: TempStore,
pub threads: u32,
pub journal_size_limit: JournalSizeLimit,
pub wal_autocheckpoint: WalAutocheckpoint,
pub automatic_index: bool,
pub cell_size_check: bool,
pub secure_delete: SecureDelete,
pub fullfsync: bool,
pub checkpoint_fullfsync: bool,
pub analysis_limit: AnalysisLimit,
pub page_size: PageSize,
pub auto_vacuum: AutoVacuum,
}Expand description
The SQLite settings one connection to the store’s database has in effect, as SQLite reports them. Every connection has the same, except that a writable handle’s writer never checkpoints as it commits.
Fields§
§busy_timeout: DurationPRAGMA busy_timeout, to the millisecond.
cache_size: CacheSizePRAGMA cache_size.
cache_spill: CacheSpillPRAGMA cache_spill: when on, the page count past which a
transaction spills, which is never below the cache’s own size.
mmap_size: u64PRAGMA mmap_size.
temp_store: TempStorePRAGMA temp_store.
threads: u32PRAGMA threads.
journal_size_limit: JournalSizeLimitPRAGMA journal_size_limit.
wal_autocheckpoint: WalAutocheckpointPRAGMA wal_autocheckpoint, which on a writable handle’s readers is
the size at which coven checkpoints. Its writer’s own is off: it
never checkpoints as it commits.
automatic_index: boolPRAGMA automatic_index.
cell_size_check: boolPRAGMA cell_size_check.
secure_delete: SecureDeletePRAGMA secure_delete.
fullfsync: boolPRAGMA fullfsync.
checkpoint_fullfsync: boolPRAGMA checkpoint_fullfsync.
analysis_limit: AnalysisLimitPRAGMA analysis_limit.
page_size: PageSizePRAGMA page_size.
auto_vacuum: AutoVacuumPRAGMA auto_vacuum.
Trait Implementations§
Source§impl Clone for SqliteSettingsInEffect
impl Clone for SqliteSettingsInEffect
Source§fn clone(&self) -> SqliteSettingsInEffect
fn clone(&self) -> SqliteSettingsInEffect
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SqliteSettingsInEffect
impl Debug for SqliteSettingsInEffect
Source§impl PartialEq for SqliteSettingsInEffect
impl PartialEq for SqliteSettingsInEffect
impl Eq for SqliteSettingsInEffect
impl StructuralPartialEq for SqliteSettingsInEffect
Auto Trait Implementations§
impl Freeze for SqliteSettingsInEffect
impl RefUnwindSafe for SqliteSettingsInEffect
impl Send for SqliteSettingsInEffect
impl Sync for SqliteSettingsInEffect
impl Unpin for SqliteSettingsInEffect
impl UnsafeUnpin for SqliteSettingsInEffect
impl UnwindSafe for SqliteSettingsInEffect
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more