pub trait ApAdvertisement {
// Required methods
fn mode(&self) -> ApAdvertisementMode;
fn channel(&self) -> &Channel;
fn bssid(&self) -> &Bssid;
fn ssid(&self) -> &Ssid;
fn protection(&self) -> &Protection;
fn rssi_dbm(&self) -> i8;
fn wsc_ie(&self) -> Option<&Vec<u8>>;
// Provided methods
fn beacon_interval(&self) -> TimeUnit { ... }
fn capabilities(&self) -> CapabilityInfo { ... }
fn send(&self, phy: &WlantapPhyProxy) -> Result<(), Error> { ... }
fn generate_frame(&self) -> Result<Vec<u8>, Error> { ... }
}Required Methods§
fn mode(&self) -> ApAdvertisementMode
fn channel(&self) -> &Channel
fn bssid(&self) -> &Bssid
fn ssid(&self) -> &Ssid
fn protection(&self) -> &Protection
fn rssi_dbm(&self) -> i8
fn wsc_ie(&self) -> Option<&Vec<u8>>
Provided Methods§
fn beacon_interval(&self) -> TimeUnit
fn capabilities(&self) -> CapabilityInfo
fn send(&self, phy: &WlantapPhyProxy) -> Result<(), Error>
fn generate_frame(&self) -> Result<Vec<u8>, Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".