pub trait SyncStateApiClient: ClientT {
    // Provided method
    fn system_gen_sync_spec<'life0, 'async_trait>(
        &'life0 self,
        raw: bool
    ) -> Pin<Box<dyn Future<Output = RpcResult<Value>> + 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 = RpcResult<Value>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

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

Implementors§

source§

impl<TypeJsonRpseeInteral> SyncStateApiClient for TypeJsonRpseeInteralwhere TypeJsonRpseeInteral: ClientT,