Trait hyperdriver::info::HasConnectionInfo
source · pub trait HasConnectionInfo {
type Addr: Display + Debug;
// Required method
fn info(&self) -> ConnectionInfo<Self::Addr>;
}Expand description
Trait for types which can provide connection information.
Required Associated Types§
Required Methods§
sourcefn info(&self) -> ConnectionInfo<Self::Addr>
fn info(&self) -> ConnectionInfo<Self::Addr>
Get the connection information for this stream.