Enum embedded_svc::wifi::ScanMethod
source · #[non_exhaustive]pub enum ScanMethod {
CompleteScan(ScanSortMethod),
FastScan,
}
Expand description
The scan method to use when connecting to an AP
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CompleteScan(ScanSortMethod)
Scan every channel and connect according to ScanSortMethod (default)
FastScan
Connect to the first found AP and stop scanning
Trait Implementations§
source§impl Clone for ScanMethod
impl Clone for ScanMethod
source§fn clone(&self) -> ScanMethod
fn clone(&self) -> ScanMethod
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScanMethod
impl Debug for ScanMethod
source§impl Default for ScanMethod
impl Default for ScanMethod
source§impl PartialEq for ScanMethod
impl PartialEq for ScanMethod
impl Eq for ScanMethod
impl StructuralPartialEq for ScanMethod
Auto Trait Implementations§
impl Freeze for ScanMethod
impl RefUnwindSafe for ScanMethod
impl Send for ScanMethod
impl Sync for ScanMethod
impl Unpin for ScanMethod
impl UnwindSafe for ScanMethod
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,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)