[][src]Trait heim::net::os::linux::NicExt

pub trait NicExt {
    pub fn broadcast(&self) -> Option<Address>;
pub fn is_broadcast(&self) -> bool;
pub fn is_point_to_point(&self) -> bool; }
This is supported on crate feature net only.

Linux-specific extension for Nic.

Required methods

pub fn broadcast(&self) -> Option<Address>[src]

Returns broadcast address if available.

pub fn is_broadcast(&self) -> bool[src]

Returns bool indicating whether interface is broadcast.

pub fn is_point_to_point(&self) -> bool[src]

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

Loading content...

Implementors

impl NicExt for Nic[src]

Loading content...