(&self, oid_str: &str)
| 114 | } |
| 115 | |
| 116 | pub fn find_by_oid_string(&self, oid_str: &str) -> Option<&OidEntry> { |
| 117 | self.oid_str_to_idx |
| 118 | .get(oid_str) |
| 119 | .map(|&idx| &self.entries[idx]) |
| 120 | } |
| 121 | |
| 122 | pub fn find_by_name(&self, name: &str) -> Option<&OidEntry> { |
| 123 | // Try short name first (exact match) |
no test coverage detected