Enum symbolic_expressions::SexpError
[−]
[src]
pub enum SexpError { Parse(ParseError), Other(String), Io(Error), FromUtf8(FromUtf8Error), Float(ParseFloatError), Int(ParseIntError), }
errors that can happen in this library
Variants
Parse(ParseError)
parse error
Other(String)
other error
Io(Error)
IO Error
FromUtf8(FromUtf8Error)
Utf8 Error parsing error
Float(ParseFloatError)
floating point parsing error
Int(ParseIntError)
integer parsing error
Trait Implementations
impl Debug for SexpError
[src]
impl Display for SexpError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Error for SexpError
[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<Error> for SexpError
[src]
impl From<String> for SexpError
[src]
impl<'a> From<&'a str> for SexpError
[src]
impl From<FromUtf8Error> for SexpError
[src]
fn from(e: FromUtf8Error) -> SexpError
[src]
Performs the conversion.
impl From<ParseFloatError> for SexpError
[src]
fn from(e: ParseFloatError) -> SexpError
[src]
Performs the conversion.
impl From<ParseIntError> for SexpError
[src]
fn from(e: ParseIntError) -> SexpError
[src]
Performs the conversion.