Skip to main content

Crate rustclamp_core

Crate rustclamp_core 

Source
Expand description

Minimal shared contracts for Clamp applications.

Structs§

ApplicationId
A stable identifier for an application architecture blueprint.
CapabilityId
A stable identifier for a capability contract.
ClockCapability
Marker type that identifies the Clock capability to the Kernel.
ContributionId
A stable identifier for a composition-time contribution kind.
ContributionTargetId
A stable identifier for a domain-specific contribution target.
ExecutionId
A stable identifier for a process execution root.
LifecycleContext
Identity available to a lifecycle participant without exposing a runtime.
ManualClock
A clock that only moves when told to: for tests and simulations.
ModuleId
A stable identifier for a declared application module.
ParseReferenceError
The text is not a hyphenated UUID of version 7. Non-exhaustive, so a reason can be added without a breaking change.
ProcessId
A stable identifier for one runnable application projection.
QualifierId
A stable identifier for a qualifier that distinguishes capability instances.
Reference
A UUIDv7 that names one request, command or action, so its log lines can be found again.
SystemClock
The operating system’s wall clock (SystemTime::now).

Traits§

Capability
Associates a capability marker with its value type and stable identity.
Clock
A source of wall-clock time required by application behavior.
Contribution
Describes a composition-time declaration consumed by a domain target.
ContributionTarget
A domain-owned compiler from declarations to a runtime representation.
Drain
Opts a module into graceful shutdown before it is stopped.
Initialize
Opts a module into resource preparation before its process starts.
Module
Identifies a module that can participate in additive architecture contracts.
Provides
Declares and exposes one capability provided by a module.
Qualifier
Gives a typed qualifier a stable semantic identity.
Ready
Opts a module into the readiness check after activation.
Requires
Declares that a module requires one capability.
Start
Opts a module into activation after initialization succeeds.
Stop
Opts a module into teardown after draining.