Trait SocketAddressExt

Source
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§

Source

fn get_family(&self) -> SocketFamily

Source

fn get_native_size(&self) -> isize

Source

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.

Implementors§