Struct ethcore::executive::TransactOptions
[−]
[src]
pub struct TransactOptions<T, V> { pub tracer: T, pub vm_tracer: V, pub check_nonce: bool, pub output_from_init_contract: bool, }
Transaction execution options.
Fields
tracer: T
Enable call tracing.
vm_tracer: V
Enable VM tracing.
check_nonce: bool
Check transaction nonce before execution.
output_from_init_contract: bool
Records the output from init contract calls.
Methods
impl<T, V> TransactOptions<T, V>
[src]
impl<T, V> TransactOptions<T, V>
pub fn new(tracer: T, vm_tracer: V) -> Self
[src]
pub fn new(tracer: T, vm_tracer: V) -> Self
Create new TransactOptions
with given tracer and VM tracer.
pub fn dont_check_nonce(self) -> Self
[src]
pub fn dont_check_nonce(self) -> Self
Disables the nonce check
pub fn save_output_from_contract(self) -> Self
[src]
pub fn save_output_from_contract(self) -> Self
Saves the output from contract creation.
impl TransactOptions<ExecutiveTracer, ExecutiveVMTracer>
[src]
impl TransactOptions<ExecutiveTracer, ExecutiveVMTracer>
pub fn with_tracing_and_vm_tracing() -> Self
[src]
pub fn with_tracing_and_vm_tracing() -> Self
Creates new TransactOptions
with default tracing and VM tracing.
impl TransactOptions<ExecutiveTracer, NoopVMTracer>
[src]
impl TransactOptions<ExecutiveTracer, NoopVMTracer>
pub fn with_tracing() -> Self
[src]
pub fn with_tracing() -> Self
Creates new TransactOptions
with default tracing and no VM tracing.
impl TransactOptions<NoopTracer, ExecutiveVMTracer>
[src]
impl TransactOptions<NoopTracer, ExecutiveVMTracer>
pub fn with_vm_tracing() -> Self
[src]
pub fn with_vm_tracing() -> Self
Creates new TransactOptions
with no tracing and default VM tracing.
impl TransactOptions<NoopTracer, NoopVMTracer>
[src]
impl TransactOptions<NoopTracer, NoopVMTracer>
pub fn with_no_tracing() -> Self
[src]
pub fn with_no_tracing() -> Self
Creates new TransactOptions
without any tracing.
Trait Implementations
impl<T: Copy, V: Copy> Copy for TransactOptions<T, V>
[src]
impl<T: Copy, V: Copy> Copy for TransactOptions<T, V>
impl<T: Clone, V: Clone> Clone for TransactOptions<T, V>
[src]
impl<T: Clone, V: Clone> Clone for TransactOptions<T, V>
fn clone(&self) -> TransactOptions<T, V>
[src]
fn clone(&self) -> TransactOptions<T, V>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: PartialEq, V: PartialEq> PartialEq for TransactOptions<T, V>
[src]
impl<T: PartialEq, V: PartialEq> PartialEq for TransactOptions<T, V>
fn eq(&self, __arg_0: &TransactOptions<T, V>) -> bool
[src]
fn eq(&self, __arg_0: &TransactOptions<T, V>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TransactOptions<T, V>) -> bool
[src]
fn ne(&self, __arg_0: &TransactOptions<T, V>) -> bool
This method tests for !=
.
Auto Trait Implementations
impl<T, V> Send for TransactOptions<T, V> where
T: Send,
V: Send,
impl<T, V> Send for TransactOptions<T, V> where
T: Send,
V: Send,
impl<T, V> Sync for TransactOptions<T, V> where
T: Sync,
V: Sync,
impl<T, V> Sync for TransactOptions<T, V> where
T: Sync,
V: Sync,