Skip to main content

Crate aequora_executor

Crate aequora_executor 

Source
Expand description

Application-owned authorization and domain execution boundary.

Structs§

AuthContext
Server-derived authenticated identity. Client claims must match it.
AuthenticatedOperation
Operation whose identity claims match the authenticated connection.
AuthoritativeMutation
Mutation produced only after application authorization and validation.
AuthorizedOperation
Authenticated operation approved by application authorization policy.
CurrentEntity
Current authoritative snapshot passed into an application handler.
DependencyPlan
Deterministic topological execution plan.
DerivedEventProvenance
Identity and inherited lineage for a server-derived authoritative event.
ExecutableOperation
Fully planned operation accepted by OperationExecutor::execute.
ExecutionError
Typed application rejection.
IncomingOperation
Untrusted operation before authenticated identity claims are checked.
JobProvenance
Required durable metadata for a job/outbox record derived from an authenticated operation.
OperationRegistry
Typed operation dispatcher with an explicit scope authorizer and schema compatibility window.
TrustedProvenance
Server-trusted provenance created only from an authenticated operation and connection context.
ValidatedOperation
Authorized operation whose authoritative preconditions were validated.

Enums§

DependencyError
Invalid intra-batch operation dependency graph.
RegistrationError
Invalid typed registration configuration.

Traits§

DomainOperation
Strongly typed domain command registered with OperationRegistry.
OperationExecutor
Application operation registry/dispatcher.
OperationHandler
Authorization and execution logic for one typed domain command.
PayloadMigrator
Pure adapter that upgrades one supported historical payload directly to the handler’s current schema. Database migrations remain separate.
ScopeAuthorizer
Application authorization for a requested partial synchronization scope.

Functions§

plan_dependencies
Builds a stable O(V + E) dependency plan for operations contained in one batch. Dependencies outside the batch remain server-ledger prerequisites and are not graph edges.