load_guest_plugin

Function load_guest_plugin 

Source
pub fn load_guest_plugin(
    name: impl Into<String>,
    msg_received: ChannelCB,
) -> Channel 
Expand description

Load a guest plugin given the guest plugin’s name and a callback for when a message is recieved from this plugin.

Returns a channel with the same name as the plugin for use when communicating with the guest plugin.