[][src]Trait jwt::algorithm::rust_crypto::TypeLevelAlgorithmType

pub trait TypeLevelAlgorithmType {
    fn algorithm_type() -> AlgorithmType;
}

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

Loading content...

Implementations on Foreign Types

impl TypeLevelAlgorithmType for Sha256[src]

impl TypeLevelAlgorithmType for Sha384[src]

impl TypeLevelAlgorithmType for Sha512[src]

Loading content...

Implementors

Loading content...