rdbc_rs/driver/
mod.rs

1//! # This mode provides a generic interface around SQL database.
2
3pub mod callback;
4pub mod conn;
5pub mod error;
6pub mod stmt;
7pub mod tx;
8
9pub use conn::*;
10pub use error::*;
11pub use stmt::*;
12pub use tx::*;
13
14pub trait Driver: Send {
15    fn open(&mut self, url: &str) -> anyhow::Result<Box<dyn Connection>>;
16}