Trait era_test_node::namespaces::DebugNamespaceT
source · pub trait DebugNamespaceT: Sized + Send + Sync + 'static {
// Required methods
fn trace_block_by_number(
&self,
block: BlockNumber,
options: Option<TracerConfig>
) -> BoxFuture<Result<Vec<ResultDebugCall>>>;
fn trace_block_by_hash(
&self,
hash: H256,
options: Option<TracerConfig>
) -> BoxFuture<Result<Vec<ResultDebugCall>>>;
fn trace_call(
&self,
request: CallRequest,
block: Option<BlockId>,
options: Option<TracerConfig>
) -> BoxFuture<Result<DebugCall>>;
fn trace_transaction(
&self,
tx_hash: H256,
options: Option<TracerConfig>
) -> BoxFuture<Result<Option<DebugCall>>>;
// Provided method
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> { ... }
}
Required Methods§
fn trace_block_by_number( &self, block: BlockNumber, options: Option<TracerConfig> ) -> BoxFuture<Result<Vec<ResultDebugCall>>>
fn trace_block_by_hash( &self, hash: H256, options: Option<TracerConfig> ) -> BoxFuture<Result<Vec<ResultDebugCall>>>
fn trace_call( &self, request: CallRequest, block: Option<BlockId>, options: Option<TracerConfig> ) -> BoxFuture<Result<DebugCall>>
fn trace_transaction( &self, tx_hash: H256, options: Option<TracerConfig> ) -> BoxFuture<Result<Option<DebugCall>>>
Provided Methods§
sourcefn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
Create an IoDelegate
, wiring rpc calls to the trait methods.
Object Safety§
This trait is not object safe.