Skip to main content

DynAssociatedOid

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§