Skip to main content

Module plugin

Module plugin 

Source
Expand description

Core plugin traits.

Every plugin implements Plugin (health checks). From there, the two deployment models each have their own trait:

  • HostPlugin - runs on the daemon host, receives tasks and events over IPC.
  • GuestPlugin - runs inside an analysis VM, follows a linear start/execute/stop lifecycle over gRPC.

Re-exports§

pub use guest::GuestPlugin;
pub use guest::LaunchResult;
pub use guest::default_launch;
pub use host::HostPlugin;

Modules§

guest
The GuestPlugin trait for plugins that run inside an analysis VM.
host
The HostPlugin trait for plugins that run on the daemon host.

Traits§

Plugin
Base trait shared by all Malbox plugins (host and guest).