pub trait Verifier {
// Required methods
fn verify(&self, message: &[u8], signature: &[u8]) -> Result<(), Error>;
fn algorithm(&self) -> Algorithm;
}Required Methods§
fn verify(&self, message: &[u8], signature: &[u8]) -> Result<(), Error>
fn algorithm(&self) -> Algorithm
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".