pub enum Backend {
Sqlite(Connection),
Postgres(Client),
Duckdb(Connection),
}Expand description
An open connection to one of the supported SQL backends. Data values are
always passed to execute as Cell parameters (never interpolated).
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Backend
impl !RefUnwindSafe for Backend
impl !Sync for Backend
impl !UnwindSafe for Backend
impl Send for Backend
impl Unpin for Backend
impl UnsafeUnpin for Backend
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