Struct r2d2_gluster::GlusterPool
[−]
[src]
pub struct GlusterPool { /* fields omitted */ }
Methods
impl GlusterPool
[src]
Trait Implementations
impl ManageConnection for GlusterPool
[src]
type Connection = Gluster
The connection type this manager deals with.
type Error = GlusterError
The error type returned by Connection
s.
fn connect(&self) -> Result<Self::Connection, Self::Error>
[src]
Attempts to create a new connection.
fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error>
[src]
Determines if the connection is still connected to the database. Read more
fn has_broken(&self, conn: &mut Self::Connection) -> bool
[src]
Quickly determines if the connection is no longer usable. Read more