Struct deadpool_lapin::Manager [−][src]
pub struct Manager { /* fields omitted */ }Expand description
Manager for creating and recycling lapin::Connection.
Implementations
Creates a new Manager using the given AMQP address and
lapin::ConnectionProperties.
Trait Implementations
type Type = Connection
type Type = Connection
Creates a new instance of Manager::Type.
fn recycle<'life0, 'life1, 'async_trait>(
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = RecycleResult<Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn recycle<'life0, 'life1, 'async_trait>(
&'life0 self,
conn: &'life1 mut Connection
) -> Pin<Box<dyn Future<Output = RecycleResult<Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Tries to recycle an instance of Manager::Type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Manager
impl !UnwindSafe for Manager
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more