Skip to main content

assert_schema_version_supported

Function assert_schema_version_supported 

Source
pub fn assert_schema_version_supported(
    schema: &Schema,
) -> Result<(), PrimitiveError>
Expand description

Sanity hook for callers that want to assert they’re looking at a schema the current rustio-core understands before doing anything else. Exported for executor code; this module uses it in tests.