pub trait NicExt {
// Required methods
fn broadcast(&self) -> Option<Address>;
fn is_broadcast(&self) -> bool;
fn is_point_to_point(&self) -> bool;
}
Expand description
Linux-specific extension for Nic.
Required Methods§
Sourcefn is_broadcast(&self) -> bool
fn is_broadcast(&self) -> bool
Returns bool
indicating whether interface is broadcast.
Sourcefn is_point_to_point(&self) -> bool
fn is_point_to_point(&self) -> bool
Returns bool
indicating whether interface is point-to-point.