siafu 0.0.11

Ergonomic job scheduling library for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::time::SystemTime;
use crate::error::Error as JobSchedulerError;

pub trait JobExecutor {
    
    fn run(&mut self) -> Result<(), JobSchedulerError>;

    fn get_next_run(&self) -> Option<SystemTime> {
        None
    }
}