pub fn get_default_gateway() -> Result<NetworkDevice, String>Expand description
Returns the default gateway associated with the active default interface.
Uses the same interface selection as crate::get_default_interface. Returns an error
when no default interface can be determined or its gateway information is unavailable.