MCPcopy Index your code
hub / github.com/RustPython/RustPython / oid_string

Method oid_string

crates/stdlib/src/ssl/oid.rs:66–71  ·  view source on GitHub ↗

Get OID as string (e.g., "2.5.4.3")

(&self)

Source from the content-addressed store, hash-verified

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

Callers 3

txt2objFunction · 0.80
nid2objFunction · 0.80
buildMethod · 0.80

Calls 1

to_stringMethod · 0.80

Tested by

no test coverage detected