Struct r2d2_sqlite::SqliteConnectionManager [] [src]

pub struct SqliteConnectionManager {
    // some fields omitted
}

Methods

impl SqliteConnectionManager

fn new(database: &str) -> Result<SqliteConnectionManager, SqliteError>

Trait Implementations

impl ManageConnection for SqliteConnectionManager

type Connection = SqliteConnection

type Error = Error

fn connect(&self) -> Result<SqliteConnection, Error>

fn is_valid(&self, conn: &mut SqliteConnection) -> Result<(), Error>

fn has_broken(&self, conn: &mut SqliteConnection) -> bool