Trait sourceview5::prelude::InetAddressMaskExt

source ·
pub trait InetAddressMaskExt: IsA<InetAddressMask> + Sealed + 'static {
    // Provided methods
    fn equal(&self, mask2: &impl IsA<InetAddressMask>) -> bool { ... }
    fn address(&self) -> InetAddress { ... }
    fn family(&self) -> SocketFamily { ... }
    fn length(&self) -> u32 { ... }
    fn matches(&self, address: &impl IsA<InetAddress>) -> bool { ... }
    fn to_str(&self) -> GString { ... }
    fn set_address<P>(&self, address: Option<&P>)
       where P: IsA<InetAddress> { ... }
    fn set_length(&self, length: u32) { ... }
    fn connect_address_notify<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + Send + Sync + 'static { ... }
    fn connect_family_notify<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + Send + Sync + 'static { ... }
    fn connect_length_notify<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + Send + Sync + 'static { ... }
}

Provided Methods§

source

fn equal(&self, mask2: &impl IsA<InetAddressMask>) -> bool

source

fn address(&self) -> InetAddress

source

fn family(&self) -> SocketFamily

source

fn length(&self) -> u32

source

fn matches(&self, address: &impl IsA<InetAddress>) -> bool

source

fn to_str(&self) -> GString

source

fn set_address<P>(&self, address: Option<&P>)
where P: IsA<InetAddress>,

source

fn set_length(&self, length: u32)

source

fn connect_address_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + Send + Sync + 'static,

source

fn connect_family_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + Send + Sync + 'static,

source

fn connect_length_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + Send + Sync + 'static,

Object Safety§

This trait is not object safe.

Implementors§