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§
Ok(Option<(Arc<RecoveredBlock<<<Eth as RpcNodeCore>::Provider as BlockReader>::Block>>, Arc<Vec<<<Eth as RpcNodeCore>::Provider as ReceiptProvider>::Receipt>>)>)
Contains the success value
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.