parse_oid

Function parse_oid 

Source
pub fn parse_oid(s: &str) -> Result<Oid, String>
Expand description

Parse an OID from string, supporting both dotted notation and well-known names.

Accepts:

  • Dotted notation: “1.3.6.1.2.1.1.1.0”
  • Well-known names: “sysDescr.0”, “system”, “ifTable”