Trait gio::InetAddressMaskExt
source · [−]pub trait InetAddressMaskExt: 'static {
fn equal<P: IsA<InetAddressMask>>(&self, mask2: &P) -> bool;
fn get_address(&self) -> InetAddress;
fn get_family(&self) -> SocketFamily;
fn get_length(&self) -> u32;
fn matches<P: IsA<InetAddress>>(&self, address: &P) -> bool;
fn to_string(&self) -> GString;
fn set_property_address(&self, address: Option<&InetAddress>);
fn set_property_length(&self, length: u32);
fn connect_property_address_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_family_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_length_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
source
fn get_address(&self) -> InetAddress
source
fn get_family(&self) -> SocketFamily
source
fn get_length(&self) -> u32
source
fn set_property_address(&self, address: Option<&InetAddress>)
source
fn set_property_length(&self, length: u32)
sourcefn connect_property_address_notify<F: Fn(&Self) + Send + Sync + 'static>(
fn connect_property_address_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_family_notify<F: Fn(&Self) + Send + Sync + 'static>(
fn connect_property_family_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_length_notify<F: Fn(&Self) + Send + Sync + 'static>(