pub trait StreamMetadata:
LocalAddress
+ RemoteAddress
+ PeerCred
+ Send {
// Required method
fn transport(&self) -> Transport;
}Expand description
A trait for stream metadata.
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 StreamMetadata for UnixStream
Available on Unix only.
impl StreamMetadata for UnixStream
Available on Unix only.