rucron 0.1.6

A Rust Job Scheduling Crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use thiserror::Error;

#[derive(Error, Debug)]
pub enum RucronError {
    #[error("failed to parse argument from ArgStorage, error: {0}")]
    ParseArgsError(String),
    #[error("when run job found error: {0}")]
    RunTimeError(String),
    #[error("when lock found error: {0}")]
    LockError(String),
    #[error("when unlock found error: {0}")]
    UnLockError(String),
    #[error("job is not found")]
    NotFound,
    #[error("when serialize or deserialize found error: {0}")]
    SerdeError(String),
}