Enum near_vm_errors::VMLogicError [−][src]
pub enum VMLogicError {
HostError(HostError),
ExternalError(Vec<u8>),
InconsistentStateError(InconsistentStateError),
}Variants
HostError(HostError)
Tuple Fields
0: HostErrorErrors coming from native Wasm VM.
ExternalError(Vec<u8>)
Serialized external error from External trait implementation.
InconsistentStateError(InconsistentStateError)
Tuple Fields
An error that is caused by an operation on an inconsistent state.
Trait Implementations
impl BorshDeserialize for VMLogicError where
HostError: BorshDeserialize,
Vec<u8>: BorshDeserialize,
InconsistentStateError: BorshDeserialize,
impl BorshDeserialize for VMLogicError where
HostError: BorshDeserialize,
Vec<u8>: BorshDeserialize,
InconsistentStateError: BorshDeserialize,
impl BorshSerialize for VMLogicError where
HostError: BorshSerialize,
Vec<u8>: BorshSerialize,
InconsistentStateError: BorshSerialize,
impl BorshSerialize for VMLogicError where
HostError: BorshSerialize,
Vec<u8>: BorshSerialize,
InconsistentStateError: BorshSerialize,
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
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for VMLogicError
impl Send for VMLogicError
impl Sync for VMLogicError
impl Unpin for VMLogicError
impl UnwindSafe for VMLogicError
Blanket Implementations
Mutably borrows from an owned value. Read more