Trait Access

Source
pub trait Access {
    // Required method
    fn open(self, db: *mut *mut sqlite3) -> c_int;
}
Expand description

Authorization to connect to database.

Required Methods§

Source

fn open(self, db: *mut *mut sqlite3) -> c_int

Open a database connection.

Whether or not an error occurs, allocate a handle and update db to point to it. return SQLITE_OK as c_int or set the errmsg of the db handle and return a relevant result code.

Implementors§

Source§

impl<'a> Access for ByFilename<'a>