pub struct EthernetDevice { /* private fields */ }
Trait Implementations§
Source§impl Any for EthernetDevice
impl Any for EthernetDevice
fn reapply( &self, connection: HashMap<&'_ str, HashMap<String, Variant<Box<dyn RefArg>>>>, version_id: u64, flags: u32, ) -> Result<(), Error>
fn get_applied_connection( &self, flags: u32, ) -> Result<(HashMap<String, HashMap<String, Variant<Box<dyn RefArg + 'static>>>>, u64), Error>
fn disconnect(&self) -> Result<(), Error>
fn delete(&self) -> Result<(), Error>
fn udi(&self) -> Result<String, Error>
fn interface(&self) -> Result<String, Error>
fn ip_interface(&self) -> Result<String, Error>
fn driver(&self) -> Result<String, Error>
fn driver_version(&self) -> Result<String, Error>
fn firmware_version(&self) -> Result<String, Error>
fn capabilities(&self) -> Result<Capability, Error>
fn ip4_address(&self) -> Result<u32, Error>
fn state(&self) -> Result<u32, Error>
fn state_reason(&self) -> Result<(u32, u32), Error>
fn active_connection(&self) -> Result<Connection, Error>
fn ip4_config(&self) -> Result<Ip4Config, Error>
fn dhcp4_config(&self) -> Result<Dhcp4Config, Error>
fn ip6_config(&self) -> Result<Ip6Config, Error>
fn dhcp6_config(&self) -> Result<Dhcp6Config, Error>
fn managed(&self) -> Result<bool, Error>
fn set_managed(&self, value: bool) -> Result<(), Error>
fn autoconnect(&self) -> Result<bool, Error>
fn set_autoconnect(&self, value: bool) -> Result<(), Error>
fn firmware_missing(&self) -> Result<bool, Error>
fn nm_plugin_missing(&self) -> Result<bool, Error>
fn device_type(&self) -> Result<DeviceType, Error>
fn available_connections(&self) -> Result<Vec<Connection>, Error>
fn physical_port_id(&self) -> Result<String, Error>
fn mtu(&self) -> Result<u32, Error>
fn lldp_neighbors( &self, ) -> Result<Vec<HashMap<String, Variant<Box<dyn RefArg + 'static>>>>, Error>
fn metered(&self) -> Result<u32, Error>
fn real(&self) -> Result<bool, Error>
fn ip4_connectivity(&self) -> Result<ConnectivityState, Error>
fn ip6_connectivity(&self) -> Result<ConnectivityState, Error>
fn interface_flags(&self) -> Result<DeviceInterfaceFlag, Error>
fn hw_address(&self) -> Result<String, Error>
Source§impl Clone for EthernetDevice
impl Clone for EthernetDevice
Source§fn clone(&self) -> EthernetDevice
fn clone(&self) -> EthernetDevice
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EthernetDevice
impl Debug for EthernetDevice
Auto Trait Implementations§
impl Freeze for EthernetDevice
impl !RefUnwindSafe for EthernetDevice
impl !Send for EthernetDevice
impl !Sync for EthernetDevice
impl Unpin for EthernetDevice
impl !UnwindSafe for EthernetDevice
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more