Get OID as string (e.g., "2.5.4.3")
(&self)
| 64 | |
| 65 | /// Get OID as string (e.g., "2.5.4.3") |
| 66 | pub fn oid_string(&self) -> String { |
| 67 | match &self.oid { |
| 68 | OidRef::Static(oid) => oid.to_id_string(), |
| 69 | OidRef::String(s) => s.to_string(), |
| 70 | } |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | /// OID table with multiple indices for fast lookup |