pub trait NetworkMonitor {
// Required method
fn status(&self) -> NetworkStatus;
}Expand description
Reports the current network status.
Required Methods§
fn status(&self) -> NetworkStatus
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".