Struct lunatic_twitchax_patch::sqlite::SqliteClient
source · pub struct SqliteClient { /* private fields */ }Available on crate feature
sqlite only.Expand description
Sqlite client witn an existing connection.
Implementations§
source§impl SqliteClient
impl SqliteClient
sourcepub fn connect(path: &str) -> Result<Self, SqliteError>
pub fn connect(path: &str) -> Result<Self, SqliteError>
Connects to the Sqlite database at path if present, otherwise creates
a new database.
Trait Implementations§
source§impl Clone for SqliteClient
impl Clone for SqliteClient
source§fn clone(&self) -> SqliteClient
fn clone(&self) -> SqliteClient
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SqliteClient
impl Debug for SqliteClient
source§impl PartialEq for SqliteClient
impl PartialEq for SqliteClient
source§fn eq(&self, other: &SqliteClient) -> bool
fn eq(&self, other: &SqliteClient) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Query for SqliteClient
impl Query for SqliteClient
impl Copy for SqliteClient
impl Eq for SqliteClient
impl StructuralEq for SqliteClient
impl StructuralPartialEq for SqliteClient
Auto Trait Implementations§
impl RefUnwindSafe for SqliteClient
impl Send for SqliteClient
impl Sync for SqliteClient
impl Unpin for SqliteClient
impl UnwindSafe for SqliteClient
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