Struct smoltcp::wire::EthernetAddress [−][src]
Expand description
A six-octet Ethernet II address.
Tuple Fields
0: [u8; 6]
Implementations
Construct an Ethernet address from a sequence of octets, in big-endian.
Panics
The function panics if data
is not six octets long.
Return an Ethernet address as a sequence of octets, in big-endian.
Query whether the address is an unicast address.
Query whether this address is the broadcast address.
Query whether the “multicast” bit in the OUI is set.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Address
impl UnwindSafe for Address
Blanket Implementations
Mutably borrows from an owned value. Read more