pub trait Algorithm {
const ID: &'static str;
const NAME: &'static str;
}Expand description
Links a concrete implementation to its ontology entry.
ID is the stable ontology identifier (for example "sha2-256"), and is
the join key between runtime types and the machine-readable catalog exposed
by ic-ontology.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".