[][src]Crate macaddr

This crate provides types for a MAC address identifiers, both in IEEE EUI-48 and EUI-64 formats.

You can think about it as the std::net::SocketAddr enum, but for MAC addresses instead.

It is intended to be as small and reusable as possible, so it can be used by other crates easily, providing the unified and neat interface.

Serde support

Serde support can be enabled with a "serde_std" feature (disabled by default) if used in std-enabled builds.

This feature is called like this because of this Cargo bug.
"serde" feature is exists also, but it is intended to be used in the no_std builds.

No-std support

This crate can be used in a no_std builds with disabled "std" feature (enabled by default).

Enabled "serde" feature will add support for no_std serde serialization and deserialization.

Structs

MacAddr6

MAC address in EUI-48 format.

MacAddr8

MAC address in EUI-64 format.

Enums

MacAddr

A MAC address, either in EUI-48 or EUI-64 format.

ParseError

An error which can be returned when parsing MAC address.