Trait AMQPUriTcpExt

Source
pub trait AMQPUriTcpExt {
    // Required method
    fn connect_with_config(
        &self,
        config: TLSConfig<'_, '_, '_>,
    ) -> HandshakeResult;

    // Provided method
    fn connect(&self) -> HandshakeResult
       where Self: Sized { ... }
}
Expand description

Trait providing a method to connect to a TcpStream

Required Methods§

Source

fn connect_with_config(&self, config: TLSConfig<'_, '_, '_>) -> HandshakeResult

connect to a TcpStream with the given configuration

Provided Methods§

Source

fn connect(&self) -> HandshakeResult
where Self: Sized,

connect to a TcpStream

Implementations on Foreign Types§

Source§

impl AMQPUriTcpExt for AMQPUri

Source§

fn connect_with_config(&self, config: TLSConfig<'_, '_, '_>) -> HandshakeResult

Implementors§