BlockAndReceiptsResult

Type Alias BlockAndReceiptsResult 

Source
pub type BlockAndReceiptsResult<Eth> = Result<Option<(Arc<RecoveredBlock<<<Eth as RpcNodeCore>::Provider as BlockReader>::Block>>, Arc<Vec<ProviderReceipt<<Eth as RpcNodeCore>::Provider>>>)>, <Eth as EthApiTypes>::Error>;
Expand description

Result type of the fetched block and its receipts.

Aliased Type§

pub enum BlockAndReceiptsResult<Eth> {
    Ok(Option<(Arc<RecoveredBlock<<<Eth as RpcNodeCore>::Provider as BlockReader>::Block>>, Arc<Vec<<<Eth as RpcNodeCore>::Provider as ReceiptProvider>::Receipt>>)>),
    Err(<Eth as EthApiTypes>::Error),
}

Variants§

§1.0.0

Ok(Option<(Arc<RecoveredBlock<<<Eth as RpcNodeCore>::Provider as BlockReader>::Block>>, Arc<Vec<<<Eth as RpcNodeCore>::Provider as ReceiptProvider>::Receipt>>)>)

Contains the success value

§1.0.0

Err(<Eth as EthApiTypes>::Error)

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.