#[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 duplicate of the value. Read more
1.0.0 · Source§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<'de> Deserialize<'de> for ScanMethod
impl<'de> Deserialize<'de> for ScanMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ScanMethod
impl Display for ScanMethod
Source§impl EnumMessage for ScanMethod
impl EnumMessage for ScanMethod
fn get_message(&self) -> Option<&'static str>
fn get_detailed_message(&self) -> Option<&'static str>
Source§fn get_documentation(&self) -> Option<&'static str>
fn get_documentation(&self) -> Option<&'static str>
Get the doc comment associated with a variant if it exists.
fn get_serializations(&self) -> &'static [&'static str]
Source§impl FromStr for ScanMethod
impl FromStr for ScanMethod
Source§impl IntoEnumIterator for ScanMethod
impl IntoEnumIterator for ScanMethod
type Iterator = ScanMethodIter
fn iter() -> ScanMethodIter ⓘ
Source§impl PartialEq for ScanMethod
impl PartialEq for ScanMethod
Source§impl Serialize for ScanMethod
impl Serialize for ScanMethod
Source§impl TryFrom<&str> for ScanMethod
impl TryFrom<&str> for ScanMethod
Source§impl VariantNames for ScanMethod
impl VariantNames 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 UnsafeUnpin for ScanMethod
impl UnwindSafe for ScanMethod
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