Enum smoltcp::wire::ieee802154::AddressingMode
source · pub enum AddressingMode {
Absent,
Short,
Extended,
Unknown(u8),
}
Expand description
IEEE 802.15.4 addressing mode for destination and source addresses.
Variants§
Trait Implementations§
source§impl Clone for AddressingMode
impl Clone for AddressingMode
source§fn clone(&self) -> AddressingMode
fn clone(&self) -> AddressingMode
Returns a copy 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 AddressingMode
impl Debug for AddressingMode
source§impl Display for AddressingMode
impl Display for AddressingMode
source§impl From<AddressingMode> for u8
impl From<AddressingMode> for u8
source§fn from(value: AddressingMode) -> Self
fn from(value: AddressingMode) -> Self
Converts to this type from the input type.
source§impl From<u8> for AddressingMode
impl From<u8> for AddressingMode
source§impl Ord for AddressingMode
impl Ord for AddressingMode
source§fn cmp(&self, other: &AddressingMode) -> Ordering
fn cmp(&self, other: &AddressingMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AddressingMode> for AddressingMode
impl PartialEq<AddressingMode> for AddressingMode
source§fn eq(&self, other: &AddressingMode) -> bool
fn eq(&self, other: &AddressingMode) -> bool
source§impl PartialOrd<AddressingMode> for AddressingMode
impl PartialOrd<AddressingMode> for AddressingMode
source§fn partial_cmp(&self, other: &AddressingMode) -> Option<Ordering>
fn partial_cmp(&self, other: &AddressingMode) -> 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 more