pub trait TypeLevelAlgorithmType {
// Required method
fn algorithm_type() -> AlgorithmType;
}
Expand description
A trait used to make the implementation of SigningAlgorithm
and
VerifyingAlgorithm
easier.
RustCrypto crates tend to have algorithm types defined at the type level,
so they cannot accept a self argument.
Required Methods§
fn algorithm_type() -> AlgorithmType
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.