pub trait InetSocketAddressExt: IsA<InetSocketAddress> + 'static {
// Provided methods
fn address(&self) -> InetAddress { ... }
fn flowinfo(&self) -> u32 { ... }
fn port(&self) -> u16 { ... }
fn scope_id(&self) -> u32 { ... }
}
Expand description
Provided Methods§
Sourcefn address(&self) -> InetAddress
fn address(&self) -> InetAddress
Gets @self’s #GInetAddress.
§Returns
the #GInetAddress for @self, which must be g_object_ref()’d if it will be stored
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.