Skip to main content

load_schema

Function load_schema 

Source
pub fn load_schema(
    path: impl AsRef<Path>,
    options: &LoadOptions<'_>,
) -> Result<LoadedSchema, SchemaError>
Expand description

Loads and validates, returning the first error. Same checks, in the same order, as load_schema_diagnostics.