Struct cfx_rpc_eth_types::SimulateError
source · pub struct SimulateError {
pub code: i32,
pub message: String,
}
Expand description
The error response returned by the eth_simulateV1
method.
Fields§
§code: i32
Code error -3200: Execution reverted -32015: VM execution error
message: String
Message error
Trait Implementations§
source§impl Clone for SimulateError
impl Clone for SimulateError
source§fn clone(&self) -> SimulateError
fn clone(&self) -> SimulateError
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 SimulateError
impl Debug for SimulateError
source§impl<'de> Deserialize<'de> for SimulateError
impl<'de> Deserialize<'de> for SimulateError
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
Auto Trait Implementations§
impl RefUnwindSafe for SimulateError
impl Send for SimulateError
impl Sync for SimulateError
impl Unpin for SimulateError
impl UnwindSafe for SimulateError
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