linera_rpc::mass_client

Trait MassClient

Source
pub trait MassClient {
    // Required method
    fn send<'life0, 'async_trait>(
        &'life0 self,
        requests: Vec<RpcMessage>,
        max_in_flight: usize,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RpcMessage>, MassClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn send<'life0, 'async_trait>( &'life0 self, requests: Vec<RpcMessage>, max_in_flight: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<RpcMessage>, MassClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§