pub trait SocketAddressExt: 'static {
// Required methods
fn get_family(&self) -> SocketFamily;
fn get_native_size(&self) -> isize;
fn connect_property_family_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_family(&self) -> SocketFamily
fn get_native_size(&self) -> isize
fn connect_property_family_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
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.