mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
9 lines
157 B
Rust
9 lines
157 B
Rust
use chrono::{DateTime, Utc};
|
|
|
|
pub mod basic;
|
|
|
|
pub trait Task: Send + Sync {
|
|
fn get_next_execution(&self) -> Option<DateTime<Utc>>;
|
|
fn call(&self);
|
|
}
|