Struct mashina::executive::TransactOptions [−][src]
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.
Implementations
impl<T, V> TransactOptions<T, V>
[src]
pub fn new(tracer: T, vm_tracer: V) -> Self
[src]
Create new TransactOptions
with given tracer and VM tracer.
pub fn dont_check_nonce(self) -> Self
[src]
Disables the nonce check
pub fn save_output_from_contract(self) -> Self
[src]
Saves the output from contract creation.
impl TransactOptions<ExecutiveTracer, ExecutiveVMTracer>
[src]
pub fn with_tracing_and_vm_tracing() -> Self
[src]
Creates new TransactOptions
with default tracing and VM tracing.
impl TransactOptions<ExecutiveTracer, NoopVMTracer>
[src]
pub fn with_tracing() -> Self
[src]
Creates new TransactOptions
with default tracing and no VM tracing.
impl TransactOptions<NoopTracer, ExecutiveVMTracer>
[src]
pub fn with_vm_tracing() -> Self
[src]
Creates new TransactOptions
with no tracing and default VM tracing.
impl TransactOptions<NoopTracer, NoopVMTracer>
[src]
pub fn with_no_tracing() -> Self
[src]
Creates new TransactOptions
without any tracing.
Trait Implementations
impl<T: Clone, V: Clone> Clone for TransactOptions<T, V>
[src]
fn clone(&self) -> TransactOptions<T, V>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy, V: Copy> Copy for TransactOptions<T, V>
[src]
impl<T: PartialEq, V: PartialEq> PartialEq<TransactOptions<T, V>> for TransactOptions<T, V>
[src]
fn eq(&self, other: &TransactOptions<T, V>) -> bool
[src]
fn ne(&self, other: &TransactOptions<T, V>) -> bool
[src]
impl<T, V> StructuralPartialEq for TransactOptions<T, V>
[src]
Auto Trait Implementations
impl<T, V> RefUnwindSafe for TransactOptions<T, V> where
T: RefUnwindSafe,
V: RefUnwindSafe,
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<T, V> Send for TransactOptions<T, V> where
T: Send,
V: Send,
T: Send,
V: Send,
impl<T, V> Sync for TransactOptions<T, V> where
T: Sync,
V: Sync,
T: Sync,
V: Sync,
impl<T, V> Unpin for TransactOptions<T, V> where
T: Unpin,
V: Unpin,
T: Unpin,
V: Unpin,
impl<T, V> UnwindSafe for TransactOptions<T, V> where
T: UnwindSafe,
V: UnwindSafe,
T: UnwindSafe,
V: UnwindSafe,
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,