Enum slk581::SLK581Error [] [src]

pub enum SLK581Error<'a> {
    InvalidDateOfBirth,
    UnknownDateOfBirth,
    UnsupportedSex(&'a str),
}

Variants

InvalidDateOfBirthUnknownDateOfBirthUnsupportedSex(&'a str)

Trait Implementations

impl<'a> Debug for SLK581Error<'a>
[src]

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

Formats the value using the given formatter.

impl<'a> PartialEq for SLK581Error<'a>
[src]

fn eq(&self, __arg_0: &SLK581Error<'a>) -> bool

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

fn ne(&self, __arg_0: &SLK581Error<'a>) -> bool

This method tests for !=.

impl<'a> Display for SLK581Error<'a>
[src]

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

Formats the value using the given formatter.

impl<'a> Error for SLK581Error<'a>
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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