pub trait IrohaMigrationAPIClient<BlockHash>: ClientTwhere
    BlockHash: Send + Sync + 'static + Serialize,{
    // Provided method
    fn needs_migration<'life0, 'async_trait>(
        &'life0 self,
        iroha_address: String,
        at: Option<BlockHash>
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the IrohaMigrationAPI RPC API.

Provided Methods§

source

fn needs_migration<'life0, 'async_trait>( &'life0 self, iroha_address: String, at: Option<BlockHash> ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<TypeJsonRpseeInteral, BlockHash> IrohaMigrationAPIClient<BlockHash> for TypeJsonRpseeInteralwhere TypeJsonRpseeInteral: ClientT, BlockHash: Send + Sync + 'static + Serialize,