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
Format(&'a [u8])
The string wasn't "beta"
or "beta.N"
.
Number(&'a [u8])
The number in "beta.N"
could not be parsed as a positive number.
Overflow(&'a [u8])
The number in "beta.N"
was too large.
Trait Implementations
impl<'a> Clone for ParseBetaError<'a>
[src]
fn clone(&self) -> ParseBetaError<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
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]
fn eq(&self, __arg_0: &ParseBetaError<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseBetaError<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Hash for ParseBetaError<'a>
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'a> Debug for ParseBetaError<'a>
[src]
impl<'a> Display for ParseBetaError<'a>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more