Enum parse_duration::ParseError
[−]
[src]
pub enum ParseError { ParseIntError(String), UnknownUnitError(String), OutOfBoundsError(BigInt), NoUnitFoundError(String), NoValueFoundError(String), }
An enumeration of the possible errors while parsing.
Variants
ParseIntError(String)
A string failed to be parsed as an integer.
UnknownUnitError(String)
An unrecognized unit was found.
OutOfBoundsError(BigInt)
A BigInt was too big to be converted into a u64 or was negative.
NoUnitFoundError(String)
A value without a unit was found.
NoValueFoundError(String)
No Value at all was found.
Trait Implementations
impl Debug for ParseError
[src]
impl PartialEq for ParseError
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
This method tests for !=
.
impl Eq for ParseError
[src]
impl Clone for ParseError
[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more