[−][src]Trait reool::RedisPool
A trait that can be used as an interface for a connection pool.
Associated Types
type Connection: Poolable
Required methods
fn check_out(&self) -> Checkout<Self::Connection>
Checkout a new connection and if the request has to be enqueued use a timeout as defined by the implementor.
fn check_out_explicit_timeout(
&self,
timeout: Option<Duration>
) -> Checkout<Self::Connection>
&self,
timeout: Option<Duration>
) -> Checkout<Self::Connection>
Checkout a new connection and if the request has to be enqueued use the given timeout or wait indefinetly.