Skip to main content

Module host

Module host 

Source
Expand description

The HostPlugin trait for plugins that run on the daemon host.

Host plugins process tasks via on_task and can subscribe to system events via on_event. The #[malbox::handlers] macro generates this impl from annotated methods on your plugin struct.

Traitsยง

HostPlugin
The trait that all malbox host plugins implement.