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<'_derivative_strum> From<&'_derivative_strum FunctionCallError> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum FunctionCallError> for &'static str
sourcefn from(x: &'_derivative_strum FunctionCallError) -> &'static str
fn from(x: &'_derivative_strum FunctionCallError) -> &'static str
Converts to this type from the input type.
sourceimpl From<FunctionCallError> for &'static str
impl From<FunctionCallError> for &'static str
sourcefn from(x: FunctionCallError) -> &'static str
fn from(x: FunctionCallError) -> &'static str
Converts to this type from the input type.
sourceimpl PartialEq<FunctionCallError> for FunctionCallError
impl PartialEq<FunctionCallError> for FunctionCallError
sourcefn eq(&self, other: &FunctionCallError) -> bool
fn eq(&self, other: &FunctionCallError) -> bool
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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