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
Trait Implementations
sourceimpl<O: Into<EnumSet<AuthMethod>>> BitAnd<O> for AuthMethod
impl<O: Into<EnumSet<AuthMethod>>> BitAnd<O> for AuthMethod
sourceimpl<O: Into<EnumSet<AuthMethod>>> BitOr<O> for AuthMethod
impl<O: Into<EnumSet<AuthMethod>>> BitOr<O> for AuthMethod
sourceimpl<O: Into<EnumSet<AuthMethod>>> BitXor<O> for AuthMethod
impl<O: Into<EnumSet<AuthMethod>>> BitXor<O> for AuthMethod
sourceimpl Clone for AuthMethod
impl Clone for AuthMethod
sourceimpl Debug for AuthMethod
impl Debug for AuthMethod
sourceimpl Default for AuthMethod
impl Default for AuthMethod
sourceimpl<'de> Deserialize<'de> for AuthMethod
impl<'de> Deserialize<'de> for AuthMethod
sourcefn 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
sourceimpl Display for AuthMethod
impl Display for AuthMethod
sourceimpl 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]
sourceimpl EnumSetTypePrivate for AuthMethod
impl EnumSetTypePrivate for AuthMethod
sourcefn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
sourceunsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
sourcefn 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 more
sourcefn 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
.
sourceimpl FromStr for AuthMethod
impl FromStr for AuthMethod
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl IntoEnumIterator for AuthMethod
impl IntoEnumIterator for AuthMethod
type Iterator = AuthMethodIter
fn iter() -> AuthMethodIterⓘNotable traits for AuthMethodIterimpl Iterator for AuthMethodIter type Item = AuthMethod;
sourceimpl Not for AuthMethod
impl Not for AuthMethod
sourceimpl PartialEq<AuthMethod> for AuthMethod
impl PartialEq<AuthMethod> for AuthMethod
sourceimpl PartialEq<EnumSet<AuthMethod>> for AuthMethod
impl PartialEq<EnumSet<AuthMethod>> for AuthMethod
sourceimpl PartialOrd<AuthMethod> for AuthMethod
impl PartialOrd<AuthMethod> for AuthMethod
sourcefn partial_cmp(&self, other: &AuthMethod) -> Option<Ordering>
fn partial_cmp(&self, other: &AuthMethod) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl Serialize for AuthMethod
impl Serialize for AuthMethod
sourceimpl<O: Into<EnumSet<AuthMethod>>> Sub<O> for AuthMethod
impl<O: Into<EnumSet<AuthMethod>>> Sub<O> for AuthMethod
sourceimpl TryFrom<&'_ str> for AuthMethod
impl TryFrom<&'_ str> for AuthMethod
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourceimpl TryFrom<u8> for AuthMethod
impl TryFrom<u8> for AuthMethod
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
sourcefn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for AuthMethod
impl TryFromPrimitive for AuthMethod
type Primitive = u8
const NAME: &'static str
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for AuthMethod
impl EnumSetType for AuthMethod
impl Eq for AuthMethod
Auto Trait Implementations
impl RefUnwindSafe for AuthMethod
impl Send for AuthMethod
impl Sync for AuthMethod
impl Unpin for AuthMethod
impl UnwindSafe for AuthMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more