pub fn configs(&self) -> Vec<NetworkInterfaceConfig> {
        let mut ret = vec![];
        for net in &self.net_devices {
            ret.push(NetworkInterfaceConfig::from(net.lock().unwrap().deref()));
        }
        ret
    }
/// Returns a vec with the structures used to configure the net devices.
Returns a vec with the structures used to configure the net devices.
Returns a vec with the structures used to configure the net devices .
pub fn configs(&self) -> Vec<NetworkInterfaceConfig> {
        let mut ret = vec![];
        for net in &self.net_devices {
            ret.push(NetworkInterfaceConfig::from(net.lock().unwrap().deref()));
        }
        ret
    }
pub fn configs ( & self ) -> Vec < NetworkInterfaceConfig > { let mut ret = vec ! [ ] ; for net in & self . net_devices { ret . push ( NetworkInterfaceConfig :: from ( net . lock ( ) . unwrap ( ) . deref ( ) ) ) ; } ret }
Returns a vec with the structures used to configure the net devices.
Returns a vec with the structures used to configure the net devices .
&self
&self