Expand description
Portable Lenso vNext Kernel and Runtime Driver seam.
Structs§
- Activate
Context - Context supplied while a Module initializes against prepared dependencies.
- AppAdmission
- App-wide admission for externally triggered work.
- AppReady
Gate - A shared App-wide signal that opens exactly once after every Module activates.
- Cancellation
Token - Cooperative cancellation shared by one Module Instance generation.
- Deactivate
Context - Context supplied while a Module releases one generation.
- Deterministic
Driver - Static identity and Rust value types generated for one request Capability. A deterministic, OS-independent Runtime Driver for Kernel conformance tests.
- Diagnostic
Filter - A compact source allowlist for one observer.
- Diagnostic
Observer - The receiving side of one independently bounded diagnostics queue.
- Diagnostic
Record - One sequenced, timestamped Runtime Diagnostic record.
- Driver
Task - Driver-owned handle used to cancel and join local work.
- Event
Publish Result - One deterministic result for one explicit subscriber binding.
- Execution
Adapter Catalog - Immutable Adapter catalog assembled by a Runner before Kernel boot.
- Execution
Class Set - The execution classes contributed by installed Adapter packages.
- Invocation
Context - Kernel-owned context propagated across one native request invocation.
- Invocation
Extension - An opaque extension supplied by a caller Module.
- Kernel
- The portable App execution engine.
- Managed
Resource Handle - A handle that releases one managed resource at most once.
- Managed
Resource Scope - A Module-generation resource scope backed by Driver-polled cleanup futures.
- Managed
Task - A Kernel-owned task handle that is cleaned up with its Module generation.
- Managed
Task Scope - A Module-generation task scope backed by the selected Runtime Driver.
- Module
Dependencies - The explicit Capability dependencies available during Module lifecycle.
- Module
Dependency - A deterministic dependency visible to one Module Instance.
- Module
Dependency Handle - An opaque, Adapter-resolved Capability endpoint passed to lifecycle code.
- Module
Event Dependency Handle - An opaque Event endpoint passed to Module lifecycle code.
- Module
Stream Dependency Handle - An opaque, Adapter-resolved stream Capability endpoint passed to lifecycle code.
- Native
App - A started native App whose generated clients can invoke resolved bindings.
- Native
Endpoint Set - The complete native endpoint set owned by one Module generation.
- Native
Event Handle - Typed, immutable Event endpoints materialized before App boot completes.
- Native
Request Handle - Typed, immutable native Capability endpoints materialized before App boot completes.
- Native
Stream - One opened, typed bidirectional stream session.
- Native
Stream Handle - Typed, immutable stream endpoints materialized before App boot completes.
- Noop
Module Lifecycle - Default no-op lifecycle used by endpoint-only native fixtures.
- Prepare
Context - Context supplied while a Module reserves reversible resources.
- Prepared
Binding - One provider-specific binding prepared by an Execution Adapter.
- Prepared
Event Binding - One provider-specific ephemeral Event binding prepared by an Adapter.
- Prepared
Native App - Prepared native bindings returned by an Execution Adapter to Kernel.
- Prepared
Native Module - One freshly prepared Module Instance generation returned by an Execution Adapter.
- Prepared
Stream Binding - One provider-specific bidirectional stream binding prepared by an Adapter.
- Readiness
Context - Context supplied after the App Ready Gate has opened.
- Runtime
Diagnostics - An opt-in Runtime Diagnostics port.
- Sealed
Invocation Extension - An opaque extension whose issuer and audience must survive Adapter hops.
Enums§
- Deactivation
Reason - The reason a Module generation is being deactivated.
- Diagnostic
Admission - A bounded admission outcome safe to expose to a diagnostic observer.
- Diagnostic
Event - Structural, lossy metadata emitted by the Kernel.
- Diagnostic
Outcome - An outcome that is safe to expose without including a Domain Error body.
- Diagnostic
Shutdown Outcome - A sanitized App shutdown outcome.
- Diagnostic
Source - The Kernel subsystem that produced one Runtime Diagnostic.
- Diagnostic
Subscribe Error - Error returned when an observer queue cannot be created.
- Event
Admission - The admission result for one publisher-to-subscriber binding.
- Execution
Adapter Catalog Error - A Runner could not assemble one unambiguous Adapter catalog.
- Invocation
Context Error - Failure returned when an Invocation Context extension cannot be attached.
- Managed
Task Error - Error returned when a managed task cannot be admitted to its scope.
- Module
Lifecycle Phase - The lifecycle phase represented by a Module context.
- Native
Stream Item - Type-erased stream item crossing the Kernel/Adapter seam.
- Plan
Validation Error - A reason the Kernel rejected a Resolved App Plan before boot.
- Resource
Registration Error - Error returned when a resource cannot be registered in a closed scope.
- Runtime
Failure - Runtime-owned failure, kept separate from Capability-defined Domain Errors.
- Runtime
Failure Kind - A sanitized category of Runtime Failure.
- Shutdown
Outcome - The result of bounded cleanup after a graceful shutdown request.
- Stream
Event - One observable item received from a bidirectional stream.
- Task
Outcome - Result of joining a Runtime Driver task.
- Terminal
Outcome - A successful terminal result returned to the embedding Runner.
Traits§
- Event
Capability - Static identity and Rust value types generated for one ephemeral Event Capability.
- Execution
Adapter - Host-specific seam that instantiates Module generations and prepares endpoints.
- Managed
Resource - A resource whose release is owned by one Module Instance generation.
- Module
Lifecycle - Adapter-facing lifecycle Interface for one Module Instance generation.
- Native
Event Endpoint - Adapter-facing endpoint for one or more ephemeral Event Operations.
- Native
Execution Adapter - Native Rust Adapter Interface for statically linked Module packages.
- Native
Request Endpoint - Type-erased native endpoint used only while Kernel constructs and dispatches the graph.
- Native
Stream Endpoint - Adapter-facing endpoint for one or more bidirectional stream Operations.
- Native
Stream Session - Adapter-owned bidirectional stream session.
- Request
Capability - Runtime
Driver - Host facilities required to advance the portable Kernel.
- Stream
Capability - Static identity and Rust value types generated for one stream Capability.
Type Aliases§
- Event
Publish Status - Alias emphasizing the result’s publication context.
- Local
Task - A task owned by a Runtime Driver’s single-threaded local lane.
- Module
Future - The result type returned by prepare, activate, and deactivate hooks.
- Request
Id - Kernel-generated identity for one logical request invocation.
- Resource
Future - A future used to release one Driver-backed managed resource.
- Stream
Session - Alias using the transport-neutral term used by the Capability model.