pub trait StatefulStorageApiClient<BlockHash>: ClientT
where BlockHash: Send + Sync + 'static,
{ // Provided methods fn get_paginated_storage<'life0, 'async_trait>( &'life0 self, msa_id: MessageSourceId, schema_id: SchemaId ) -> Pin<Box<dyn Future<Output = Result<Vec<PaginatedStorageResponse>, Error>> + Send + 'async_trait>> where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } fn get_itemized_storage<'life0, 'async_trait>( &'life0 self, msa_id: MessageSourceId, schema_id: SchemaId ) -> Pin<Box<dyn Future<Output = Result<ItemizedStoragePageResponse, Error>> + Send + 'async_trait>> where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } }
Expand description

Client implementation for the StatefulStorageApi RPC API.

Provided Methods§

source

fn get_paginated_storage<'life0, 'async_trait>( &'life0 self, msa_id: MessageSourceId, schema_id: SchemaId ) -> Pin<Box<dyn Future<Output = Result<Vec<PaginatedStorageResponse>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

retrieving pages of stateful storage

source

fn get_itemized_storage<'life0, 'async_trait>( &'life0 self, msa_id: MessageSourceId, schema_id: SchemaId ) -> Pin<Box<dyn Future<Output = Result<ItemizedStoragePageResponse, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

retrieving itemized storage of stateful storage

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<TypeJsonRpseeInteral, BlockHash> StatefulStorageApiClient<BlockHash> for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT, BlockHash: Send + Sync + 'static,