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::Writetype 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
- Guest
Plugin - A guest plugin to be loaded by the guest plugin manager
- 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
Traits§
- From
Channel Message - Represents a type which can be converted to from a channel message sent by a
guest plugin. Used by the
channel_recvmacro.
Functions§
- guest_
plugin_ path - Get the guest plugin’s path from its name, returning
Noneif 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
- Channel
Id - A raw Channel ID
Attribute Macros§
- channel_
recv - Allows declaring a callback for recieving messages from a channel