Skip to main content

Module host

Module host 

Source
Expand description

The host side of the plugin ABI: the table a plugin’s run gets, over an application’s Host. Requests and replies are text (JSON by convention); what the methods are and what they read and write is the application’s.

Traits§

Host
An application’s host methods for one run.

Functions§

run_with⚠
Run run (a loaded plugin’s run function) with host behind a host table that says abi_version. Returns the plugin’s code (crate::abi::RUN_OK, RUN_ERROR, RUN_PANIC, or anything else it returned).