Enum embedded_svc::wifi::SecondaryChannel
source · [−]#[repr(u8)]
pub enum SecondaryChannel {
None,
Above,
Below,
}
Variants
None
Above
Below
Trait Implementations
sourceimpl<O: Into<EnumSet<SecondaryChannel>>> BitAnd<O> for SecondaryChannel
impl<O: Into<EnumSet<SecondaryChannel>>> BitAnd<O> for SecondaryChannel
sourceimpl<O: Into<EnumSet<SecondaryChannel>>> BitOr<O> for SecondaryChannel
impl<O: Into<EnumSet<SecondaryChannel>>> BitOr<O> for SecondaryChannel
sourceimpl<O: Into<EnumSet<SecondaryChannel>>> BitXor<O> for SecondaryChannel
impl<O: Into<EnumSet<SecondaryChannel>>> BitXor<O> for SecondaryChannel
sourceimpl Clone for SecondaryChannel
impl Clone for SecondaryChannel
sourceimpl Debug for SecondaryChannel
impl Debug for SecondaryChannel
sourceimpl Default for SecondaryChannel
impl Default for SecondaryChannel
sourceimpl<'de> Deserialize<'de> for SecondaryChannel
impl<'de> Deserialize<'de> for SecondaryChannel
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 SecondaryChannel
impl Display for SecondaryChannel
sourceimpl EnumMessage for SecondaryChannel
impl EnumMessage for SecondaryChannel
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 SecondaryChannel
impl EnumSetTypePrivate for SecondaryChannel
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<SecondaryChannel>,
ser: S
) -> Result<S::Ok, S::Error>
fn serialize<S: Serializer>(
set: EnumSet<SecondaryChannel>,
ser: S
) -> Result<S::Ok, S::Error>
Serializes the EnumSet
. Read more
sourcefn deserialize<'de, D: Deserializer<'de>>(
de: D
) -> Result<EnumSet<SecondaryChannel>, D::Error>
fn deserialize<'de, D: Deserializer<'de>>(
de: D
) -> Result<EnumSet<SecondaryChannel>, D::Error>
Deserializes the EnumSet
.
sourceimpl FromStr for SecondaryChannel
impl FromStr for SecondaryChannel
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl IntoEnumIterator for SecondaryChannel
impl IntoEnumIterator for SecondaryChannel
type Iterator = SecondaryChannelIter
fn iter() -> SecondaryChannelIterⓘNotable traits for SecondaryChannelIterimpl Iterator for SecondaryChannelIter type Item = SecondaryChannel;
sourceimpl Not for SecondaryChannel
impl Not for SecondaryChannel
sourceimpl PartialEq<EnumSet<SecondaryChannel>> for SecondaryChannel
impl PartialEq<EnumSet<SecondaryChannel>> for SecondaryChannel
sourceimpl PartialEq<SecondaryChannel> for SecondaryChannel
impl PartialEq<SecondaryChannel> for SecondaryChannel
sourceimpl PartialOrd<SecondaryChannel> for SecondaryChannel
impl PartialOrd<SecondaryChannel> for SecondaryChannel
sourcefn partial_cmp(&self, other: &SecondaryChannel) -> Option<Ordering>
fn partial_cmp(&self, other: &SecondaryChannel) -> 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 SecondaryChannel
impl Serialize for SecondaryChannel
sourceimpl<O: Into<EnumSet<SecondaryChannel>>> Sub<O> for SecondaryChannel
impl<O: Into<EnumSet<SecondaryChannel>>> Sub<O> for SecondaryChannel
sourceimpl TryFrom<&'_ str> for SecondaryChannel
impl TryFrom<&'_ str> for SecondaryChannel
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourceimpl TryFrom<u8> for SecondaryChannel
impl TryFrom<u8> for SecondaryChannel
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 SecondaryChannel
impl TryFromPrimitive for SecondaryChannel
type Primitive = u8
const NAME: &'static str
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SecondaryChannel
impl EnumSetType for SecondaryChannel
impl Eq for SecondaryChannel
Auto Trait Implementations
impl RefUnwindSafe for SecondaryChannel
impl Send for SecondaryChannel
impl Sync for SecondaryChannel
impl Unpin for SecondaryChannel
impl UnwindSafe for SecondaryChannel
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