ayun-schedule 0.21.0

The RUST Framework for Web Rustceans.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod service;
pub mod task;

pub type Error = ayun_core::Error;

pub type Result<T, E = Error> = ayun_core::Result<T, E>;

#[derive(Clone, Default)]
pub struct Schedule {
    tasks: Vec<task::Task>,
}

impl Schedule {
    pub fn tasks(&self) -> &Vec<task::Task> {
        &self.tasks
    }
}