pub trait TransactionExecutor: Send + Sync {
// Required method
fn execute_transaction<'life0, 'async_trait>(
&'life0 self,
request: ExecuteTransactionRequestV1,
client_addr: Option<SocketAddr>,
) -> Pin<Box<dyn Future<Output = Result<ExecuteTransactionResponseV1, QuorumDriverError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Trait to define the interface for how the REST service interacts with a a QuorumDriver or a simulated transaction executor.