Skip to main content

Crate lenso_native_adapter

Crate lenso_native_adapter 

Source
Expand description

Native Rust Execution Adapter for statically linked Module packages.

Structs§

NativeModuleFactoryContext
Immutable Plan input supplied when a native factory creates one generation.
NativeModuleInstance
Endpoints created for one statically linked Module Instance generation.
NativeModuleRegistry
Statically linked native Module factories available to an App binary.

Enums§

RuntimeFailure
Runtime-owned failure, kept separate from Capability-defined Domain Errors.

Traits§

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

Attribute Macros§

module
Derives the native factory and link-time registration for one Module entrypoint.
provides
Derives one or more provided Capability endpoints, one native factory, and static registration.

Derive Macros§

ModuleConfig
Derives the locked JSON Schema fragment consumed by a struct-level Module.