pub trait Signatures {
// Required methods
fn ec_signature(&self) -> &Ed25519Signature;
fn pq_signature(&self) -> &FnDsaSignature;
// Provided method
fn context() -> &'static [u8] ⓘ { ... }
}Expand description
Carries signatures.
Required Methods§
Sourcefn ec_signature(&self) -> &Ed25519Signature
fn ec_signature(&self) -> &Ed25519Signature
Access to the Ed25519 signature.
Sourcefn pq_signature(&self) -> &FnDsaSignature
fn pq_signature(&self) -> &FnDsaSignature
Access to the FN-DSA signature.
Provided Methods§
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.