Struct quartz_sched::Task
source · [−]Expand description
Task is a schedulable unit which encapsulates
the job
and its trigger
.
Fields
job: Arc<dyn Job>
trigger: Box<dyn Trigger>
Trait Implementations
sourceimpl PartialEq<Task> for Task
impl PartialEq<Task> for Task
impl Eq for Task
impl Send for Task
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.