Skip to main content

Signable

Trait Signable 

Source
pub trait Signable {
    // Required method
    fn signature_hash(&self) -> FixedBytes<32>;
}
Expand description

Trait for types that can be cryptographically signed.

Required Methods§

Source

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".

Implementors§