Trait jwt::algorithm::rust_crypto::TypeLevelAlgorithmType
source · 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
Object Safety§
This trait is not object safe.