[][src]Trait lapin::Connect

pub trait Connect {
#[must_use]    pub fn connect<'async_trait>(
        self,
        options: ConnectionProperties,
        config: OwnedTLSConfig
    ) -> Pin<Box<dyn Future<Output = Result<Connection>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

Trait providing a method to connect to an AMQP server

Required methods

#[must_use]pub fn connect<'async_trait>(
    self,
    options: ConnectionProperties,
    config: OwnedTLSConfig
) -> Pin<Box<dyn Future<Output = Result<Connection>> + Send + 'async_trait>> where
    Self: 'async_trait, 
[src]

connect to an AMQP server

Loading content...

Implementations on Foreign Types

impl Connect for AMQPUri[src]

impl<'impl0> Connect for &'impl0 str[src]

Loading content...

Implementors

Loading content...