#[non_exhaustive]pub enum Engine {
Sqlite,
}Expand description
The compiled SQL engine backend a Database routes through.
Each variant is gated on the feature that compiles its backend module,
so a build with only one engine feature on can never even name the
other’s variant — see the module doc’s Engines section for how
Database’s default-engine resolution accounts for this.
#[non_exhaustive]: a future backend adds a variant without breaking
an exhaustive match outside this crate.
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
rusqlite’s bundled, synchronous, in-process SQLite — this crate’s
default engine.
Trait Implementations§
impl Copy for Engine
impl Eq for Engine
impl StructuralPartialEq for Engine
Auto Trait Implementations§
impl Freeze for Engine
impl RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
impl UnwindSafe for Engine
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