Enum eui48::ParseError [] [src]

pub enum ParseError {
    InvalidLength(usize),
    InvalidCharacter(charusize),
}

Parsing errors

Variants

InvalidLength(usize)

Length is incorrect (should be 14 or 17)

InvalidCharacter(charusize)

Character not [0-9a-fA-F]|'x'|'-'|':'|'.'

Trait Implementations

impl Debug for ParseError
[src]

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

Formats the value using the given formatter.

impl Clone for ParseError
[src]

fn clone(&self) -> ParseError

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for ParseError
[src]

impl Eq for ParseError
[src]

impl PartialEq for ParseError
[src]

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

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

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

This method tests for !=.

impl Display for ParseError
[src]

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

Human readable error strings for ParseError enum

impl Error for ParseError
[src]

fn description(&self) -> &str

Human readable description for ParseError enum

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more