[−]Enum near_vm_logic::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<VMLogicError, Error>
[src]
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn is_u8() -> bool
impl BorshSerialize for VMLogicError where
HostError: BorshSerialize,
Vec<u8>: BorshSerialize,
InconsistentStateError: BorshSerialize,
[src]
HostError: BorshSerialize,
Vec<u8>: BorshSerialize,
InconsistentStateError: BorshSerialize,
fn serialize<W>(&self, writer: &mut W) -> Result<(), Error> where
W: Write,
[src]
W: Write,
fn try_to_vec(&self) -> Result<Vec<u8>, Error>
fn is_u8() -> bool
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<VMLogicError, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<VMLogicError, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<HostError> for VMLogicError
[src]
fn from(err: HostError) -> VMLogicError
[src]
impl From<InconsistentStateError> for VMLogicError
[src]
fn from(err: InconsistentStateError) -> VMLogicError
[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 as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__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> Same<T> for T
type Output = T
Should always be Self
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>,