pub trait VerifySeal<Header, Author> {
// Required method
fn verify_seal(header: &Header) -> Result<Option<Author>, &'static str>;
}
Expand description
A trait for verifying the seal of a header and returning the author.
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.