[−][src]Trait gio::SocketAddressExt
Trait containing all SocketAddress
methods.
Implementors
Required methods
fn get_family(&self) -> SocketFamily
fn get_native_size(&self) -> isize
Gets the size of self
's native struct sockaddr.
You can use this to allocate memory to pass to
SocketAddressExt::to_native
.
Returns
the size of the native struct sockaddr that
self
represents
fn connect_property_family_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<SocketAddress>> SocketAddressExt for O
[src]
fn get_family(&self) -> SocketFamily
[src]
fn get_native_size(&self) -> isize
[src]
fn connect_property_family_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId