referrerpolicy=no-referrer-when-downgrade

Trait sc_sync_state_rpc::SyncStateApiClient

source ·
pub trait SyncStateApiClient<B>: ClientT
where B: Send + Sync + 'static + DeserializeOwned + BlockT,
{ // Provided method fn system_gen_sync_spec<'life0, 'async_trait>( &'life0 self, raw: bool, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait>> where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } }
Expand description

Client implementation for the SyncStateApi RPC API.

Provided Methods§

source

fn system_gen_sync_spec<'life0, 'async_trait>( &'life0 self, raw: bool, ) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Returns the JSON serialized chainspec running the node, with a sync state.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<TypeJsonRpseeInteral, B> SyncStateApiClient<B> for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT, B: Send + Sync + 'static + DeserializeOwned + BlockT,