get_network_device

Function get_network_device 

Source
pub fn get_network_device() -> Option<Arc<dyn Device>>
Expand description

Get the first available network device

This is a convenience function to get the first network device registered in the system. Returns None if no network devices are available.