pub trait LoadBlock:
LoadPendingBlock
+ SpawnBlocking
+ RpcNodeCoreExt {
// Provided method
fn block_with_senders(
&self,
block_id: BlockId,
) -> impl Future<Output = Result<Option<Arc<SealedBlockWithSenders>>, Self::Error>> + Send { ... }
}
Expand description
Loads a block from database.
Behaviour shared by several eth_
RPC methods, not exclusive to eth_
blocks RPC methods.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.