const_oid

Trait 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§