Enum meval::Error
[−]
[src]
pub enum Error { UnknownVariable(String), Function(String, FuncEvalError), ParseError(ParseError), RPNError(RPNError), }
An error produced during parsing or evaluation.
Variants
UnknownVariable(String)
Function(String, FuncEvalError)
ParseError(ParseError)
An error returned by the parser.
RPNError(RPNError)
The shunting-yard algorithm returned an error.
Trait Implementations
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.
impl Clone for Error
[src]
fn clone(&self) -> Error
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
impl Debug for Error
[src]
impl Display for Error
[src]
impl From<ParseError> for Error
[src]
fn from(err: ParseError) -> Error
Performs the conversion.