Module guest_plugin_manager

Module guest_plugin_manager 

Source
Expand description

Bindings for the guest plugin manager

The guest plugin manager is a PANDA plugin which manages “guest plugins”, or programs which are injected into the guest and can communicate back to the host.

See load_guest_plugin and channel_recv for more info.

Structs§

Channel
An io::Write type for writing to a guest plugin channel
GUEST_PLUGIN_MANAGER
A PANDA plugin which manages “guest plugins”, programs which are injected into the guest which can communicate with the host process via “channels”.test
GuestPlugin
A guest plugin to be loaded by the guest plugin manager
GuestPluginManager
A PANDA plugin which manages “guest plugins”, programs which are injected into the guest which can communicate with the host process via “channels”.test

Traits§

FromChannelMessage
Represents a type which can be converted to from a channel message sent by a guest plugin. Used by the channel_recv macro.

Functions§

guest_plugin_path
Get the guest plugin’s path from its name, returning None if the guest plugin could not be found.
load_guest_plugin
Load a guest plugin given the guest plugin’s name and a callback for when a message is recieved from this plugin.

Type Aliases§

ChannelCB
A callback for recieving writes to a channel performed by the guest
ChannelId
A raw Channel ID

Attribute Macros§

channel_recv
Allows declaring a callback for recieving messages from a channel