Enum meval::shunting_yard::RPNError [] [src]

pub enum RPNError {
    MismatchedLParen(usize),
    MismatchedRParen(usize),
    UnexpectedComma(usize),
    NotEnoughOperands(usize),
    TooManyOperands,
}

An error produced by the shunting-yard algorightm.

Variants

An extra left parenthesis was found.

An extra right parenthesis was found.

Comma that is not separating function arguments.

Too few operands for some operator.

Too many operands reported.

Trait Implementations

impl Debug for RPNError
[src]

Formats the value using the given formatter.

impl Clone for RPNError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for RPNError
[src]

impl PartialEq for RPNError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for RPNError
[src]

impl Display for RPNError
[src]

Formats the value using the given formatter.

impl Error for RPNError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more