Struct deadpool_redis::Manager [−][src]
pub struct Manager { /* fields omitted */ }
Implementations
Trait Implementations
type Type = RedisConnection
type Type = RedisConnection
type Error = RedisError
type Error = RedisError
fn create<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<RedisConnection, RedisError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<RedisConnection, RedisError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new instance of Manager::Type
.
fn recycle<'life0, 'life1, 'async_trait>(
&'life0 self,
conn: &'life1 mut RedisConnection
) -> Pin<Box<dyn Future<Output = RecycleResult<RedisError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn recycle<'life0, 'life1, 'async_trait>(
&'life0 self,
conn: &'life1 mut RedisConnection
) -> Pin<Box<dyn Future<Output = RecycleResult<RedisError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Tries to recycle an instance of Manager::Type
. Read more