pub enum FunctionCallErrorSer {
CompilationError(CompilationError),
LinkError {
msg: String,
},
MethodResolveError(MethodResolveError),
WasmTrap(WasmTrap),
WasmUnknownError,
HostError(HostError),
_EVMError,
ExecutionError(String),
}
Expand description
Serializable version of FunctionCallError
. Must never reorder/remove elements, can only
add new variants at the end (but do that very carefully). This type must be never used
directly, and must be converted to ContractCallError
instead using into()
converter.
It describes stable serialization format, and only used by serialization logic.
Variants§
CompilationError(CompilationError)
Wasm compilation error
LinkError
Wasm binary env link error
MethodResolveError(MethodResolveError)
Import/export resolve error
WasmTrap(WasmTrap)
A trap happened during execution of a binary
WasmUnknownError
HostError(HostError)
_EVMError
ExecutionError(String)
Trait Implementations§
Source§impl Clone for FunctionCallErrorSer
impl Clone for FunctionCallErrorSer
Source§fn clone(&self) -> FunctionCallErrorSer
fn clone(&self) -> FunctionCallErrorSer
Returns a duplicate of the value. Read more
1.0.0 · 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 FunctionCallErrorSer
impl Debug for FunctionCallErrorSer
Source§impl<'de> Deserialize<'de> for FunctionCallErrorSer
impl<'de> Deserialize<'de> for FunctionCallErrorSer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FunctionCallErrorSer
impl PartialEq for FunctionCallErrorSer
Source§impl Serialize for FunctionCallErrorSer
impl Serialize for FunctionCallErrorSer
impl Eq for FunctionCallErrorSer
impl StructuralPartialEq for FunctionCallErrorSer
Auto Trait Implementations§
impl Freeze for FunctionCallErrorSer
impl RefUnwindSafe for FunctionCallErrorSer
impl Send for FunctionCallErrorSer
impl Sync for FunctionCallErrorSer
impl Unpin for FunctionCallErrorSer
impl UnwindSafe for FunctionCallErrorSer
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