Enum pnet::util::ParseMacAddrErr []

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

Derived Implementations

impl Clone for ParseMacAddrErr

fn clone(&self) -> ParseMacAddrErr

fn clone_from(&mut self, source: &Self)

impl Eq for ParseMacAddrErr

impl PartialEq for ParseMacAddrErr

fn eq(&self, __arg_0: &ParseMacAddrErr) -> bool

fn ne(&self, __arg_0: &ParseMacAddrErr) -> bool

impl Debug for ParseMacAddrErr

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for ParseMacAddrErr