Skip to main content

Crate pollen_types

Crate pollen_types 

Source
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§

ClusterConfig
Configuration for cluster networking.
ClusterState
Current state of the cluster.
InstanceId
Unique identifier for a task instance (single execution).
Member
Information about a cluster member.
NodeId
Unique identifier for a node in the cluster.
RetryPolicy
Retry policy for failed tasks.
TaskConfig
Task configuration options.
TaskContext
Execution context passed to task handlers.
TaskDef
Task definition - the blueprint for a scheduled task.
TaskId
Unique identifier for a task definition.
TaskInstance
Task instance - a single execution of a task.

Enums§

ClusterError
Cluster-specific errors.
ExecutionError
Execution-specific errors.
MemberState
State of a cluster member.
MembershipEvent
Event indicating a change in cluster membership.
PollenError
Main error type for Pollen operations.
Schedule
Schedule configuration for a task.
StorageError
Storage-specific errors.
TaskStatus
Status of a task instance.
TransportError
Transport-specific errors.

Type Aliases§

Result
Result type for Pollen operations.