Skip to main content

Crate lenso_native_adapter

Crate lenso_native_adapter 

Source
Expand description

Native Rust Execution Adapter for statically linked Plugin packages.

Structs§

CancellationToken
Cooperative cancellation shared by one Plugin Instance generation.
ManagedTasks
A Plugin field connected to its generation-owned task scope during activation.
NativePluginFactoryContext
Immutable Plan input supplied when a native factory creates one generation.
NativePluginInstance
Endpoints created for one statically linked Plugin Instance generation.
NativePluginRegistry
Statically linked native Plugin factories available to an App binary.

Enums§

ManagedTasksError
Failure returned when a Plugin cannot spawn generation-owned work.
RuntimeFailure
Runtime-owned failure, kept separate from Capability-defined Domain Errors.

Traits§

Lifecycle
Optional convention-based lifecycle hooks for a struct-level Plugin.
NativePluginFactory
Adapter-specific factory for a statically linked native Rust Plugin.

Attribute Macros§

plugin
Derives native Plugin source and, for consumer, its factory registration.
provides
Derives one or more provided Capability endpoints, one native factory, and static registration.

Derive Macros§

PluginConfig
Derives the locked JSON Schema fragment consumed by a struct-level Plugin.