reth_rpc_api_testing_util::trace

Type Alias TraceBlockOpCodeGasResult

Source
pub type TraceBlockOpCodeGasResult = Result<(BlockOpcodeGas, BlockId), (Error, BlockId)>;
Expand description

A result type for the trace_blockOpcodeGas method that also captures the requested block.

Aliased Type§

enum TraceBlockOpCodeGasResult {
    Ok((BlockOpcodeGas, BlockId)),
    Err((Error, BlockId)),
}

Variants§

§1.0.0

Ok((BlockOpcodeGas, BlockId))

Contains the success value

§1.0.0

Err((Error, BlockId))

Contains the error value

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 104 bytes

Size for each variant:

  • Ok: 104 bytes
  • Err: 104 bytes