Trait Connect

Source
pub trait Connect {
    // Required method
    fn connect_raw(
        self,
        options: ConnectionProperties,
    ) -> Result<Wait<Connection>, Error>;

    // Provided method
    fn connect(self, options: ConnectionProperties) -> Confirmation<Connection>
       where Self: Sized { ... }
}
👎Deprecated: use lapin instead
Expand description

Trait providing a method to connect to an AMQP server

Required Methods§

Source

fn connect_raw( self, options: ConnectionProperties, ) -> Result<Wait<Connection>, Error>

👎Deprecated: use lapin instead

connect to an AMQP server, for internal use

Provided Methods§

Source

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

👎Deprecated: use lapin instead

connect to an AMQP server

Implementations on Foreign Types§

Source§

impl Connect for &str

Source§

fn connect_raw( self, options: ConnectionProperties, ) -> Result<Wait<Connection>, Error>

👎Deprecated: use lapin instead
Source§

impl Connect for AMQPUri

Source§

fn connect_raw( self, options: ConnectionProperties, ) -> Result<Wait<Connection>, Error>

👎Deprecated: use lapin instead

Implementors§