pub enum NativeValueCompareError {
Lower(NativeLowerError),
Eval(NativeEvalError),
Abi(NativeAbiEvalError),
Vm(VmError),
Cranelift(NativeValueCraneliftError),
ResidualRequest {
index: usize,
request: VmRequest,
},
RootCountMismatch {
vm: usize,
native: usize,
abi: usize,
cranelift: usize,
},
NativeMismatch {
index: usize,
vm: VmValue,
native: VmValue,
},
AbiMismatch {
index: usize,
vm: VmValue,
abi: VmValue,
},
CraneliftMismatch {
index: usize,
vm: VmValue,
cranelift: VmValue,
},
}Variants§
Lower(NativeLowerError)
Eval(NativeEvalError)
Abi(NativeAbiEvalError)
Vm(VmError)
Cranelift(NativeValueCraneliftError)
ResidualRequest
RootCountMismatch
NativeMismatch
AbiMismatch
CraneliftMismatch
Trait Implementations§
Source§impl Debug for NativeValueCompareError
impl Debug for NativeValueCompareError
Source§impl Display for NativeValueCompareError
impl Display for NativeValueCompareError
Source§impl Error for NativeValueCompareError
impl Error for NativeValueCompareError
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 NativeValueCompareError
impl From<NativeAbiEvalError> for NativeValueCompareError
Source§fn from(error: NativeAbiEvalError) -> Self
fn from(error: NativeAbiEvalError) -> Self
Converts to this type from the input type.
Source§impl From<NativeEvalError> for NativeValueCompareError
impl From<NativeEvalError> for NativeValueCompareError
Source§fn from(error: NativeEvalError) -> Self
fn from(error: NativeEvalError) -> 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 From<NativeValueCraneliftError> for NativeValueCompareError
impl From<NativeValueCraneliftError> for NativeValueCompareError
Source§fn from(error: NativeValueCraneliftError) -> Self
fn from(error: NativeValueCraneliftError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NativeValueCompareError
impl RefUnwindSafe for NativeValueCompareError
impl !Send for NativeValueCompareError
impl !Sync for NativeValueCompareError
impl Unpin for NativeValueCompareError
impl UnsafeUnpin for NativeValueCompareError
impl UnwindSafe for NativeValueCompareError
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