pub trait Connection {
// Required method
fn connected(&self) -> Connected;
}Expand description
Describes a type returned by a connector.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl Connection for UnixStream
Available on Unix only.
impl Connection for UnixStream
Available on Unix only.