Enum rust_version::ParseBetaError [] [src]

pub enum ParseBetaError<'a> {
    Format(&'a [u8]),
    Number(&'a [u8]),
    Overflow(&'a [u8]),
}

Error encountered when parsing a BetaNum.

Variants

The string wasn't "beta" or "beta.N".

The number in "beta.N" could not be parsed as a positive number.

The number in "beta.N" was too large.

Trait Implementations

impl<'a> Clone for ParseBetaError<'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 ParseBetaError<'a>
[src]

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

impl<'a> PartialEq for ParseBetaError<'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 ParseBetaError<'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 ParseBetaError<'a>
[src]

[src]

Formats the value using the given formatter.

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

[src]

Formats the value using the given formatter. Read more

impl<'a> Error for ParseBetaError<'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