use std::ops::Deref;
use anyhow::Result;
pub trait GenericClient<C>: Send + Sync + Deref<Target = C> {
fn new(database_url: &str) -> impl std::future::Future<Output = Result<Self>> + Send
where
Self: Sized;
fn get_inner_client(&self) -> &C;
fn get_database(&self) -> &str;
}