pub enum ExprFailureCode {
IntOverflow,
NanOrInf,
ModZero,
PrecisionLoss,
TypeMismatch,
NullRef,
MissingProp,
UnknownBinding,
UnknownOp,
InvalidNode,
InvalidLiteral,
}Expand description
Expression failure codes (PROTOCOL §3.1).
Variants§
IntOverflow
NanOrInf
ModZero
PrecisionLoss
TypeMismatch
NullRef
MissingProp
UnknownBinding
UnknownOp
InvalidNode
InvalidLiteral
Implementations§
Trait Implementations§
Source§impl Clone for ExprFailureCode
impl Clone for ExprFailureCode
Source§fn clone(&self) -> ExprFailureCode
fn clone(&self) -> ExprFailureCode
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 ExprFailureCode
Source§impl Debug for ExprFailureCode
impl Debug for ExprFailureCode
impl Eq for ExprFailureCode
Source§impl PartialEq for ExprFailureCode
impl PartialEq for ExprFailureCode
Source§fn eq(&self, other: &ExprFailureCode) -> bool
fn eq(&self, other: &ExprFailureCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExprFailureCode
Auto Trait Implementations§
impl Freeze for ExprFailureCode
impl RefUnwindSafe for ExprFailureCode
impl Send for ExprFailureCode
impl Sync for ExprFailureCode
impl Unpin for ExprFailureCode
impl UnsafeUnpin for ExprFailureCode
impl UnwindSafe for ExprFailureCode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.