Enum near_vm_errors::FunctionCallError
source · [−]pub enum FunctionCallError {
CompilationError(CompilationError),
LinkError {
msg: String,
},
MethodResolveError(MethodResolveError),
WasmTrap(WasmTrap),
WasmUnknownError {
debug_message: String,
},
HostError(HostError),
_EVMError,
Nondeterministic(String),
}
Variants
CompilationError(CompilationError)
Wasm compilation error
LinkError
Fields
msg: String
Wasm binary env link error
MethodResolveError(MethodResolveError)
Import/export resolve error
WasmTrap(WasmTrap)
A trap happened during execution of a binary
WasmUnknownError
Fields
debug_message: String
HostError(HostError)
_EVMError
Nondeterministic(String)
Non-deterministic error.
Trait Implementations
sourceimpl Debug for FunctionCallError
impl Debug for FunctionCallError
sourceimpl Display for FunctionCallError
impl Display for FunctionCallError
sourceimpl PartialEq<FunctionCallError> for FunctionCallError
impl PartialEq<FunctionCallError> for FunctionCallError
sourcefn eq(&self, other: &FunctionCallError) -> bool
fn eq(&self, other: &FunctionCallError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FunctionCallError) -> bool
fn ne(&self, other: &FunctionCallError) -> bool
This method tests for !=
.
impl Eq for FunctionCallError
impl StructuralEq for FunctionCallError
impl StructuralPartialEq for FunctionCallError
Auto Trait Implementations
impl RefUnwindSafe for FunctionCallError
impl Send for FunctionCallError
impl Sync for FunctionCallError
impl Unpin for FunctionCallError
impl UnwindSafe for FunctionCallError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more