Skip to main content

Crate headgate_shared

Crate headgate_shared 

Source
Expand description

Dependency-light data types and utilities shared across headgate crates.

This crate contains no store driver, network client, runtime, or exporter dependency, keeping it safe for core, adapters, and optional integrations to use as a leaf.

Modules§

codec
inspection

Structs§

AdmissionEvaluation
AdmissionFacts
Checkpoint
Durable progress within a resumable job.

Enums§

AckValidation
MissedPolicy
What happens to periodic runs missed during downtime.
OpaqueSchemaValidation
Outcome
Portable lifecycle result written by every worker runtime and store.
Resume

Constants§

DEFAULT_MAX_ATTEMPTS
DEFAULT_QUEUE
DEFAULT_SCHEMA_VERSION
DEFAULT_WEIGHT
MAX_OPAQUE_SCHEMA_VERSION

Functions§

bulk_action_states
duration_millis
Validate the millisecond wire boundary without truncating a positive sub-millisecond duration or overflowing the signed store representation.
effective_max_attempts
effective_queue
effective_schema_version
effective_weight
evaluate_admission
format_generated_id
normalize_queues
valid_worker_command
validate_ack
validate_opaque_schema