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§

source

fn make_connection(&self) -> Result<Connection, SqLiteDataStorageError>

Connect to the SQLite database.

Implementors§