Skip to main content

Module process

Module process 

Source

Re-exports§

pub use crate::admin::SessionProcessAdmin;

Structs§

AbandonEvidence
Evidence attached to an ProcessTerminalState::Abandoned terminal: which path wrote it, the dead-or-lapsed owner identity it was established against (absent for an externally-owned row lash never executed), and when.
AbandonRequest
Durable, non-terminal marker recording that a non-owner authorized abandonment without proof the owner is gone. The sweep reconciles it into ProcessTerminalState::Abandoned only once the row’s lease has lapsed; the marker never terminates anything by itself and is visible to observers while pending. See ADR 0019.
ObservedProcess
ObservedProcessEvent
ObservedWorkItem
ProcessAwaiter
Core waiter for process terminal state and events (ADR 0016).
ProcessCancelAllRequest
ProcessCancelRequest
ProcessCancelSummary
ProcessChangeHub
ProcessEvent
ProcessEventAppendRequest
ProcessEventAppendResult
ProcessEventType
ProcessExecutionContext
Execution-local context for process runners. Durable edges live on the process record.
ProcessExecutionEnvRef
ProcessExecutionEnvSpec
ProcessExternalRef
Durable backend reference for background work accepted outside the local process.
ProcessHandleDescriptor
ProcessHandleGrant
ProcessHandleSummary
ProcessIdentity
Canonical process identity stored alongside every durable process row.
ProcessLease
Durable lease over a non-terminal background process.
ProcessLeaseCompletion
ProcessListFilter
ProcessOpScope
ProcessProvenance
ProcessPruneReport
Outcome of ProcessRegistry::prune_terminal_processes: how many terminal process rows and event rows were physically deleted.
ProcessRecord
Durable process row. Session-visible addressability lives in ProcessHandleGrant, not in the process record.
ProcessRegistration
Serializable process spec used to start or recover a runtime process.
ProcessRuntimeHost
Host shape for runtimes that support background plugin work.
ProcessSessionDeleteReport
ProcessStartOptions
ProcessStartRequest
Public host-facing request for starting a visible process handle.
ProcessStarted
Durable “execution started” fact: which owner began executing the row and when. The runner writes it under its live lease immediately before executing so the sweep can distinguish an OwnerBound row that has started (never re-run) from one that has not (runnable by anyone). First-writer-wins.
ProcessWake
ProcessWakeDelivery
ProcessWakeSpec
ProcessWorkDriver
Registry and run handle for process work owned outside LashCore.
ProcessWorkObserver
ProcessWorkSnapshot
Processes
SessionScope
SessionScopeId
ToolSessionProcessAdmin

Enums§

AbandonWriter
Who wrote an ProcessTerminalState::Abandoned terminal — the exactly-one legitimate writer per path (ADR 0019).
ProcessAwaitOutput
ProcessCancelSource
ProcessInput
Durable executable input for a process.
ProcessLeaseClaimOutcome
Outcome of claiming (or reclaiming) a ProcessLease.
ProcessLifecycleStatus
ProcessListMode
ProcessStatus
ProcessStatusFilter
ProcessTerminalState
ProcessWakeDedupeKey
RecoveryDisposition
Producer-declared contract stating what recovery may do with a process row after owner loss. Required at registration and applied mechanically by the sweep; never inferred at runtime. See ADR 0019.

Traits§

ProcessAttach
ProcessCancelAbility
ProcessEventSink
Host-facing, best-effort push of each appended process event.
ProcessRegistry
Durability-neutral process registry.
ProcessRunHandle
One lease-protected drive of the registry’s pending (non-terminal) processes.
ProcessService

Functions§

watch_process_registry
Wrap inner in a [WatchedProcessRegistry] with no event sink.
watch_process_registry_with_sink
Wrap inner in a [WatchedProcessRegistry], optionally installing a ProcessEventSink that receives every appended event.