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 Debug for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
[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 PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
[src]
This method tests for !=
.
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<ParseError> for Error
[src]
fn from(err: ParseError) -> Error
[src]
Performs the conversion.