Skip to main content

check_manifest_format

Function check_manifest_format 

Source
pub const fn check_manifest_format(format: u16) -> Result<(), ManifestError>
Expand description

Returns whether this runtime can interpret format.

ยงErrors

Returns ManifestError::UnsupportedFormat for a newer format and ManifestError::MissingFormat for zero.