Skip to main contentCrate nopace_core
Source - testkit
- AdmissionOperation
- Prepared admission command.
- AdmissionRequest
- Store command for one admission decision.
- BasisPoints
- Integer basis points where
10_000 is 100%. - Call
- One physical provider attempt and all quota claims it consumes.
- CallName
- Stable identifier, 1-128 bytes, using ASCII letters, digits, and
-._:/. - Claim
- One quota budget consumed by a physical provider attempt.
- ClaimKey
- ClaimLabel
- Stable identifier, 1-128 bytes, using ASCII letters, digits, and
-._:/. - Completion
- Store command that completes a permit and applies feedback.
- CompletionOperation
- Prepared completion command.
- DecisionRecord
- Feedback
- Provider feedback applied when a permit is completed.
- FeedbackBuilder
- Builder for validated provider feedback.
- LearnedRemaining
- LeaseRenewal
- Store command that extends a concurrency lease.
- LeaseState
- LimitHeadroom
- Current availability for one claim/limit pair.
- LimitId
- Stable identifier, 1-128 bytes, using ASCII letters, digits, and
-._:/. - LimitRef
- A claim/limit pair that constrained admission.
- Niceness
- Request priority where
0 is most important and 19 is background. - Observed
- Operation value plus feedback that should be stored on completion.
- Pace
- Configured admission gate for one shared quota scope.
- PaceBuilder
- Builder for
Pace. - PartitionKey
- Stable identifier, 1-128 bytes, using ASCII letters, digits, and
-._:/. - Permit
- Granted permit. Must be completed with feedback.
- PermitRecord
- Policy
- Named collection of limits and priority headroom.
- PolicyFingerprint
- PolicyId
- Stable identifier, 1-128 bytes, using ASCII letters, digits, and
-._:/. - PriorityPolicy
- Priority headroom policy.
- PriorityPolicyBuilder
- Builder for
PriorityPolicy. - RegistryAdmission
- Admission command without full policy bodies for remote registries.
- RenewalOperation
- Prepared lease-renewal command.
- ResetReport
- Retention
- Retention horizon for replay/idempotency records.
- ScopeKey
- Stable identifier, 1-128 bytes, using ASCII letters, digits, and
-._:/. - ScopeState
- Durable state for one scope.
- StateKey
- StoreSnapshot
- SystemClock
- Real wall-clock implementation used by default.
- TemporaryState
- TimedCompletion
- TimedConstraint
- TimedRenewal
- AcquireError
- Errors returned by admission and waiting.
- Admission
- One-shot admission result.
- BuildError
- Errors returned while building a
Pace. - CompletionResult
- Result of applying a completion command.
- Eligibility
- Admission recheck timing.
- FeedbackError
- Errors returned while building provider feedback.
- LeaseRenewalResult
- Result of applying a lease-renewal command.
- Limit
- One quota rule inside a policy.
- LimitState
- PolicyError
- Errors returned while constructing policies and limits.
- RunError
- Errors returned by
run, run_observed, and execute. - Signal
- One feedback signal learned from provider responses.
- StoreDecision
- Store decision for one admission request.
- StorePeek
- Read-only headroom response.
- StoreRejection
- Rejections returned by the store algorithm.
- ValidationError
- Errors returned when public identifiers or numeric wrappers are invalid.
- Window
- Time window used by fixed-window limits.
- ALGORITHM_VERSION
- CLOCK_SKEW_ALLOWANCE
- How far past the current horizon a record may claim to live before it is
read as having been stamped under an older, longer retention.
- WIRE_VERSION
- Wire format for store commands.
- Clock
- Clock used by
Pace for admission timestamps and sleeps. - Request
- Typed request wrapper for SDK calls.
- Store
- Storage backend contract.
- collect_at
- Expires replay records, permits, learned constraints and dead leases.
- credential_fingerprint
- Produces a stable, keyed, domain-separated identifier for a credential.
- decide_at
- duration_millis
- finish_at
- peek_at
- renew_at
- reset_policy
- snapshot_at
- success
- Convenience helper for infallible successful observed operations.
- unix_millis
- Current Unix epoch milliseconds from the system clock.
- Attempt
- Result shape for operations that return explicit provider feedback.
- UnixMillis
- Milliseconds since the Unix epoch.