reth_rpc_eth_api::helpers::block

Type Alias BlockAndReceiptsResult

Source
pub type BlockAndReceiptsResult<E> = Result<Option<(SealedBlock, Arc<Vec<Receipt>>)>, E>;
Expand description

Result type of the fetched block and its receipts.

Aliased Type§

enum BlockAndReceiptsResult<E> {
    Ok(Option<(SealedBlock, Arc<Vec<Receipt>>)>),
    Err(E),
}

Variants§

§1.0.0

Ok(Option<(SealedBlock, Arc<Vec<Receipt>>)>)

Contains the success value

§1.0.0

Err(E)

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.