Trait aori_rs::client::AoriBackendRpcClient

source ·
pub trait AoriBackendRpcClient: ClientT {
    // Provided methods
    fn ping<'life0, 'async_trait>(
        &'life0 self,
        parameters: AoriPingParams,
    ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn rfq<'life0, 'async_trait>(
        &'life0 self,
        parameters: AoriRfqParams,
    ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn respond<'life0, 'async_trait>(
        &'life0 self,
        parameters: AoriRespondParams,
    ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the AoriBackendRpc RPC API.

Provided Methods§

source

fn ping<'life0, 'async_trait>( &'life0 self, parameters: AoriPingParams, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn rfq<'life0, 'async_trait>( &'life0 self, parameters: AoriRfqParams, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn respond<'life0, 'async_trait>( &'life0 self, parameters: AoriRespondParams, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<TypeJsonRpseeInteral> AoriBackendRpcClient for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT,