Skip to main content

Module plugin

Module plugin 

Source
Expand description

HomeCorePlugin trait + PluginId newtype.

Every first-party and third-party HOMECORE integration must implement HomeCorePlugin. P1 provides an in-process native Rust implementation; the WASM ABI wrapper (which maps the WASM exports setup_entry, call_service_handler, receive_event to this trait) lands in P2.

Structs§

PluginId
Unique identifier for a loaded plugin — mirrors the domain field of the plugin’s PluginManifest (e.g. "mqtt", "homecore_lights").

Traits§

HomeCorePlugin
Lifecycle trait that every HOMECORE integration must implement.