[][src]Trait amq_protocol_tcp::AMQPUriTcpExt

pub trait AMQPUriTcpExt {
    fn connect<S, F: FnOnce(TcpStream, AMQPUri) -> S>(self, f: F) -> Result<S>;
}

Trait providing a method to connect to a TcpStream

Required methods

fn connect<S, F: FnOnce(TcpStream, AMQPUri) -> S>(self, f: F) -> Result<S>

connect to a TcpStream

Loading content...

Implementations on Foreign Types

impl AMQPUriTcpExt for AMQPUri[src]

impl<'_> AMQPUriTcpExt for &'_ str[src]

Loading content...

Implementors

Loading content...