pub struct WiFiDevice { /* private fields */ }Trait Implementations§
Source§impl Any for WiFiDevice
impl Any for WiFiDevice
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 WiFiDevice
impl Clone for WiFiDevice
Source§fn clone(&self) -> WiFiDevice
fn clone(&self) -> WiFiDevice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WiFiDevice
impl Debug for WiFiDevice
Source§impl Wireless for WiFiDevice
impl Wireless for WiFiDevice
fn request_scan( &self, options: HashMap<String, Variant<Box<dyn RefArg>>>, ) -> Result<(), Error>
fn get_access_points(&self) -> Result<Vec<AccessPoint>, Error>
fn get_all_access_points(&self) -> Result<Vec<AccessPoint>, Error>
fn hw_address(&self) -> Result<String, Error>
fn perm_hw_address(&self) -> Result<String, Error>
fn mode(&self) -> Result<u32, Error>
fn bitrate(&self) -> Result<u32, Error>
fn access_points(&self) -> Result<Vec<AccessPoint>, Error>
fn active_access_point(&self) -> Result<AccessPoint, Error>
fn wireless_capabilities(&self) -> Result<u32, Error>
fn last_scan(&self) -> Result<i64, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for WiFiDevice
impl !Send for WiFiDevice
impl !Sync for WiFiDevice
impl !UnwindSafe for WiFiDevice
impl Freeze for WiFiDevice
impl Unpin for WiFiDevice
impl UnsafeUnpin for WiFiDevice
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