reth_rpc_api_testing_util::debug

Type Alias DebugTraceBlockResult

Source
pub type DebugTraceBlockResult = Result<(Vec<TraceResult<GethTrace, String>>, BlockId), (Error, BlockId)>;
Expand description

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

Aliased Type§

enum DebugTraceBlockResult {
    Ok((Vec<TraceResult<GethTrace, String>>, BlockId)),
    Err((Error, BlockId)),
}

Variants§

§1.0.0

Ok((Vec<TraceResult<GethTrace, String>>, 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: 96 bytes

Size for each variant:

  • Ok: 72 bytes
  • Err: 96 bytes