pub struct Schedule;
Expand description
Base type for creating tasks.
Implementations§
Source§impl Schedule
impl Schedule
Sourcepub fn every() -> ScheduleBuilderOne
pub fn every() -> ScheduleBuilderOne
Run a task every single interval of time.
Sourcepub fn every_num(amount: u32) -> ScheduleBuilderOnes
pub fn every_num(amount: u32) -> ScheduleBuilderOnes
Run a task every X intervals of time.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnwindSafe for Schedule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more