(env: Arc<Environment>, collection_name: &str)
| 540 | |
| 541 | impl MetaDb { |
| 542 | pub fn from_env(env: Arc<Environment>, collection_name: &str) -> lmdb::Result<Self> { |
| 543 | let db = env.create_db(Some(collection_name), DatabaseFlags::empty())?; |
| 544 | |
| 545 | Ok(Self { env, db }) |
| 546 | } |
| 547 | } |
| 548 | |
| 549 | pub struct CollectionsMap { |
nothing calls this directly
no outgoing calls
no test coverage detected