pub trait Ext {
type Encoder<'a>: Encoder
where Self: 'a;
// Required methods
fn header(&self) -> Option<(Header<Handle>, AncillaryData)>;
fn cmsg_encoder(&mut self) -> Self::Encoder<'_>;
fn remote_address(&self) -> Option<SocketAddress>;
fn set_remote_address(&mut self, remote_address: &SocketAddress);
}Required Associated Types§
Required Methods§
fn header(&self) -> Option<(Header<Handle>, AncillaryData)>
fn cmsg_encoder(&mut self) -> Self::Encoder<'_>
fn remote_address(&self) -> Option<SocketAddress>
fn set_remote_address(&mut self, remote_address: &SocketAddress)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.