Struct deadpool_redis::Manager[][src]

pub struct Manager { /* fields omitted */ }
Expand description

The manager for creating and recyling lapin connections

Implementations

Create manager using PgConfig and a TlsConnector

Trait Implementations

Type that the manager creates and recycles.

The error that the manager can return when creating and recycling objects. Read more

Create a new instance of Type

Try to recycle an instance of Type returning an Error if the object could not be recycled. Read more

Detach an instance of Type from this manager. This method is called when using the Object::take function for removing an object from the pool. If the manager doesn’t hold any references to the handed out objects the default implementation can be used which does nothing. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.