pub trait JobExecutor {
// Required method
fn execute(&self, input: &JobInput) -> Result<JobResult, SwarmError>;
}Expand description
A node that can execute swarm jobs. Object-safe so it can be boxed and swapped (a local cell, a remote peer proxy, a test double).