pub trait AsBTreeMap { type Key: Ord; type Value; // Required method unsafe fn as_btree_map( &self, ) -> Result<BTreeMap<Self::Key, Self::Value>, CError>; }