[][src]Enum near_vm_logic::VMLogicError

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

Variants

HostError(HostError)
ExternalError(Vec<u8>)

Serialized external error from External trait implementation.

InconsistentStateError(InconsistentStateError)

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, 
[src]

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

impl Clone for VMLogicError[src]

impl Debug for VMLogicError[src]

impl<'de> Deserialize<'de> 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, 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.