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