Expand description
Shared types for Pollen distributed task scheduler.
This crate contains all the core types used across the Pollen system, including identifiers, errors, and common data structures.
Modules§
- prelude
- Re-export commonly used types
Structs§
- Cluster
Config - Configuration for cluster networking.
- Cluster
State - Current state of the cluster.
- Instance
Id - Unique identifier for a task instance (single execution).
- Member
- Information about a cluster member.
- NodeId
- Unique identifier for a node in the cluster.
- Retry
Policy - Retry policy for failed tasks.
- Task
Config - Task configuration options.
- Task
Context - Execution context passed to task handlers.
- TaskDef
- Task definition - the blueprint for a scheduled task.
- TaskId
- Unique identifier for a task definition.
- Task
Instance - Task instance - a single execution of a task.
Enums§
- Cluster
Error - Cluster-specific errors.
- Execution
Error - Execution-specific errors.
- Member
State - State of a cluster member.
- Membership
Event - Event indicating a change in cluster membership.
- Pollen
Error - Main error type for Pollen operations.
- Schedule
- Schedule configuration for a task.
- Storage
Error - Storage-specific errors.
- Task
Status - Status of a task instance.
- Transport
Error - Transport-specific errors.
Type Aliases§
- Result
- Result type for Pollen operations.