Struct networkmanager::devices::WiFiDevice
source · pub struct WiFiDevice<'a> { /* private fields */ }
Trait Implementations§
source§impl<'a> Any for WiFiDevice<'a>
impl<'a> Any for WiFiDevice<'a>
fn reapply( &self, connection: HashMap<&str, HashMap<&str, 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<'a> Wireless for WiFiDevice<'a>
impl<'a> Wireless for WiFiDevice<'a>
fn request_scan( &self, options: HashMap<&str, 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<'a> !RefUnwindSafe for WiFiDevice<'a>
impl<'a> !Send for WiFiDevice<'a>
impl<'a> !Sync for WiFiDevice<'a>
impl<'a> Unpin for WiFiDevice<'a>
impl<'a> !UnwindSafe for WiFiDevice<'a>
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