Enum rust_version::ParseReleaseError [] [src]

pub enum ParseReleaseError<'a> {
    Format(&'a [u8]),
    Number(&'a [u8]),
    Overflow(&'a [u8]),
    Before1 {
        minor: u16,
        patch: u16,
    },
}

Error encountered when parsing a Release.

Variants

The string wasn't in the format "major.minor.patch".

The given number was not valid.

The given number was too large fit in a u16.

The given release occurred before Rust 1.0.0.

Fields of Before1

Trait Implementations

impl<'a> Clone for ParseReleaseError<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Copy for ParseReleaseError<'a>
[src]

impl<'a> Eq for ParseReleaseError<'a>
[src]

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

[src]

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

[src]

This method tests for !=.

impl<'a> Hash for ParseReleaseError<'a>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

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

[src]

Formats the value using the given formatter.

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

[src]

Formats the value using the given formatter. Read more

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

[src]

A short description of the error. Read more

1.0.0
[src]

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