Enum pnet_datalink::ParseMacAddrErr [−][src]
pub enum ParseMacAddrErr {
TooManyComponents,
TooFewComponents,
InvalidComponent,
}
Expand description
Represents an error which occurred whilst parsing a MAC address.
Variants
TooManyComponents
The MAC address has too many components, eg. 00:11:22:33:44:55:66.
TooFewComponents
The MAC address has too few components, eg. 00:11.
InvalidComponent
One of the components contains an invalid value, eg. 00:GG:22:33:44:55.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParseMacAddrErr
impl Send for ParseMacAddrErr
impl Sync for ParseMacAddrErr
impl Unpin for ParseMacAddrErr
impl UnwindSafe for ParseMacAddrErr
Blanket Implementations
Mutably borrows from an owned value. Read more