#[non_exhaustive]pub enum ValidationKind {
Show 23 variants
InvalidInput,
CapabilityMismatch,
InvalidCapabilities,
InvalidPolicyJson,
PayloadTooLarge,
SignalLimitExceeded,
InvalidWaitpointKey,
WaitpointNotTokenBound,
RetentionLimitExceeded,
InvalidLeaseForSuspend,
InvalidDependency,
InvalidWaitpointForExecution,
InvalidBlockingReason,
InvalidOffset,
Unauthorized,
InvalidBudgetScope,
BudgetOverrideNotAllowed,
InvalidQuotaSpec,
InvalidKid,
InvalidSecretHex,
InvalidGraceMs,
InvalidTagKey,
InvalidFrameType,
}Expand description
Validation sub-kinds. 1:1 with the Lua validation codes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidInput
Generic caller-supplied input rejected (field-name detail).
CapabilityMismatch
Worker caps do not satisfy execution’s required_capabilities.
detail is the sorted-CSV of missing tokens.
InvalidCapabilities
Malformed/oversized capability list.
InvalidPolicyJson
policy_json not valid JSON or structurally wrong.
PayloadTooLarge
Signal payload > 64KB.
SignalLimitExceeded
Max signals per execution reached.
InvalidWaitpointKey
MAC verification failed on waitpoint_key.
WaitpointNotTokenBound
Pending waitpoint has no HMAC token field.
RetentionLimitExceeded
Frame > 64KB.
InvalidLeaseForSuspend
Lease/attempt binding mismatch on suspend.
InvalidDependency
Dependency edge not found / invalid dependency ref.
InvalidWaitpointForExecution
Waitpoint/execution binding mismatch.
InvalidBlockingReason
Unrecognized blocking reason.
InvalidOffset
Invalid stream ID offset.
Auth failed.
InvalidBudgetScope
Budget scope malformed.
BudgetOverrideNotAllowed
Operator privileges required.
InvalidQuotaSpec
Malformed quota definition.
InvalidKid
Rotation kid must be non-empty and dot-free.
InvalidSecretHex
Rotation secret must be non-empty even-length hex.
InvalidGraceMs
Rotation grace_ms must be a non-negative integer.
InvalidTagKey
Tag key violates reserved-namespace rule.
InvalidFrameType
Unrecognized stream frame type.
Trait Implementations§
Source§impl Clone for ValidationKind
impl Clone for ValidationKind
Source§fn clone(&self) -> ValidationKind
fn clone(&self) -> ValidationKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more