Trait gio::prelude::InetSocketAddressExt
source · pub trait InetSocketAddressExt: 'static {
// Required methods
fn address(&self) -> InetAddress;
fn flowinfo(&self) -> u32;
fn port(&self) -> u16;
fn scope_id(&self) -> u32;
}Expand description
Required Methods§
sourcefn address(&self) -> InetAddress
fn address(&self) -> InetAddress
Gets self’s InetAddress.
Returns
the InetAddress for self, which must be
g_object_ref()’d if it will be stored