#[non_exhaustive]
#[repr(i32)]
pub enum DbConfig {
Show 15 variants SQLITE_DBCONFIG_ENABLE_FKEY = 1_002, SQLITE_DBCONFIG_ENABLE_TRIGGER = 1_003, SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER = 1_004, SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE = 1_006, SQLITE_DBCONFIG_ENABLE_QPSG = 1_007, SQLITE_DBCONFIG_TRIGGER_EQP = 1_008, SQLITE_DBCONFIG_RESET_DATABASE = 1_009, SQLITE_DBCONFIG_DEFENSIVE = 1_010, SQLITE_DBCONFIG_WRITABLE_SCHEMA = 1_011, SQLITE_DBCONFIG_LEGACY_ALTER_TABLE = 1_012, SQLITE_DBCONFIG_DQS_DML = 1_013, SQLITE_DBCONFIG_DQS_DDL = 1_014, SQLITE_DBCONFIG_ENABLE_VIEW = 1_015, SQLITE_DBCONFIG_LEGACY_FILE_FORMAT = 1_016, SQLITE_DBCONFIG_TRUSTED_SCHEMA = 1_017,
}
Expand description

Database Connection Configuration Options See Database Connection Configuration Options for details.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

SQLITE_DBCONFIG_ENABLE_FKEY = 1_002

Enable or disable the enforcement of foreign key constraints.

§

SQLITE_DBCONFIG_ENABLE_TRIGGER = 1_003

Enable or disable triggers.

§

SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER = 1_004

Enable or disable the fts3_tokenizer() function which is part of the FTS3 full-text search engine extension.

§

SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE = 1_006

In WAL mode, enable or disable the checkpoint operation before closing the connection.

§

SQLITE_DBCONFIG_ENABLE_QPSG = 1_007

Activates or deactivates the query planner stability guarantee (QPSG).

§

SQLITE_DBCONFIG_TRIGGER_EQP = 1_008

Includes or excludes output for any operations performed by trigger programs from the output of EXPLAIN QUERY PLAN commands.

§

SQLITE_DBCONFIG_RESET_DATABASE = 1_009

Activates or deactivates the “reset” flag for a database connection. Run VACUUM with this flag set to reset the database.

§

SQLITE_DBCONFIG_DEFENSIVE = 1_010

Activates or deactivates the “defensive” flag for a database connection.

§

SQLITE_DBCONFIG_WRITABLE_SCHEMA = 1_011

Activates or deactivates the “writable_schema” flag.

§

SQLITE_DBCONFIG_LEGACY_ALTER_TABLE = 1_012

Activates or deactivates the legacy behavior of the ALTER TABLE RENAME command.

§

SQLITE_DBCONFIG_DQS_DML = 1_013

Activates or deactivates the legacy double-quoted string literal misfeature for DML statements only.

§

SQLITE_DBCONFIG_DQS_DDL = 1_014

Activates or deactivates the legacy double-quoted string literal misfeature for DDL statements.

§

SQLITE_DBCONFIG_ENABLE_VIEW = 1_015

Enable or disable views.

§

SQLITE_DBCONFIG_LEGACY_FILE_FORMAT = 1_016

Activates or deactivates the legacy file format flag.

§

SQLITE_DBCONFIG_TRUSTED_SCHEMA = 1_017

Tells SQLite to assume that database schemas (the contents of the sqlite_master tables) are untainted by malicious content.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.