pub fn validate_snapshot(
image: &[u8],
limits: &SnapshotLimits,
) -> Result<SnapshotValidation, SnapshotValidationError>Expand description
Fully validates a snapshot and returns its canonical slot facts.
Before passing Rust-owned output storage to the native validator, this function verifies that the linked adapter matches this exact crate build. Callers therefore receive identity failures separately from untrusted snapshot-content failures.