Struct mls_rs::storage_provider::sqlite::connection_strategy::MemoryStrategy
source · pub struct MemoryStrategy;
Available on crate feature
sqlite
only.Expand description
Connection strategy that creates an in-memory database.
Trait Implementations§
source§impl ConnectionStrategy for MemoryStrategy
impl ConnectionStrategy for MemoryStrategy
source§fn make_connection(&self) -> Result<Connection, SqLiteDataStorageError>
fn make_connection(&self) -> Result<Connection, SqLiteDataStorageError>
Connect to the SQLite database.
Auto Trait Implementations§
impl Freeze for MemoryStrategy
impl RefUnwindSafe for MemoryStrategy
impl Send for MemoryStrategy
impl Sync for MemoryStrategy
impl Unpin for MemoryStrategy
impl UnwindSafe for MemoryStrategy
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