pub trait NOCCollectionWithLock<T>{
// Required methods
fn read(&self) -> Box<dyn Deref<Target = T> + '_>;
fn write(&self) -> Box<dyn DerefMut<Target = T> + '_>;
}
pub trait NOCCollectionWithLock<T>{
// Required methods
fn read(&self) -> Box<dyn Deref<Target = T> + '_>;
fn write(&self) -> Box<dyn DerefMut<Target = T> + '_>;
}