Struct WiFiDevice

Source
pub struct WiFiDevice { /* private fields */ }

Trait Implementations§

Source§

impl Any for WiFiDevice

Source§

fn reapply( &self, connection: HashMap<&'_ str, HashMap<String, 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 Clone for WiFiDevice

Source§

fn clone(&self) -> WiFiDevice

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WiFiDevice

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Wireless for WiFiDevice

Auto Trait Implementations§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

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>,

Source§

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.