pub trait Verify {
type Signer: IdentifyAccount;
// Required method
fn verify<L: Lazy<[u8]>>(
&self,
msg: L,
signer: &<Self::Signer as IdentifyAccount>::AccountId,
) -> bool;
}
Expand description
Means of signature verification.
Required Associated Types§
Sourcetype Signer: IdentifyAccount
type Signer: IdentifyAccount
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.