pub enum NativeLowerError {
UnsupportedRoot {
root: Root,
},
MissingRootExpr {
index: usize,
},
UnsupportedExpr {
kind: &'static str,
},
UnsupportedPattern {
kind: &'static str,
},
UnsupportedBinding {
path: Path,
reason: &'static str,
},
PrimitiveArityMismatch {
op: PrimitiveOp,
expected: usize,
actual: usize,
},
CallArityMismatch {
target: String,
expected: usize,
actual: usize,
},
}Variants§
UnsupportedRoot
MissingRootExpr
UnsupportedExpr
UnsupportedPattern
UnsupportedBinding
PrimitiveArityMismatch
CallArityMismatch
Trait Implementations§
Source§impl Clone for NativeLowerError
impl Clone for NativeLowerError
Source§fn clone(&self) -> NativeLowerError
fn clone(&self) -> NativeLowerError
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 moreSource§impl Debug for NativeLowerError
impl Debug for NativeLowerError
Source§impl Display for NativeLowerError
impl Display for NativeLowerError
Source§impl Error for NativeLowerError
impl Error for NativeLowerError
1.30.0 · 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 From<NativeLowerError> for NativeCompareError
impl From<NativeLowerError> for NativeCompareError
Source§fn from(value: NativeLowerError) -> Self
fn from(value: NativeLowerError) -> Self
Converts to this type from the input type.
Source§impl From<NativeLowerError> for NativeSourceCompareError
impl From<NativeLowerError> for NativeSourceCompareError
Source§fn from(error: NativeLowerError) -> Self
fn from(error: NativeLowerError) -> Self
Converts to this type from the input type.
Source§impl From<NativeLowerError> for NativeValueCompareError
impl From<NativeLowerError> for NativeValueCompareError
Source§fn from(error: NativeLowerError) -> Self
fn from(error: NativeLowerError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NativeLowerError
impl PartialEq for NativeLowerError
Source§fn eq(&self, other: &NativeLowerError) -> bool
fn eq(&self, other: &NativeLowerError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NativeLowerError
impl StructuralPartialEq for NativeLowerError
Auto Trait Implementations§
impl Freeze for NativeLowerError
impl RefUnwindSafe for NativeLowerError
impl Send for NativeLowerError
impl Sync for NativeLowerError
impl Unpin for NativeLowerError
impl UnsafeUnpin for NativeLowerError
impl UnwindSafe for NativeLowerError
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.