pub trait Wireless {
// Required methods
fn get_access_points(&self) -> Result<Vec<AccessPoint>, Error>;
fn get_all_access_points(&self) -> Result<Vec<AccessPoint>, Error>;
fn request_scan(
&self,
options: HashMap<String, Variant<Box<dyn RefArg>>>,
) -> Result<(), 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>;
}Required Methods§
fn get_access_points(&self) -> Result<Vec<AccessPoint>, Error>
fn get_all_access_points(&self) -> Result<Vec<AccessPoint>, Error>
fn request_scan( &self, options: HashMap<String, Variant<Box<dyn RefArg>>>, ) -> Result<(), 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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".