pub trait ConnectionStrategy {
// Required method
fn make_connection(&self) -> Result<Connection, SqLiteDataStorageError>;
}
Available on crate feature
sqlite
only.Expand description
Trait that helps to set up a SQLite database connection.
Required Methods§
sourcefn make_connection(&self) -> Result<Connection, SqLiteDataStorageError>
fn make_connection(&self) -> Result<Connection, SqLiteDataStorageError>
Connect to the SQLite database.