Enum near_vm_logic::VMLogicError[][src]

pub enum VMLogicError {
    HostError(HostError),
    ExternalError(Vec<u8, Global>),
    InconsistentStateError(InconsistentStateError),
    EvmError(EvmError),
}

Variants

HostError(HostError)

Errors coming from native Wasm VM.

ExternalError(Vec<u8, Global>)

Serialized external error from External trait implementation.

InconsistentStateError(InconsistentStateError)

An error that is caused by an operation on an inconsistent state.

EvmError(EvmError)

An error coming from native EVM.

Trait Implementations

impl BorshDeserialize for VMLogicError where
    HostError: BorshDeserialize,
    Vec<u8, Global>: BorshDeserialize,
    InconsistentStateError: BorshDeserialize,
    EvmError: BorshDeserialize
[src]

impl BorshSerialize for VMLogicError where
    HostError: BorshSerialize,
    Vec<u8, Global>: BorshSerialize,
    InconsistentStateError: BorshSerialize,
    EvmError: BorshSerialize
[src]

impl Clone for VMLogicError[src]

impl Debug for VMLogicError[src]

impl<'de> Deserialize<'de> for VMLogicError[src]

impl Display for VMLogicError[src]

impl From<HostError> for VMLogicError[src]

impl From<InconsistentStateError> for VMLogicError[src]

impl PartialEq<VMLogicError> for VMLogicError[src]

impl Serialize for VMLogicError[src]

impl StructuralPartialEq for VMLogicError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.