pub trait Connection {
    // Required method
    fn connected(&self) -> Connected;
}
Available on crate features client and client-legacy only.
Expand description

Describes a type returned by a connector.

Required Methods§

source

fn connected(&self) -> Connected

Return metadata describing the connection.

Implementors§

source§

impl Connection for TokioIo<TcpStream>

Available on crate feature tokio only.