#[non_exhaustive]pub enum Family {
Classical,
Hybrid,
PostQuantum,
MaxSecure,
FnDsa,
Experimental,
Hqc,
MlKem,
MlDsa,
SlhDsa,
}Expand description
The family an algorithm belongs to: what kind of construction it is.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Classical
Classical cryptography only
Hybrid
Classical and post-quantum combined
PostQuantum
Post-quantum stacks and KEMs
MaxSecure
The Max Secure series
FnDsa
FN-DSA (Falcon-based) signature stacks
Experimental
Research constructions with reduced guarantees
Hqc
HQC code-based KEMs (NIST 2025 backup KEM)
MlKem
NIST ML-KEM parameter sets (FIPS 203)
MlDsa
NIST ML-DSA parameter sets (FIPS 204)
SlhDsa
NIST SLH-DSA parameter sets (FIPS 205)
Implementations§
Trait Implementations§
impl Copy for Family
Source§impl<'de> Deserialize<'de> for Family
impl<'de> Deserialize<'de> for Family
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Family
impl StructuralPartialEq for Family
Auto Trait Implementations§
impl Forget for Family
impl Freeze for Family
impl Move for Family
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnsafeUnpin for Family
impl UnwindSafe for Family
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more