Enum near_primitives_v01::errors::TxExecutionError [−][src]
pub enum TxExecutionError {
ActionError(ActionError),
InvalidTxError(InvalidTxError),
}Expand description
Error returned in the ExecutionOutcome in case of failure
Variants
ActionError(ActionError)An error happened during Acton execution
Tuple Fields of ActionError
0: ActionErrorInvalidTxError(InvalidTxError)An error happened during Transaction execution
Tuple Fields of InvalidTxError
Trait Implementations
impl BorshDeserialize for TxExecutionError where
ActionError: BorshDeserialize,
InvalidTxError: BorshDeserialize,
impl BorshDeserialize for TxExecutionError where
ActionError: BorshDeserialize,
InvalidTxError: BorshDeserialize,
impl BorshSerialize for TxExecutionError where
ActionError: BorshSerialize,
InvalidTxError: BorshSerialize,
impl BorshSerialize for TxExecutionError where
ActionError: BorshSerialize,
InvalidTxError: 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 TxExecutionError
impl Send for TxExecutionError
impl Sync for TxExecutionError
impl Unpin for TxExecutionError
impl UnwindSafe for TxExecutionError
Blanket Implementations
Mutably borrows from an owned value. Read more