Trait InetAddressExt

Source
pub trait InetAddressExt: IsA<InetAddress> + 'static {
Show 26 methods // Provided methods fn equal(&self, other_address: &impl IsA<InetAddress>) -> bool { ... } fn family(&self) -> SocketFamily { ... } fn flowinfo(&self) -> u32 { ... } fn is_any(&self) -> bool { ... } fn is_link_local(&self) -> bool { ... } fn is_loopback(&self) -> bool { ... } fn is_mc_global(&self) -> bool { ... } fn is_mc_link_local(&self) -> bool { ... } fn is_mc_node_local(&self) -> bool { ... } fn is_mc_org_local(&self) -> bool { ... } fn is_mc_site_local(&self) -> bool { ... } fn is_multicast(&self) -> bool { ... } fn is_site_local(&self) -> bool { ... } fn native_size(&self) -> usize { ... } fn scope_id(&self) -> u32 { ... } fn to_str(&self) -> GString { ... } fn connect_is_any_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_link_local_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_loopback_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_mc_global_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_mc_link_local_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_mc_node_local_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_mc_org_local_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_mc_site_local_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_multicast_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_is_site_local_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn equal(&self, other_address: &impl IsA<InetAddress>) -> bool

Source

fn family(&self) -> SocketFamily

Source

fn flowinfo(&self) -> u32

Available on crate feature v2_86 only.
Source

fn is_any(&self) -> bool

Source

fn is_loopback(&self) -> bool

Source

fn is_mc_global(&self) -> bool

Source

fn is_mc_node_local(&self) -> bool

Source

fn is_mc_org_local(&self) -> bool

Source

fn is_mc_site_local(&self) -> bool

Source

fn is_multicast(&self) -> bool

Source

fn is_site_local(&self) -> bool

Source

fn native_size(&self) -> usize

Source

fn scope_id(&self) -> u32

Available on crate feature v2_86 only.
Source

fn to_str(&self) -> GString

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

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.

Implementors§