pub struct PooledSqliteConnection<'a> { /* private fields */ }Expand description
A pooled read-only connection for SQLite
This wraps a SQLite read-only connection with automatic permit release when the connection is returned to the pool.
Implementations§
Source§impl<'a> PooledSqliteConnection<'a>
impl<'a> PooledSqliteConnection<'a>
Sourcepub fn connection(&self) -> &Connection
pub fn connection(&self) -> &Connection
Get direct access to the underlying connection
Use this for complex queries that need the full rusqlite API.
Auto Trait Implementations§
impl<'a> Freeze for PooledSqliteConnection<'a>
impl<'a> RefUnwindSafe for PooledSqliteConnection<'a>
impl<'a> !Send for PooledSqliteConnection<'a>
impl<'a> !Sync for PooledSqliteConnection<'a>
impl<'a> Unpin for PooledSqliteConnection<'a>
impl<'a> UnwindSafe for PooledSqliteConnection<'a>
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