Enum rust_version::ParseChannelError
[−]
[src]
pub enum ParseChannelError<'a> { Format(&'a [u8]), Number(&'a [u8]), Overflow(&'a [u8]), }
Error encountered when parsing a Channel
.
Variants
Format(&'a [u8])
The string wasn't "stable"
, "beta"
or "beta.N"
, or "nightly"
.
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 ParseChannelError<'a>
[src]
fn clone(&self) -> ParseChannelError<'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 ParseChannelError<'a>
[src]
impl<'a> Eq for ParseChannelError<'a>
[src]
impl<'a> PartialEq for ParseChannelError<'a>
[src]
fn eq(&self, __arg_0: &ParseChannelError<'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: &ParseChannelError<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Hash for ParseChannelError<'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> From<ParseBetaError<'a>> for ParseChannelError<'a>
[src]
fn from(err: ParseBetaError<'a>) -> ParseChannelError<'a>
[src]
Performs the conversion.
impl<'a> Debug for ParseChannelError<'a>
[src]
impl<'a> Display for ParseChannelError<'a>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more