pub enum OperandErr {
TooManyOperands,
NotEnoughOperand,
}Expand description
Used to specify an error related to wrong number of operands in expression.
Variants§
Trait Implementations§
Source§impl Debug for OperandErr
impl Debug for OperandErr
Source§impl PartialEq for OperandErr
impl PartialEq for OperandErr
Source§fn eq(&self, other: &OperandErr) -> bool
fn eq(&self, other: &OperandErr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperandErr
Auto Trait Implementations§
impl Freeze for OperandErr
impl RefUnwindSafe for OperandErr
impl Send for OperandErr
impl Sync for OperandErr
impl Unpin for OperandErr
impl UnsafeUnpin for OperandErr
impl UnwindSafe for OperandErr
Blanket Implementations§
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
Source§impl<T, U> TryIntoRef<U> for Twhere
U: TryFromRef<T>,
impl<T, U> TryIntoRef<U> for Twhere
U: TryFromRef<T>,
Source§type Err = <U as TryFromRef<T>>::Err
type Err = <U as TryFromRef<T>>::Err
The type returned in the event of a conversion error.
Source§fn try_into_ref(&self) -> Result<U, <U as TryFromRef<T>>::Err>
fn try_into_ref(&self) -> Result<U, <U as TryFromRef<T>>::Err>
Performs the conversion.