[][src]Trait lapin::Connect

pub trait Connect {
    fn connect_raw(
        self,
        options: ConnectionProperties,
        poll: Option<(Poll, Token)>,
        identity: Option<Identity>
    ) -> Result<Wait<Connection>>; fn connect(
        self,
        options: ConnectionProperties,
        identity: Option<Identity>
    ) -> Confirmation<Connection>
    where
        Self: Sized
, { ... } }

Trait providing a method to connect to an AMQP server

Required methods

fn connect_raw(
    self,
    options: ConnectionProperties,
    poll: Option<(Poll, Token)>,
    identity: Option<Identity>
) -> Result<Wait<Connection>>

connect to an AMQP server, for internal use

Loading content...

Provided methods

fn connect(
    self,
    options: ConnectionProperties,
    identity: Option<Identity>
) -> Confirmation<Connection> where
    Self: Sized

connect to an AMQP server

Loading content...

Implementations on Foreign Types

impl Connect for AMQPUri[src]

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

Loading content...

Implementors

Loading content...