Skip to main content

Crate tembra_core

Crate tembra_core 

Source
Expand description

A language-neutral kernel for orbs, managed objects and versioned operations.

The kernel stores opaque value and callback identities. The adapter that issued an identity owns its value, performs validation, and executes user code outside kernel borrows.

Structs§

Acquisition
Address
Stable identity. Tuple boundaries are preserved; keys are not delimiter-joined.
Completion
ContextContract
ContextKey
Diagnostics
Error
An operation failure. External effects performed by an adapter are not rolled back.
Host
InstalledOrb
Invocation
An admitted physical invocation. Finishing its observer does not finish this invocation.
Migration
OpaqueContextValue
Retain an owner-issued lease until its frame and physical consumers settle.
Orb
PreparedState
A private candidate tied to the exact invocation, object, revision and issuing host.
Reload
Replacement
Requirement
Resource
Scope
Service
Snapshot
Immutable metadata. Values remain owned by their language adapter.

Enums§

Action
Actions are executed by the adapter after a kernel operation completes.
Code
Machine-readable failure categories shared by language adapters.
ContextKind
ContextValue
Effect
These are execution requests, not policy hooks. Every platform runs the same program.
Lifetime
Owner
Reason
Built-in failure reasons. Orbs may still supply their own reason strings at an adapter seam.
Status
Step

Constants§

MAX_ID
Largest generated identity, shared by every adapter without JSON precision loss.

Traits§

ContextDatum

Type Aliases§

Id
Host-local identities are never reused. Generated IDs fit exactly in a JavaScript Number; zero is reserved for an absent identity.
Result
Version