Enum isbn2::IsbnError [−][src]
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.
Encountered an invalid ISBN registration group.
Encountered a range not defined for use at this time.
Failed to validate checksum.
Failed to convert to ISBN10.
One or supplied more digits were too large.
Trait Implementations
impl Debug for IsbnError
[src]
impl Display for IsbnError
[src]
impl From<CapacityError<u8>> for IsbnError
[src]
fn from(_: CapacityError<u8>) -> Self
[src]
impl From<ParseIntError> for IsbnError
[src]
fn from(_: ParseIntError) -> Self
[src]
impl PartialEq<IsbnError> for IsbnError
[src]
fn eq(&self, other: &IsbnError) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for IsbnError
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,