pub struct BssInfo {
pub bssid: MacAddress,
pub ssid: Vec<u8>,
pub channel: u8,
pub beacon_interval: u16,
pub capability: u16,
pub signal_strength: i8,
pub security_type: SecurityType,
}Expand description
BSS (Basic Service Set) information from scan results
Fields§
§bssid: MacAddressBSSID (AP MAC address)
ssid: Vec<u8>SSID (network name, up to 32 bytes)
channel: u8Channel number (1-14 for 2.4GHz, 36-165 for 5GHz)
beacon_interval: u16Beacon interval in TUs (1 TU = 1024 microseconds)
capability: u16Capability information
signal_strength: i8Signal strength in dBm (integer, typically -90 to -20)
security_type: SecurityTypeSecurity type detected from IEs
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BssInfo
impl RefUnwindSafe for BssInfo
impl Send for BssInfo
impl Sync for BssInfo
impl Unpin for BssInfo
impl UnwindSafe for BssInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)