Enum pnet_datalink::ParseMacAddrErr [] [src]

pub enum ParseMacAddrErr {
    TooManyComponents,
    TooFewComponents,
    InvalidComponent,
}

Represents an error which occurred whilst parsing a MAC address

Variants

The MAC address has too many components, eg. 00:11:22:33:44:55:66

The MAC address has too few components, eg. 00:11

One of the components contains an invalid value, eg. 00:GG:22:33:44:55

Trait Implementations

impl Clone for ParseMacAddrErr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ParseMacAddrErr
[src]

impl PartialEq<ParseMacAddrErr> for ParseMacAddrErr
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Debug for ParseMacAddrErr
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for ParseMacAddrErr
[src]

Auto Trait Implementations