[][src]Enum lenient_semver::ErrorKind

pub enum ErrorKind {
    MissingMajorNumber,
    MissingMinorNumber,
    MissingPatchNumber,
    MissingPreRelease,
    MissingBuild,
    MajorNotANumber,
    MinorNotANumber,
    PatchNotANumber,
    UnexpectedInput,
}

Possible errors that can happen. These don't include an information as those are covered by various error methods like Error::erroneous_input.

Variants

MissingMajorNumber

Expected to parse the major number part, but nothing was found

MissingMinorNumber

Expected to parse the minor number part, but nothing was found

MissingPatchNumber

Expected to parse the patch number part, but nothing was found

MissingPreRelease

Expected to parse the pre-release identifier part, but nothing was found

MissingBuild

Expected to parse the build identifier part, but nothing was found

MajorNotANumber

Trying to parse the major number part, but the input was not a number

MinorNotANumber

Trying to parse the minor number part, but the input was not a number

PatchNotANumber

Trying to parse the patch number part, but the input was not a number

UnexpectedInput

Found an unexpected input

Trait Implementations

impl Clone for ErrorKind[src]

impl Copy for ErrorKind[src]

impl Debug for ErrorKind[src]

impl Eq for ErrorKind[src]

impl PartialEq<ErrorKind> for ErrorKind[src]

impl StructuralEq for ErrorKind[src]

impl StructuralPartialEq for ErrorKind[src]

Auto Trait Implementations

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, 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.