pub trait DynAssociatedOid {
    // Required method
    fn oid(&self) -> ObjectIdentifier;
}
Available on crate feature pkcs8 only.
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§

fn oid(&self) -> ObjectIdentifier

Get the OID associated with this value.

Implementors§

§

impl<T> DynAssociatedOid for T
where T: AssociatedOid,