Skip to main content

BlockTransactionResult

Trait BlockTransactionResult 

pub trait BlockTransactionResult<T>
where T: EvmTypes,
{ // Required methods fn result(&self) -> &TxResultWithState<T>; fn into_result(self) -> TxResultWithState<T>; }
Expand description

A detached block transaction output containing its raw execution result.

Required Methods§

fn result(&self) -> &TxResultWithState<T>

Returns the raw transaction execution result.

fn into_result(self) -> TxResultWithState<T>

Consumes the output and returns the raw transaction execution result.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

§

impl<T, Ty> BlockTransactionResult<T> for EthTransactionResultWithState<T, Ty>
where T: EvmTypes,