Skip to main content

schema_bundle_bytes

Function schema_bundle_bytes 

Source
pub fn schema_bundle_bytes(module: &Module) -> Result<Vec<u8>, DecodeError>
Expand description

Encode the complete schema closure carried by a generated module.

§Errors

Returns an error if the module’s schema graph is not a canonical admitted bundle.