Trait amq_protocol_tcp::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§
sourcefn connect_with_config(&self, config: TLSConfig<'_, '_, '_>) -> HandshakeResult
fn connect_with_config(&self, config: TLSConfig<'_, '_, '_>) -> HandshakeResult
connect to a TcpStream with the given configuration
Provided Methods§
sourcefn connect(&self) -> HandshakeResultwhere
Self: Sized,
fn connect(&self) -> HandshakeResultwhere
Self: Sized,
connect to a TcpStream