Trait gio::prelude::SocketAddressExt[][src]

pub trait SocketAddressExt: 'static {
    fn family(&self) -> SocketFamily;
fn native_size(&self) -> isize;
fn connect_family_notify<F: Fn(&Self) + Send + Sync + 'static>(
        f: F
    ) -> SignalHandlerId; }
Expand description

Required methods

Gets the socket family type of self.


the socket family type of self

Gets the size of self’s native struct sockaddr. You can use this to allocate memory to pass to g_socket_address_to_native().


the size of the native struct sockaddr that self represents