pub trait NetworkInterfaceConfig {
// Required method
fn show() -> Result<Vec<NetworkInterface>>;
}
Required Methods§
Sourcefn show() -> Result<Vec<NetworkInterface>>
fn show() -> Result<Vec<NetworkInterface>>
List system’s network interfaces configuration
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.