Skip to main content

Module plugins

Module plugins 

Source
Available on crate feature plugins only.
Expand description

Build-time client plugins and their capability-scoped host.

Structs§

PluginCapabilities
Compact set of capabilities requested by one plugin.
PluginConnectionScope
One connection generation plus its optional connection-scoped task capability.
PluginConnectionTasks
Task capability whose cancellation is signalled synchronously when its generation retires.
PluginContext
Capabilities and already-installed dependencies visible during installation.
PluginCoreEventSubscription
Ownership token for one plugin core-event subscription.
PluginCoreEvents
Selective subscription access to the sealed core event bus. Handlers run inline and must hand slow work to a task capability.
PluginEventEndpointConfig
Required queue policy for one independent consumer endpoint.
PluginEventEndpointStats
Cumulative state for one endpoint queue.
PluginEventEnvelope
Routed event shared by every matching endpoint without copying its payload.
PluginEventPublishReport
Result of one non-blocking fan-out attempt.
PluginEventPublisherStats
Cumulative publication and fanout counters for one plugin namespace.
PluginEventReceiveError
PluginEventRouter
Read-only subscription boundary for native consumers and future foreign adapters.
PluginEventRouterStats
On-demand aggregate for the custom-event router.
PluginEventSelector
Exact (plugin_id, topic) route selected by one endpoint.
PluginEventSubscription
One bounded endpoint. Dropping it unregisters every selected route atomically.
PluginEventTopic
Validated second-level topic within one plugin namespace.
PluginEvents
Context-bound custom event capability. A plugin can publish only under its own ID.
PluginHostConfig
Deadlines applied by the native plugin host.
PluginHostStats
On-demand aggregate for the native plugin host.
PluginIq
Typed IQ execution without exposing the raw client or stores.
PluginManifest
Build-time declaration used for validation, ordering, and future foreign adapters.
PluginMessaging
High-level message sending without exposing the raw client or backend.
PluginStats
On-demand runtime snapshot for one plugin, identified only by its public manifest ID.
PluginTasks
Install-scoped task capability. Work starts after the complete plugin set is published and stops during rollback or shutdown.

Enums§

PluginCapability
A capability a plugin asks the host to expose during installation.
PluginEventOverflow
Behavior when one endpoint cannot keep up with publishers.
PluginEventPayloadEncoding
Encoding of a custom plugin event payload.
PluginEventPublishError
Custom event publication failure.
PluginEventRouteError
Syntactic route validation failure.
PluginEventSubscribeError
Endpoint registration failure.
PluginEventTryReceiveError
PluginHealth
Sticky health derived from cumulative host and event-router failures.
PluginIqError
PluginMessagingError
PluginPlanError
Manifest validation or dependency-ordering failure.
PluginResourceError
Capability use after the client or plugin scope has ended.
PluginState
Lifecycle state of one installed plugin.

Traits§

ClientPlugin
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.
UntypedClientPlugin
A trusted plugin instance identified only by its manifest ID.

Type Aliases§

PluginFuture
Target-correct future returned by native plugin entry points.