Enum pnet_datalink::ParseMacAddrErr
[−]
[src]
pub enum ParseMacAddrErr { TooManyComponents, TooFewComponents, InvalidComponent, }
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
impl Copy for ParseMacAddrErr
[src]
impl Clone for ParseMacAddrErr
[src]
fn clone(&self) -> ParseMacAddrErr
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for ParseMacAddrErr
[src]
impl PartialEq<ParseMacAddrErr> for ParseMacAddrErr
[src]
fn eq(&self, __arg_0: &ParseMacAddrErr) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.