[][src]Trait lapin::Connect

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

Trait providing a method to connect to an AMQP server

Required methods

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

connect to an AMQP server, for internal use

Loading content...

Provided methods

fn connect(
    self,
    options: ConnectionProperties,
    identity: Option<Identity>
) -> ConnectionPromise 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...