Type Alias reth::core::rpc::types::trace::geth::TraceResult

pub type TraceResult = TraceResult<GethTrace, String>;
Expand description

Result type for geth style transaction trace

Aliased Type§

enum TraceResult {
    Success {
        result: GethTrace,
        tx_hash: Option<FixedBytes<32>>,
    },
    Error {
        error: String,
        tx_hash: Option<FixedBytes<32>>,
    },
}

Variants§

§

Success

Untagged success variant

Fields

§result: GethTrace

Trace results produced by the tracer

§tx_hash: Option<FixedBytes<32>>

transaction hash

§

Error

Untagged error variant

Fields

§error: String

Trace failure produced by the tracer

§tx_hash: Option<FixedBytes<32>>

transaction hash

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

Size for each variant:

  • Success: 376 bytes
  • Error: 72 bytes