pub trait StatefulStorageApiClient<BlockHash>: ClientTwhere
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 = RpcResult<Vec<PaginatedStorageResponse>>> + 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 = RpcResult<ItemizedStoragePageResponse>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Client implementation for the StatefulStorageApi
RPC API.
Provided Methods§
sourcefn get_paginated_storage<'life0, 'async_trait>(
&'life0 self,
msa_id: MessageSourceId,
schema_id: SchemaId
) -> Pin<Box<dyn Future<Output = RpcResult<Vec<PaginatedStorageResponse>>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn get_paginated_storage<'life0, 'async_trait>( &'life0 self, msa_id: MessageSourceId, schema_id: SchemaId ) -> Pin<Box<dyn Future<Output = RpcResult<Vec<PaginatedStorageResponse>>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,
retrieving pages of stateful storage
sourcefn get_itemized_storage<'life0, 'async_trait>(
&'life0 self,
msa_id: MessageSourceId,
schema_id: SchemaId
) -> Pin<Box<dyn Future<Output = RpcResult<ItemizedStoragePageResponse>> + 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 = RpcResult<ItemizedStoragePageResponse>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,
retrieving itemized storage of stateful storage