pub fn export_checking_metadata(
types: &TypeRegistry,
lookup: &OpLookup,
identity: &EnvironmentIdentity,
) -> Result<String, MetadataError>Expand description
Exports effective registrations without invoking application callbacks.
Identical effective registrations in the same process produce identical bytes. The catalog’s documented host-identity tie-break does not promise identical bytes across independently built executables.
§Errors
Rejects empty identities, opaque registrations lacking complete metadata, invalid descriptions, and artifacts exceeding 8 MiB or 64 JSON containers of nesting. Errors identify the category and a corrective action.
- Complexity: Environment projection costs plus O(n) time and space for description and JSON size n.
§Examples
See the module example.