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