Skip to main content

Module runtime

Module runtime 

Source
Expand description

Runtime implementations that run a HostPlugin against a transport.

Two runtimes are provided:

  • guest - gRPC server runtime for plugins running inside a VM. Gated behind the guest feature.
  • host - iceoryx2 IPC runtime for plugins running on the daemon host. Gated behind the host feature.

Plugin authors don’t usually need to import from this module - the #[malbox::host_plugin] and #[malbox::guest_plugin] macros generate a fn main() that constructs the appropriate runtime.

Re-exports§

pub use guest::GuestRuntime;
pub use guest::GuestRuntimeConfig;
pub use host::HostRuntime;

Modules§

guest
Guest plugin runtime - exposes a GuestPlugin as a gRPC server.
host
Host plugin runtime - WaitSet-based event loop over iceoryx2 IPC.