[][src]Enum eui48::ParseError

pub enum ParseError {
    InvalidLength(usize),
    InvalidByteCount(usizeEui48),
}

Parsing errors

Variants

InvalidLength(usize)

Length is incorrect (should be 11 to 17)

InvalidByteCount(usizeEui48)

The input string is invalid, usize bytes were found, and we put up to 6 bytes into Eui48

Trait Implementations

impl Clone for ParseError[src]

impl Copy for ParseError[src]

impl Debug for ParseError[src]

impl Display for ParseError[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Human readable error strings for ParseError enum

impl Eq for ParseError[src]

impl Error for ParseError[src]

fn description(&self) -> &str[src]

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

Human readable description for ParseError enum

impl Hash for ParseError[src]

impl Ord for ParseError[src]

impl PartialEq<ParseError> for ParseError[src]

impl PartialOrd<ParseError> for ParseError[src]

impl StructuralEq for ParseError[src]

impl StructuralPartialEq for ParseError[src]

Auto Trait Implementations

impl RefUnwindSafe for ParseError

impl Send for ParseError

impl Sync for ParseError

impl Unpin for ParseError

impl UnwindSafe for ParseError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.