Enum isbn::IsbnError [] [src]

pub enum IsbnError {
    InvalidLength,
    InvalidDigit,
}

An error which can be returned when parsing an ISBN.

Variants

The given string is too short or too long to be an ISBN.

Encountered an invalid digit while parsing.

Trait Implementations

impl Debug for IsbnError
[src]

Formats the value using the given formatter.

impl PartialEq for IsbnError
[src]

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

This method tests for !=.

impl From<ParseIntError> for IsbnError
[src]

Performs the conversion.