pub trait Job {
type Output;
// Required method
fn run(&mut self, timeout: Duration) -> Result<Self::Output, NanonisError>;
}Expand description
A trait for long-running processes that can succeed, fail, or timeout
Jobs represent autonomous processes like tip controllers, scanning operations, monitoring loops, or any other task that runs for a duration and produces a result.