[][src]Crate const_oid

Object Identifier (OID) constants with heapless no_std support.

This crate supports creating ObjectIdentifier constants with compile-time checks on validity.

It has full no_std support with no dependencies on a heap/liballoc and stores OID values as static data.

The ObjectIdentifier type can also be used for runtime modeling of OIDs (e.g. when parsing messages), with the goal of easily comparing them to constant values.

About OIDs

Object Identifiers, a.k.a. OIDs, are an International Telecommunications Union (ITU) and ISO/IEC standard for naming any object, concept, or "thing" with a globally unambiguous persistent name.

See also: https://en.wikipedia.org/wiki/Object_identifier

Minimum Supported Rust Version

This crate requires Rust 1.46 at a minimum.

Structs

Error

Error type

ObjectIdentifier

Object identifier (OID)

Constants

MAX_NODES

Maximum number of nodes in an OID.