pub enum NativeCompareError {
Lower(NativeLowerError),
Eval(NativeEvalError),
Abi(NativeAbiEvalError),
Vm(VmError),
ResidualRequest {
index: usize,
request: VmRequest,
},
RootCountMismatch {
vm: usize,
native: usize,
abi: usize,
},
ValueMismatch {
index: usize,
vm: VmValue,
native: VmValue,
},
AbiValueMismatch {
index: usize,
vm: VmValue,
abi: VmValue,
},
}Variants§
Lower(NativeLowerError)
Eval(NativeEvalError)
Abi(NativeAbiEvalError)
Vm(VmError)
ResidualRequest
RootCountMismatch
ValueMismatch
AbiValueMismatch
Trait Implementations§
Source§impl Clone for NativeCompareError
impl Clone for NativeCompareError
Source§fn clone(&self) -> NativeCompareError
fn clone(&self) -> NativeCompareError
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 NativeCompareError
impl Debug for NativeCompareError
Source§impl Display for NativeCompareError
impl Display for NativeCompareError
Source§impl Error for NativeCompareError
impl Error for NativeCompareError
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<NativeAbiEvalError> for NativeCompareError
impl From<NativeAbiEvalError> for NativeCompareError
Source§fn from(value: NativeAbiEvalError) -> Self
fn from(value: NativeAbiEvalError) -> Self
Converts to this type from the input type.
Source§impl From<NativeEvalError> for NativeCompareError
impl From<NativeEvalError> for NativeCompareError
Source§fn from(value: NativeEvalError) -> Self
fn from(value: NativeEvalError) -> Self
Converts to this type from the input type.
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<VmError> for NativeCompareError
impl From<VmError> for NativeCompareError
Source§impl PartialEq for NativeCompareError
impl PartialEq for NativeCompareError
Source§fn eq(&self, other: &NativeCompareError) -> bool
fn eq(&self, other: &NativeCompareError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NativeCompareError
Auto Trait Implementations§
impl Freeze for NativeCompareError
impl RefUnwindSafe for NativeCompareError
impl !Send for NativeCompareError
impl !Sync for NativeCompareError
impl Unpin for NativeCompareError
impl UnsafeUnpin for NativeCompareError
impl UnwindSafe for NativeCompareError
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