Enum embedded_svc::wifi::AuthMethod
source · #[repr(u8)]
pub enum AuthMethod {
None,
WEP,
WPA,
WPA2Personal,
WPAWPA2Personal,
WPA2Enterprise,
WPA3Personal,
WPA2WPA3Personal,
WAPIPersonal,
}Variants§
None
WEP
WPA
WPA2Personal
WPAWPA2Personal
WPA2Enterprise
WPA3Personal
WPA2WPA3Personal
WAPIPersonal
Implementations§
source§impl AuthMethod
impl AuthMethod
pub const fn from_repr(discriminant: u8) -> Option<AuthMethod>
Trait Implementations§
source§impl<O: Into<EnumSet<AuthMethod>>> BitAnd<O> for AuthMethod
impl<O: Into<EnumSet<AuthMethod>>> BitAnd<O> for AuthMethod
source§impl<O: Into<EnumSet<AuthMethod>>> BitOr<O> for AuthMethod
impl<O: Into<EnumSet<AuthMethod>>> BitOr<O> for AuthMethod
source§impl<O: Into<EnumSet<AuthMethod>>> BitXor<O> for AuthMethod
impl<O: Into<EnumSet<AuthMethod>>> BitXor<O> for AuthMethod
source§impl Clone for AuthMethod
impl Clone for AuthMethod
source§impl Debug for AuthMethod
impl Debug for AuthMethod
source§impl Default for AuthMethod
impl Default for AuthMethod
source§impl<'de> Deserialize<'de> for AuthMethod
impl<'de> Deserialize<'de> for AuthMethod
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 AuthMethod
impl Display for AuthMethod
source§impl EnumMessage for AuthMethod
impl EnumMessage for AuthMethod
fn get_message(&self) -> Option<&'static str>
fn get_detailed_message(&self) -> Option<&'static str>
fn get_serializations(&self) -> &'static [&'static str]
source§impl EnumSetTypePrivate for AuthMethod
impl EnumSetTypePrivate for AuthMethod
source§const ALL_BITS: Self::Repr = {transmute(0x01ff): <wifi::AuthMethod as enumset::__internal::EnumSetTypePrivate>::Repr}
const ALL_BITS: Self::Repr = {transmute(0x01ff): <wifi::AuthMethod as enumset::__internal::EnumSetTypePrivate>::Repr}
A mask of bits that are valid in the bitset.
source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
source§fn serialize<S: Serializer>(
set: EnumSet<AuthMethod>,
ser: S
) -> Result<S::Ok, S::Error>
fn serialize<S: Serializer>(
set: EnumSet<AuthMethod>,
ser: S
) -> Result<S::Ok, S::Error>
Serializes the
EnumSet. Read moresource§fn deserialize<'de, D: Deserializer<'de>>(
de: D
) -> Result<EnumSet<AuthMethod>, D::Error>
fn deserialize<'de, D: Deserializer<'de>>(
de: D
) -> Result<EnumSet<AuthMethod>, D::Error>
Deserializes the
EnumSet.source§impl FromStr for AuthMethod
impl FromStr for AuthMethod
source§impl IntoEnumIterator for AuthMethod
impl IntoEnumIterator for AuthMethod
type Iterator = AuthMethodIter
fn iter() -> AuthMethodIter ⓘ
source§impl Not for AuthMethod
impl Not for AuthMethod
source§impl PartialEq<AuthMethod> for AuthMethod
impl PartialEq<AuthMethod> for AuthMethod
source§impl PartialEq<EnumSet<AuthMethod>> for AuthMethod
impl PartialEq<EnumSet<AuthMethod>> for AuthMethod
source§impl PartialOrd<AuthMethod> for AuthMethod
impl PartialOrd<AuthMethod> for AuthMethod
source§fn partial_cmp(&self, other: &AuthMethod) -> Option<Ordering>
fn partial_cmp(&self, other: &AuthMethod) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for AuthMethod
impl Serialize for AuthMethod
source§impl<O: Into<EnumSet<AuthMethod>>> Sub<O> for AuthMethod
impl<O: Into<EnumSet<AuthMethod>>> Sub<O> for AuthMethod
source§impl TryFrom<&str> for AuthMethod
impl TryFrom<&str> for AuthMethod
source§impl TryFrom<u8> for AuthMethod
impl TryFrom<u8> for AuthMethod
§type Error = TryFromPrimitiveError<AuthMethod>
type Error = TryFromPrimitiveError<AuthMethod>
The type returned in the event of a conversion error.