pub enum ScanType {
Active,
Passive,
}
Expand description
WiFi scan type.
Variants§
Active
Active scan: the station actively transmits probes that make APs respond. Faster, but uses more power.
Passive
Passive scan: the station doesn’t transmit any probes, just listens for beacons. Slower, but uses less power.
Trait Implementations§
impl Copy for ScanType
Auto Trait Implementations§
impl Freeze for ScanType
impl RefUnwindSafe for ScanType
impl Send for ScanType
impl Sync for ScanType
impl Unpin for ScanType
impl UnwindSafe for ScanType
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