pub struct ScanConfig {
pub ssid: Vec<u8, 33>,
pub bssid: Vec<u8, 6>,
pub channel: u32,
pub show_hidden: bool,
pub scan_type: i32,
pub scan_time: ScanTime,
pub home_chan_dwell_time: u32,
}
Fields§
§ssid: Vec<u8, 33>
Can limit to a specific SSID or MAC. Empty means no filter.
bssid: Vec<u8, 6>
§channel: u32
0 means no filter.
scan_type: i32
0 means active. 1 is passive. 2 is follow.
scan_time: ScanTime
§home_chan_dwell_time: u32
Implementations§
Trait Implementations§
Source§impl Default for ScanConfig
impl Default for ScanConfig
Source§fn default() -> ScanConfig
fn default() -> ScanConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScanConfig
impl RefUnwindSafe for ScanConfig
impl Send for ScanConfig
impl Sync for ScanConfig
impl Unpin for ScanConfig
impl UnwindSafe for ScanConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more