pub fn read_register_export(
plugin: &mut Plugin,
) -> Result<RegistrationManifest, ExtismError>Expand description
Call a live plugin’s register export and parse the response.
The register export takes no input and returns canonical-JSON
matching RegistrationManifest. The host reads this after
capability negotiation and converts each entry into an adapter
implementing the corresponding capability trait.
§Errors
ExtismError::InvalidPluginif the export doesn’t exist or the underlying Extism call fails.ExtismError::OutputDecodeif the returned JSON is malformed.