pub trait StatefulStorageApiClient<BlockHash>: ClientT{
// 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§
sourcefn 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_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
sourcefn 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,
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.