pub struct SQLiteStorageProvider { /* private fields */ }Expand description
Database-level owner that creates isolated SQLite engine sessions.
Implementations§
Source§impl SQLiteStorageProvider
impl SQLiteStorageProvider
pub fn new(connection: ManagedConnection) -> Self
Trait Implementations§
Source§impl Clone for SQLiteStorageProvider
impl Clone for SQLiteStorageProvider
Source§fn clone(&self) -> SQLiteStorageProvider
fn clone(&self) -> SQLiteStorageProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PersistentStorageProvider for SQLiteStorageProvider
impl PersistentStorageProvider for SQLiteStorageProvider
fn open_session(&self) -> StorageBackendResult<PersistentStorageSession>
Source§fn storage_identity(
&self,
) -> StorageBackendResult<Option<PersistentStorageIdentity>>
fn storage_identity( &self, ) -> StorageBackendResult<Option<PersistentStorageIdentity>>
Return the database identity shared by every session this provider opens. Custom providers that cannot expose a stable identity may keep the default; engines built from the same
Arc provider still share an in-process coordinator.Auto Trait Implementations§
impl !RefUnwindSafe for SQLiteStorageProvider
impl !UnwindSafe for SQLiteStorageProvider
impl Freeze for SQLiteStorageProvider
impl Send for SQLiteStorageProvider
impl Sync for SQLiteStorageProvider
impl Unpin for SQLiteStorageProvider
impl UnsafeUnpin for SQLiteStorageProvider
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