pub trait InterfaceStatusView {
// Required methods
fn id(&self) -> InterfaceId;
fn info(&self) -> &InterfaceInfo;
fn online(&self) -> bool;
fn stats(&self) -> &InterfaceStats;
}Expand description
View trait for interface status, decoupling management from InterfaceEntry.