Enum novax_executor::SimulationError
source · pub enum SimulationError {
ErrorInTx {
error: String,
code: String,
},
}Expand description
An enumeration representing errors that can occur during the simulation of transactions or contract executions. These errors are specific to the logic or processing of the transaction/contract, rather than network communication or data formatting issues.
Variants§
ErrorInTx
Error encountered within the transaction or contract execution during simulation.
Trait Implementations§
source§impl Clone for SimulationError
impl Clone for SimulationError
source§fn clone(&self) -> SimulationError
fn clone(&self) -> SimulationError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SimulationError
impl Debug for SimulationError
source§impl<'de> Deserialize<'de> for SimulationError
impl<'de> Deserialize<'de> for SimulationError
source§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
source§impl From<SimulationError> for ExecutorError
impl From<SimulationError> for ExecutorError
source§fn from(value: SimulationError) -> Self
fn from(value: SimulationError) -> Self
Converts to this type from the input type.
source§impl PartialEq for SimulationError
impl PartialEq for SimulationError
source§fn eq(&self, other: &SimulationError) -> bool
fn eq(&self, other: &SimulationError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SimulationError
impl Serialize for SimulationError
impl StructuralPartialEq for SimulationError
Auto Trait Implementations§
impl CodecFromSelf for SimulationError
impl Freeze for SimulationError
impl RefUnwindSafe for SimulationError
impl Send for SimulationError
impl Sync for SimulationError
impl Unpin for SimulationError
impl UnwindSafe for SimulationError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more