Trait AppVerify
pub trait AppVerify {
type AccountId;
// Required method
fn verify<L>(&self, msg: L, signer: &Self::AccountId) -> bool
where L: Lazy<[u8]>;
}
Expand description
Means of signature verification of an application key.
Required Associated Types§
type AccountId
type AccountId
Type of the signer.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.