pub trait Signable {
// Required method
fn signature_hash(&self) -> FixedBytes<32>;
}Expand description
Trait for types that can be cryptographically signed.
Required Methods§
Sourcefn signature_hash(&self) -> FixedBytes<32>
fn signature_hash(&self) -> FixedBytes<32>
Calculate the signature hash for this payload.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".