Skip to main content

read_register_export

Function read_register_export 

Source
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