Trait gio::prelude::InetAddressMaskExt [−][src]
pub trait InetAddressMaskExt: 'static { fn equal<P: IsA<InetAddressMask>>(&self, mask2: &P) -> bool; fn address(&self) -> InetAddress; fn family(&self) -> SocketFamily; fn length(&self) -> u32; fn matches<P: IsA<InetAddress>>(&self, address: &P) -> bool; fn to_str(&self) -> GString; fn set_address<P: IsA<InetAddress>>(&self, address: Option<&P>); fn set_length(&self, length: u32); fn connect_address_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_family_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_length_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Expand description
Required methods
Tests if self
and mask2
are the same mask.
mask2
another InetAddressMask
Returns
whether self
and mask2
are the same mask
fn address(&self) -> InetAddress
fn address(&self) -> InetAddress
fn family(&self) -> SocketFamily
fn family(&self) -> SocketFamily
fn set_address<P: IsA<InetAddress>>(&self, address: Option<&P>)
fn set_length(&self, length: u32)
fn connect_address_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_family_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_length_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId