aws_lc_rs::kem

Trait AlgorithmIdentifier

Source
pub trait AlgorithmIdentifier:
    Copy
    + Clone
    + Debug
    + PartialEq
    + Sealed
    + 'static {
    // Required method
    fn nid(self) -> i32;
}
Expand description

An identifier for a KEM algorithm.

Required Methods§

Source

fn nid(self) -> i32

Returns the algorithm’s associated AWS-LC nid.

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.

Implementors§

Source§

impl AlgorithmIdentifier for aws_lc_rs::unstable::kem::AlgorithmId

Available on crate feature unstable only.
Source§

impl AlgorithmIdentifier for aws_lc_rs::kem::AlgorithmId