pub trait BridgeProxyAPIClient<BlockHash, AssetId>: ClientTwhere
    BlockHash: Send + Sync + 'static + Serialize + Codec,
    AssetId: Send + Sync + 'static + Codec + Serialize,{
    // Provided methods
    fn list_apps<'life0, 'async_trait>(
        &'life0 self,
        at: Option<BlockHash>
    ) -> Pin<Box<dyn Future<Output = Result<Vec<BridgeAppInfo>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn list_supported_assets<'life0, 'async_trait>(
        &'life0 self,
        network_id: GenericNetworkId,
        at: Option<BlockHash>
    ) -> Pin<Box<dyn Future<Output = Result<Vec<BridgeAssetInfo>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the BridgeProxyAPI RPC API.

Provided Methods§

source

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

source

fn list_supported_assets<'life0, 'async_trait>( &'life0 self, network_id: GenericNetworkId, at: Option<BlockHash> ) -> Pin<Box<dyn Future<Output = Result<Vec<BridgeAssetInfo>>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

Implementors§

source§

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