Skip to main content

operstate

Function operstate 

Source
pub fn operstate(if_name: &str) -> OperState
Expand description

Reads the current operational state for the named interface.

This function performs a fresh OS query and does not rely on a previously collected snapshot.