pub enum TriggerKind {
Immediate,
Auto,
At,
Every,
Overnight,
}Expand description
What kind of demand a trigger records. The kind is also what decides how the trigger becomes due and what firing it does next.
Variants§
Immediate
sloop run — due the moment the gates allow it.
Auto
sloop post --auto — the ticket asked for itself; no schedule.
At
sloop run --at HH:MM — due once, at or after an instant.
Every
sloop run --every <interval> — due repeatedly, rearming per fire.
Overnight
sloop run --overnight — due once, at or after the next opening of
running hours.
Implementations§
Trait Implementations§
Source§impl Clone for TriggerKind
impl Clone for TriggerKind
Source§fn clone(&self) -> TriggerKind
fn clone(&self) -> TriggerKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TriggerKind
Source§impl Debug for TriggerKind
impl Debug for TriggerKind
impl Eq for TriggerKind
Source§impl PartialEq for TriggerKind
impl PartialEq for TriggerKind
impl StructuralPartialEq for TriggerKind
Auto Trait Implementations§
impl Freeze for TriggerKind
impl RefUnwindSafe for TriggerKind
impl Send for TriggerKind
impl Sync for TriggerKind
impl Unpin for TriggerKind
impl UnsafeUnpin for TriggerKind
impl UnwindSafe for TriggerKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.