pub trait Pragma: Sized {
type Scope: PragmaScope;
const NAME: &'static str;
}Available on crate feature
__sqlite-shared only.Required Associated Constants§
Sourceconst NAME: &'static str
const NAME: &'static str
The pragma name, written into the SQL unquoted.
A name that is empty or holds anything but ASCII letters, digits and underscores fails with Error::QueryBuilderError before reaching SQLite. Naming a pragma SQLite knows is up to the implementer, since SQLite ignores unknown ones.
Required Associated Types§
Sourcetype Scope: PragmaScope
type Scope: PragmaScope
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".