Trait DebugNamespaceClient

Source
pub trait DebugNamespaceClient: ClientT
where Self: ForNetwork<Net = L2>,
{ // Provided methods fn trace_block_by_number<'life0, 'async_trait>( &'life0 self, block: BlockNumber, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ResultDebugCall>, Error>> + Send + 'async_trait>> where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } fn trace_block_by_number_flat<'life0, 'async_trait>( &'life0 self, block: BlockNumber, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<Vec<DebugCallFlat>, Error>> + Send + 'async_trait>> where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } fn trace_block_by_hash<'life0, 'async_trait>( &'life0 self, hash: H256, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ResultDebugCall>, Error>> + Send + 'async_trait>> where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } fn trace_call<'life0, 'async_trait>( &'life0 self, request: CallRequest, block: Option<BlockId>, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<DebugCall, Error>> + Send + 'async_trait>> where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } fn trace_transaction<'life0, 'async_trait>( &'life0 self, tx_hash: H256, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<Option<DebugCall>, Error>> + Send + 'async_trait>> where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } }
Expand description

Client implementation for the DebugNamespace RPC API.

Provided Methods§

Source

fn trace_block_by_number<'life0, 'async_trait>( &'life0 self, block: BlockNumber, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ResultDebugCall>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Source

fn trace_block_by_number_flat<'life0, 'async_trait>( &'life0 self, block: BlockNumber, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<Vec<DebugCallFlat>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Source

fn trace_block_by_hash<'life0, 'async_trait>( &'life0 self, hash: H256, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ResultDebugCall>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Source

fn trace_call<'life0, 'async_trait>( &'life0 self, request: CallRequest, block: Option<BlockId>, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<DebugCall, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Source

fn trace_transaction<'life0, 'async_trait>( &'life0 self, tx_hash: H256, options: Option<TracerConfig>, ) -> Pin<Box<dyn Future<Output = Result<Option<DebugCall>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

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.

Implementors§

Source§

impl<TypeJsonRpseeInteral> DebugNamespaceClient for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT, Self: ForNetwork<Net = L2>,