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<&str, 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>;
}