Skip to main content

verify_unit

Function verify_unit 

Source
pub fn verify_unit(unit: &Unit, source: &[u8]) -> Result<Verified, VerifyError>
Expand description

The verification decision. Recompute the unit’s claims from the source bytes and compare.

§Errors

See VerifyError; each variant names both the declared and the actual value.