pub trait BasicRepo<T> {
// Required methods
fn save(self, entity: &T);
fn get<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<T, Error>> + 'async_trait>>
where Self: 'async_trait;
}pub trait BasicRepo<T> {
// Required methods
fn save(self, entity: &T);
fn get<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<T, Error>> + 'async_trait>>
where Self: 'async_trait;
}