pub type BlockAndReceiptsResult<Eth> = Result<Option<(SealedBlockFor<<<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§
enum BlockAndReceiptsResult<Eth> {
Ok(Option<(SealedBlock<<<<Eth as RpcNodeCore>::Provider as BlockReader>::Block as Block>::Header, <<<Eth as RpcNodeCore>::Provider as BlockReader>::Block as Block>::Body>, Arc<Vec<<<Eth as RpcNodeCore>::Provider as ReceiptProvider>::Receipt>>)>),
Err(<Eth as EthApiTypes>::Error),
}
Variants§
Ok(Option<(SealedBlock<<<<Eth as RpcNodeCore>::Provider as BlockReader>::Block as Block>::Header, <<<Eth as RpcNodeCore>::Provider as BlockReader>::Block as Block>::Body>, Arc<Vec<<<Eth as RpcNodeCore>::Provider as ReceiptProvider>::Receipt>>)>)
Contains the success value
Err(<Eth as EthApiTypes>::Error)
Contains the error value
Layout§
Note: Encountered an error during type layout; the type failed to be normalized.