Type Alias reth_rpc_api_testing_util::trace::TraceGetResult

source ·
pub type TraceGetResult = Result<(Option<LocalizedTransactionTrace>, B256, Vec<Index>), (Error, B256, Vec<Index>)>;
Expand description

Result type for the trace_get method that also captures the requested transaction hash and index.

Aliased Type§

enum TraceGetResult {
    Ok((Option<LocalizedTransactionTrace>, FixedBytes<32>, Vec<Index>)),
    Err((Error, FixedBytes<32>, Vec<Index>)),
}

Variants§

§1.0.0

Ok((Option<LocalizedTransactionTrace>, FixedBytes<32>, Vec<Index>))

Contains the success value

§1.0.0

Err((Error, FixedBytes<32>, Vec<Index>))

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: 408 bytes

Size for each variant:

  • Ok: 408 bytes
  • Err: 120 bytes