pub struct SqliteStore { /* private fields */ }Implementations§
Source§impl SqliteStore
impl SqliteStore
Sourcepub fn open(options: &ConfigPathOptions) -> Result<Self>
pub fn open(options: &ConfigPathOptions) -> Result<Self>
TODO(clawdentity): document open.
Sourcepub fn open_path(path: impl Into<PathBuf>) -> Result<Self>
pub fn open_path(path: impl Into<PathBuf>) -> Result<Self>
TODO(clawdentity): document open_path.
Sourcepub fn with_connection<T>(
&self,
operation: impl FnOnce(&Connection) -> Result<T>,
) -> Result<T>
pub fn with_connection<T>( &self, operation: impl FnOnce(&Connection) -> Result<T>, ) -> Result<T>
TODO(clawdentity): document with_connection.
Trait Implementations§
Source§impl Clone for SqliteStore
impl Clone for SqliteStore
Source§fn clone(&self) -> SqliteStore
fn clone(&self) -> SqliteStore
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SqliteStore
impl RefUnwindSafe for SqliteStore
impl Send for SqliteStore
impl Sync for SqliteStore
impl Unpin for SqliteStore
impl UnsafeUnpin for SqliteStore
impl UnwindSafe for SqliteStore
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