Available on crate feature
plugins only.Expand description
Build-time client plugins and their capability-scoped host.
Structs§
- Plugin
Capabilities - Compact set of capabilities requested by one plugin.
- Plugin
Connection Scope - One connection generation plus its optional connection-scoped task capability.
- Plugin
Connection Tasks - Task capability whose cancellation is signalled synchronously when its generation retires.
- Plugin
Context - Capabilities and already-installed dependencies visible during installation.
- Plugin
Core Event Subscription - Ownership token for one plugin core-event subscription.
- Plugin
Core Events - Selective subscription access to the sealed core event bus. Handlers run inline and must hand slow work to a task capability.
- Plugin
Event Endpoint Config - Required queue policy for one independent consumer endpoint.
- Plugin
Event Endpoint Stats - Cumulative state for one endpoint queue.
- Plugin
Event Envelope - Routed event shared by every matching endpoint without copying its payload.
- Plugin
Event Publish Report - Result of one non-blocking fan-out attempt.
- Plugin
Event Publisher Stats - Cumulative publication and fanout counters for one plugin namespace.
- Plugin
Event Receive Error - Plugin
Event Router - Read-only subscription boundary for native consumers and future foreign adapters.
- Plugin
Event Router Stats - On-demand aggregate for the custom-event router.
- Plugin
Event Selector - Exact
(plugin_id, topic)route selected by one endpoint. - Plugin
Event Subscription - One bounded endpoint. Dropping it unregisters every selected route atomically.
- Plugin
Event Topic - Validated second-level topic within one plugin namespace.
- Plugin
Events - Context-bound custom event capability. A plugin can publish only under its own ID.
- Plugin
Host Config - Deadlines applied by the native plugin host.
- Plugin
Host Stats - On-demand aggregate for the native plugin host.
- Plugin
Iq - Typed IQ execution without exposing the raw client or stores.
- Plugin
Manifest - Build-time declaration used for validation, ordering, and future foreign adapters.
- Plugin
Messaging - High-level message sending without exposing the raw client or backend.
- Plugin
Stats - On-demand runtime snapshot for one plugin, identified only by its public manifest ID.
- Plugin
Tasks - Install-scoped task capability. Work starts after the complete plugin set is published and stops during rollback or shutdown.
Enums§
- Plugin
Capability - A capability a plugin asks the host to expose during installation.
- Plugin
Event Overflow - Behavior when one endpoint cannot keep up with publishers.
- Plugin
Event Payload Encoding - Encoding of a custom plugin event payload.
- Plugin
Event Publish Error - Custom event publication failure.
- Plugin
Event Route Error - Syntactic route validation failure.
- Plugin
Event Subscribe Error - Endpoint registration failure.
- Plugin
Event TryReceive Error - Plugin
Health - Sticky health derived from cumulative host and event-router failures.
- Plugin
IqError - Plugin
Messaging Error - Plugin
Plan Error - Manifest validation or dependency-ordering failure.
- Plugin
Resource Error - Capability use after the client or plugin scope has ended.
- Plugin
State - Lifecycle state of one installed plugin.
Traits§
- Client
Plugin - A trusted native plugin installed exactly once while the client is still inert.
Capabilities shape the handles it receives; they are not an in-process sandbox.
A plugin value belongs to one client installation, even when registered through an
Arc. - Untyped
Client Plugin - A trusted plugin instance identified only by its manifest ID.
Type Aliases§
- Plugin
Future - Target-correct future returned by native plugin entry points.