Skip to main content

Module host

Module host 

Source
Expand description

Host-side function table given to plug-ins for re-entrant callbacks.

The surface stays explicit: every host service is a concrete function pointer. During alpha, added methods require rebuilding plug-ins to match the host rather than changing the ABI version. This avoids exposing Arc<MessageBus> or any dyn Trait across the boundary.

Structs§

ControllerHostContext
Opaque per-instance context the host supplies to controller plug-ins.
ControllerHostVTable
Function table the host passes to every controller plug-in instance.
HostContext
Opaque per-instance context the host supplies at plug-in creation.
HostVTable
Function table the host passes to every plug-in at load time.

Enums§

HostLogLevel
Log levels mirrored from the host’s log crate without dragging the crate into the boundary type.