Struct sqlite_tiny::api::sqlite::Sqlite
source · pub struct Sqlite { /* private fields */ }
Expand description
An SQLite database handle
Implementations§
source§impl Sqlite
impl Sqlite
sourcepub fn new(path: &str) -> Result<Self, Error>
pub fn new(path: &str) -> Result<Self, Error>
Opens or creates an SQLite 3 database for reading and writing
sourcepub fn uri(uri: &str) -> Result<Self, Error>
pub fn uri(uri: &str) -> Result<Self, Error>
Opens an SQLite database from an URL (see https://www.sqlite.org/uri.html)
Trait Implementations§
impl Send for Sqlite
impl Sync for Sqlite
Auto Trait Implementations§
impl Freeze for Sqlite
impl RefUnwindSafe for Sqlite
impl Unpin for Sqlite
impl UnwindSafe for Sqlite
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more