Enum isbn::IsbnError
[−]
[src]
pub enum IsbnError { InvalidLength, InvalidDigit, }
An error which can be returned when parsing an ISBN.
Variants
InvalidLength
The given string is too short or too long to be an ISBN.
InvalidDigit
Encountered an invalid digit while parsing.
Trait Implementations
impl Debug for IsbnError
[src]
impl PartialEq for IsbnError
[src]
fn eq(&self, __arg_0: &IsbnError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl From<ParseIntError> for IsbnError
[src]
fn from(_: ParseIntError) -> Self
Performs the conversion.