Enum agnes::error::ParseError
[−]
[src]
pub enum ParseError { Int(ParseIntError), Bool(ParseBoolError), Float(ParseFloatError), }
Error parsing data type from string.
Variants
Int(ParseIntError)
Integer
Bool(ParseBoolError)
Boolean
Float(ParseFloatError)
Floating-point
Trait Implementations
impl Debug for ParseError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for ParseError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for ParseError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<ParseIntError> for ParseError
[src]
fn from(err: ParseIntError) -> ParseError
[src]
Performs the conversion.
impl From<ParseFloatError> for ParseError
[src]
fn from(err: ParseFloatError) -> ParseError
[src]
Performs the conversion.
impl From<ParseBoolError> for ParseError
[src]
fn from(err: ParseBoolError) -> ParseError
[src]
Performs the conversion.
impl From<ParseError> for AgnesError
[src]
fn from(err: ParseError) -> AgnesError
[src]
Performs the conversion.