pub type SharedConnection<'env> = Arc<Mutex<Connection<'env>>>;Expand description
A convinient type alias in case you want to use a connection from multiple threads which share ownership of it.
Aliased Type§
pub struct SharedConnection<'env> { /* private fields */ }Trait Implementations§
impl StatementParent for SharedConnection<'_>
§Safety:
Connection is guaranteed to be alive and in connected state for the lifetime of
SharedConnection.