heim_net::os::macos

Trait NicExt

Source
pub trait NicExt {
    // Required methods
    fn broadcast(&self) -> Option<Address>;
    fn is_broadcast(&self) -> bool;
    fn is_point_to_point(&self) -> bool;
}
Expand description

macOS-specific extension for Nic.

Required Methods§

Source

fn broadcast(&self) -> Option<Address>

Returns broadcast address if available.

Source

fn is_broadcast(&self) -> bool

Returns bool indicating whether interface is broadcast.

Source

fn is_point_to_point(&self) -> bool

Returns bool indicating whether interface is point-to-point.

Implementors§