wlan_hw_sim

Trait ApAdvertisement

Source
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§

Source

fn mode(&self) -> ApAdvertisementMode

Source

fn channel(&self) -> &Channel

Source

fn bssid(&self) -> &Bssid

Source

fn ssid(&self) -> &Ssid

Source

fn protection(&self) -> &Protection

Source

fn rssi_dbm(&self) -> i8

Source

fn wsc_ie(&self) -> Option<&Vec<u8>>

Provided Methods§

Implementors§