pub fn operstate(if_name: &str) -> OperState
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.