pub struct InMemorySqlitePool {
pub db_path: String,
pub settings: Mutex<HashMap<String, String>>,
/* private fields */
}Fields§
§db_path: String§settings: Mutex<HashMap<String, String>>Implementations§
Source§impl InMemorySqlitePool
impl InMemorySqlitePool
pub fn new(db_path: &str) -> Self
pub fn clone_pool(&self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for InMemorySqlitePool
impl Forget for InMemorySqlitePool
impl RefUnwindSafe for InMemorySqlitePool
impl Send for InMemorySqlitePool
impl Sync for InMemorySqlitePool
impl Unpin for InMemorySqlitePool
impl UnsafeUnpin for InMemorySqlitePool
impl UnwindSafe for InMemorySqlitePool
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