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§

source

fn trace_block_by_number( &self, block: BlockNumber, options: Option<TracerConfig> ) -> BoxFuture<Result<Vec<ResultDebugCall>>>

source

fn trace_block_by_hash( &self, hash: H256, options: Option<TracerConfig> ) -> BoxFuture<Result<Vec<ResultDebugCall>>>

source

fn trace_call( &self, request: CallRequest, block: Option<BlockId>, options: Option<TracerConfig> ) -> BoxFuture<Result<DebugCall>>

source

fn trace_transaction( &self, tx_hash: H256, options: Option<TracerConfig> ) -> BoxFuture<Result<Option<DebugCall>>>

Provided Methods§

source

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.

Implementors§