pub struct PoolConnection { /* private fields */ }Expand description
池连接包装器
当此对象被丢弃时,连接会自动归还到池中
Implementations§
Trait Implementations§
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