pub trait Client:
Send
+ Sync
+ 'static {
// Required methods
fn build_client<'life0, 'async_trait>(
address: &'life0 str,
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
where Self: Sized + 'async_trait,
'life0: 'async_trait;
fn execute<'life0, 'async_trait>(
&'life0 mut self,
statement: String,
params: Vec<ParameterValue>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn query<'life0, 'async_trait>(
&'life0 mut self,
statement: String,
params: Vec<ParameterValue>,
) -> Pin<Box<dyn Future<Output = Result<RowSet, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}