Struct skytable::pool::ConnectionManager
source · [−]pub struct ConnectionManager<C> { /* private fields */ }
This is supported on crate features
sync
or pool
or aio
or aio-pool
only.Expand description
A ConnectionManager
for connection pools. See the module level documentation
for examples and more information
Implementations
Create a new ConnectionManager
that can be used to configure a non-TLS connection pool
Trait Implementations
type Connection = C
type Connection = C
The connection type this manager deals with.
Attempts to create a new connection.
Determines if the connection is still connected to the database. Read more
Quickly determines if the connection is no longer usable. Read more
type Connection = C
type Connection = C
The connection type this manager deals with.
Attempts to create a new connection.
Determines if the connection is still connected to the database.
Synchronously determine if the connection is no longer usable, if possible.
Auto Trait Implementations
impl<C> RefUnwindSafe for ConnectionManager<C> where
C: RefUnwindSafe,
impl<C> Send for ConnectionManager<C> where
C: Send,
impl<C> Sync for ConnectionManager<C> where
C: Sync,
impl<C> Unpin for ConnectionManager<C> where
C: Unpin,
impl<C> UnwindSafe for ConnectionManager<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more