pub enum EvalPolishError {
IncompleteExpression,
ExtraOperands,
MissingOperands,
}Variants§
Trait Implementations§
Source§impl Clone for EvalPolishError
impl Clone for EvalPolishError
Source§fn clone(&self) -> EvalPolishError
fn clone(&self) -> EvalPolishError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EvalPolishError
Source§impl Debug for EvalPolishError
impl Debug for EvalPolishError
Source§impl Display for EvalPolishError
impl Display for EvalPolishError
impl Eq for EvalPolishError
Source§impl Error for EvalPolishError
impl Error for EvalPolishError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl ErrorCompat for EvalPolishError
impl ErrorCompat for EvalPolishError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreSource§impl PartialEq for EvalPolishError
impl PartialEq for EvalPolishError
Source§fn eq(&self, other: &EvalPolishError) -> bool
fn eq(&self, other: &EvalPolishError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EvalPolishError
Auto Trait Implementations§
impl Freeze for EvalPolishError
impl RefUnwindSafe for EvalPolishError
impl Send for EvalPolishError
impl Sync for EvalPolishError
impl Unpin for EvalPolishError
impl UnsafeUnpin for EvalPolishError
impl UnwindSafe for EvalPolishError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more