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