pub trait Connection { fn connected(&self) -> Connected; }
client
Describes a type returned by a connector.
fn connected(&self) -> Connected
Return metadata describing the connection.
impl Connection for TcpStream
tcp