[−][src]Enum near_vm_errors::VMLogicError
Variants
HostError(HostError)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]
HostError: BorshDeserialize,
Vec<u8>: BorshDeserialize,
InconsistentStateError: BorshDeserialize,
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>[src]
fn try_from_slice(v: &[u8]) -> Result<Self, Error>[src]
fn is_u8() -> bool[src]
impl BorshSerialize for VMLogicError where
HostError: BorshSerialize,
Vec<u8>: BorshSerialize,
InconsistentStateError: BorshSerialize, [src]
HostError: BorshSerialize,
Vec<u8>: BorshSerialize,
InconsistentStateError: BorshSerialize,
fn serialize<W: Write>(&self, writer: &mut W) -> Result<(), Error>[src]
fn try_to_vec(&self) -> Result<Vec<u8>, Error>[src]
fn is_u8() -> bool[src]
impl Clone for VMLogicError[src]
fn clone(&self) -> VMLogicError[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for VMLogicError[src]
impl<'de> Deserialize<'de> for VMLogicError[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl From<HostError> for VMLogicError[src]
impl From<InconsistentStateError> for VMLogicError[src]
fn from(err: InconsistentStateError) -> Self[src]
impl PartialEq<VMLogicError> for VMLogicError[src]
fn eq(&self, other: &VMLogicError) -> bool[src]
fn ne(&self, other: &VMLogicError) -> bool[src]
impl Serialize for VMLogicError[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralPartialEq for VMLogicError[src]
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,