shepherd-rs 0.2.0

Shepherd is a resilient, non-blocking orchestrator that persistently transforms and delivers data—built for remote, compute-heavy workloads.
Documentation
//! # Worker Instance Trait
//!
//! This trait defines the behavior of worker instances in the shepherd
//! framework.
//!
//! ## Overview
//! - **WorkerInstance**: Represents a worker instance that processes
//!   transformation attempts.
//!
//! ## Example
//! ```rust
//! struct MyWorkerInstance;
//!
//! impl WorkerInstance for MyWorkerInstance {
//!     // Implementation details...
//! }
//! ```

use async_trait::async_trait;

#[async_trait]
pub trait WorkerInstance {
    type TransformAttempt;

    async fn wi_loop();
}