pub trait Verifier: Send + Sync {
// Required method
fn verify(
&self,
manifest: &Manifest,
root: &Path,
) -> Result<VerificationOutcome, SkillError>;
}Expand description
Verifier for manifest signatures.
Required Methods§
Sourcefn verify(
&self,
manifest: &Manifest,
root: &Path,
) -> Result<VerificationOutcome, SkillError>
fn verify( &self, manifest: &Manifest, root: &Path, ) -> Result<VerificationOutcome, SkillError>
Verify a manifest at load time.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".