pub enum Task {
Wait(u64, Option<Skip>),
Interval(u64, Option<Skip>),
At(Time, Option<Skip>),
Once(OffsetDateTime),
}Variants§
Wait(u64, Option<Skip>)
wait seconds
Interval(u64, Option<Skip>)
interval seconds
At(Time, Option<Skip>)
at time
Once(OffsetDateTime)
exact time
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnwindSafe for Task
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