pub struct SqliteConnectionManager;Expand description
Sqlite connection manager
Trait Implementations§
Source§impl DatabasePool for SqliteConnectionManager
impl DatabasePool for SqliteConnectionManager
Source§type Connection = AsyncSqlite
type Connection = AsyncSqlite
The resource to be pooled
Source§fn new_resource(
config: &Self::Config,
_stale: Arc<AtomicBool>,
_timeout: Duration,
) -> Result<Self::Connection, Error<Self::Error>>
fn new_resource( config: &Self::Config, _stale: Arc<AtomicBool>, _timeout: Duration, ) -> Result<Self::Connection, Error<Self::Error>>
Creates a new resource with a given config. Read more
Source§fn drop(_resource: Self::Connection)
fn drop(_resource: Self::Connection)
The object is dropped
Auto Trait Implementations§
impl Freeze for SqliteConnectionManager
impl RefUnwindSafe for SqliteConnectionManager
impl Send for SqliteConnectionManager
impl Sync for SqliteConnectionManager
impl Unpin for SqliteConnectionManager
impl UnsafeUnpin for SqliteConnectionManager
impl UnwindSafe for SqliteConnectionManager
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