Trait amq_protocol_tcp::AMQPUriTcpExt [−][src]
pub trait AMQPUriTcpExt {
fn connect_with_config(
&self,
config: TLSConfig<'_, '_, '_>
) -> HandshakeResult;
fn connect(&self) -> HandshakeResult
where
Self: Sized,
{ ... }
}
Expand description
Trait providing a method to connect to a TcpStream
Required methods
fn 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
fn connect(&self) -> HandshakeResult where
Self: Sized,
fn connect(&self) -> HandshakeResult where
Self: Sized,
connect to a TcpStream