Trait const_oid::DynAssociatedOid

source ·
pub trait DynAssociatedOid {
    // Required method
    fn oid(&self) -> ObjectIdentifier;
}
Expand description

A trait which associates a dynamic, &self-dependent OID with a type, which may change depending on the type’s value.

This trait is object safe and auto-impl’d for any types which impl AssociatedOid.

Required Methods§

source

fn oid(&self) -> ObjectIdentifier

Get the OID associated with this value.

Implementors§