usestd::sync::{Arc, Mutex};usecrate::queries::Insertable;usesuper::PostgresDataProvider;/// ThreadedDataManager? Or Cursor?
////// Goal: Be able to use this as a local cache AND a way of updating remotely.
pubstructThreadedDataManager<T>
where
T: Insertable,
{_items:Arc<Mutex<Vec<T>>>,
_data_provider:PostgresDataProvider<T>,
}