pub struct PoolConnection { /* private fields */ }Expand description
A connection borrowed from the pool.
Returned to the pool when dropped.
Implementations§
Source§impl PoolConnection
impl PoolConnection
Sourcepub fn supports_named_statements(&self) -> bool
pub fn supports_named_statements(&self) -> bool
Whether named prepared statements can be used on this connection.
Trait Implementations§
Source§impl Executor for PoolConnection
impl Executor for PoolConnection
Auto Trait Implementations§
impl Freeze for PoolConnection
impl !RefUnwindSafe for PoolConnection
impl Send for PoolConnection
impl Sync for PoolConnection
impl Unpin for PoolConnection
impl UnsafeUnpin for PoolConnection
impl !UnwindSafe for PoolConnection
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