pub struct WiFiDevice<'a> { /* private fields */ }

Trait Implementations§

source§

impl<'a> Any for WiFiDevice<'a>

source§

fn reapply( &self, connection: HashMap<&str, HashMap<&str, Variant<Box<dyn RefArg>>>>, version_id: u64, flags: u32 ) -> Result<(), Error>

source§

fn get_applied_connection( &self, flags: u32 ) -> Result<(HashMap<String, HashMap<String, Variant<Box<dyn RefArg + 'static>>>>, u64), Error>

source§

fn disconnect(&self) -> Result<(), Error>

source§

fn delete(&self) -> Result<(), Error>

source§

fn udi(&self) -> Result<String, Error>

source§

fn interface(&self) -> Result<String, Error>

source§

fn ip_interface(&self) -> Result<String, Error>

source§

fn driver(&self) -> Result<String, Error>

source§

fn driver_version(&self) -> Result<String, Error>

source§

fn firmware_version(&self) -> Result<String, Error>

source§

fn capabilities(&self) -> Result<Capability, Error>

source§

fn ip4_address(&self) -> Result<u32, Error>

source§

fn state(&self) -> Result<u32, Error>

source§

fn state_reason(&self) -> Result<(u32, u32), Error>

source§

fn active_connection(&self) -> Result<Connection<'_>, Error>

source§

fn ip4_config(&self) -> Result<Ip4Config<'_>, Error>

source§

fn dhcp4_config(&self) -> Result<Dhcp4Config<'_>, Error>

source§

fn ip6_config(&self) -> Result<Ip6Config<'_>, Error>

source§

fn dhcp6_config(&self) -> Result<Dhcp6Config<'_>, Error>

source§

fn managed(&self) -> Result<bool, Error>

source§

fn set_managed(&self, value: bool) -> Result<(), Error>

source§

fn autoconnect(&self) -> Result<bool, Error>

source§

fn set_autoconnect(&self, value: bool) -> Result<(), Error>

source§

fn firmware_missing(&self) -> Result<bool, Error>

source§

fn nm_plugin_missing(&self) -> Result<bool, Error>

source§

fn device_type(&self) -> Result<DeviceType, Error>

source§

fn available_connections(&self) -> Result<Vec<Connection<'_>>, Error>

source§

fn physical_port_id(&self) -> Result<String, Error>

source§

fn mtu(&self) -> Result<u32, Error>

source§

fn lldp_neighbors( &self ) -> Result<Vec<HashMap<String, Variant<Box<dyn RefArg + 'static>>>>, Error>

source§

fn metered(&self) -> Result<u32, Error>

source§

fn real(&self) -> Result<bool, Error>

source§

fn ip4_connectivity(&self) -> Result<ConnectivityState, Error>

source§

fn ip6_connectivity(&self) -> Result<ConnectivityState, Error>

source§

fn interface_flags(&self) -> Result<DeviceInterfaceFlag, Error>

source§

fn hw_address(&self) -> Result<String, Error>

source§

impl<'a> Wireless for WiFiDevice<'a>

source§

fn request_scan( &self, options: HashMap<&str, Variant<Box<dyn RefArg>>> ) -> Result<(), Error>

source§

fn get_access_points(&self) -> Result<Vec<AccessPoint<'_>>, Error>

source§

fn get_all_access_points(&self) -> Result<Vec<AccessPoint<'_>>, Error>

source§

fn hw_address(&self) -> Result<String, Error>

source§

fn perm_hw_address(&self) -> Result<String, Error>

source§

fn mode(&self) -> Result<u32, Error>

source§

fn bitrate(&self) -> Result<u32, Error>

source§

fn access_points(&self) -> Result<Vec<AccessPoint<'_>>, Error>

source§

fn active_access_point(&self) -> Result<AccessPoint<'_>, Error>

source§

fn wireless_capabilities(&self) -> Result<u32, Error>

source§

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.