#[non_exhaustive]pub enum Capability {
Show 26 variants
ClaimForWorker,
ClaimFromReclaim,
SuspendResumeByCount,
CancelExecution,
CancelFlow,
CancelFlowWaitTimeout,
CancelFlowWaitIndefinite,
StreamRead,
StreamBestEffortLive,
StreamDurableSummary,
DeliverSignal,
ListPendingWaitpoints,
RotateWaitpointHmac,
SeedWaitpointHmac,
ReportUsage,
ReportUsageAdminPath,
ResetBudget,
CreateFlow,
CreateExecution,
StageDependencyEdge,
ApplyDependencyToChild,
PreparableBoot,
SubscribeLeaseHistory,
SubscribeCompletion,
SubscribeSignalDelivery,
Ping,
}Expand description
Coarse-grained unit of functionality a backend may or may not
provide. Granularity is one entry per operator-UI grey-renderable
feature — not per trait method. See RFC-018 §9 Q1 for the
owner adjudication (coarse, recommended by the draft).
#[non_exhaustive]: adding variants in future RFC-018 stages is
a minor bump, not a break. Consumers matching on Capability
must carry a wildcard arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ClaimForWorker
Scheduler-routed claim entrypoint
(EngineBackend::claim_for_worker).
ClaimFromReclaim
Consume a reclaim grant to mint a resumed-kind handle.
SuspendResumeByCount
Suspend + resume by buffered-signal count (RFC-013).
CancelExecution
Operator-initiated single-execution cancel.
CancelFlow
Operator-initiated flow cancel (no wait).
CancelFlowWaitTimeout
cancel_flow with CancelFlowWait::WaitTimeout(Duration)
(#298 driver).
CancelFlowWaitIndefinite
cancel_flow with CancelFlowWait::WaitIndefinite.
StreamRead
read_stream (XRANGE-style bounded read).
StreamBestEffortLive
tail_stream (best-effort live tail).
StreamDurableSummary
Durable-summary frames + read_summary.
DeliverSignal
Deliver an external signal to a pending waitpoint.
ListPendingWaitpoints
List pending-or-active waitpoints for an execution.
RotateWaitpointHmac
Cluster-wide HMAC kid rotation.
SeedWaitpointHmac
Idempotent initial HMAC-secret seed (#280).
ReportUsage
Worker-handle-path report_usage.
ReportUsageAdminPath
Admin-path report_usage (no worker handle; #297 driver).
ResetBudget
Reset a budget’s usage counters.
CreateFlow
Create a flow header.
CreateExecution
Create an execution.
StageDependencyEdge
Stage a dependency edge.
ApplyDependencyToChild
Apply a staged dependency edge to its downstream child.
PreparableBoot
Backend honours EngineBackend::prepare
with non-trivial work (e.g. Valkey FUNCTION LOAD).
SubscribeLeaseHistory
Subscribe to lease-epoch history for a handle.
SubscribeCompletion
Subscribe to completion notifications.
SubscribeSignalDelivery
Subscribe to signal-delivery notifications.
Ping
Backend-level reachability probe.
Trait Implementations§
Source§impl Clone for Capability
impl Clone for Capability
Source§fn clone(&self) -> Capability
fn clone(&self) -> Capability
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more