#[non_exhaustive]pub enum BootFlowTaskDeduplication {
Disabled,
UntilTerminal,
UntilTerminalOrTtl(Duration),
}Expand description
How a Boot queue coalesces duplicate Flow task targets.
The derived ID excludes scan timestamps and hook payloads. It identifies the logical Flow target instead: a run, wait, hook, callback token, targeted scheduled run, or compatibility-wide due scan. IDs are SHA-256 digests, so callback tokens are not exposed in queue metadata.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Disabled
Submit every dispatch as a distinct Boot job.
UntilTerminal
Coalesce matching jobs until the current owner becomes terminal.
UntilTerminalOrTtl(Duration)
Coalesce matching jobs until the owner becomes terminal or the TTL expires.
Trait Implementations§
Source§impl Clone for BootFlowTaskDeduplication
impl Clone for BootFlowTaskDeduplication
Source§fn clone(&self) -> BootFlowTaskDeduplication
fn clone(&self) -> BootFlowTaskDeduplication
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 BootFlowTaskDeduplication
Source§impl Debug for BootFlowTaskDeduplication
impl Debug for BootFlowTaskDeduplication
Source§impl Default for BootFlowTaskDeduplication
impl Default for BootFlowTaskDeduplication
Source§fn default() -> BootFlowTaskDeduplication
fn default() -> BootFlowTaskDeduplication
Returns the “default value” for a type. Read more
impl Eq for BootFlowTaskDeduplication
impl StructuralPartialEq for BootFlowTaskDeduplication
Auto Trait Implementations§
impl Freeze for BootFlowTaskDeduplication
impl RefUnwindSafe for BootFlowTaskDeduplication
impl Send for BootFlowTaskDeduplication
impl Sync for BootFlowTaskDeduplication
impl Unpin for BootFlowTaskDeduplication
impl UnsafeUnpin for BootFlowTaskDeduplication
impl UnwindSafe for BootFlowTaskDeduplication
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§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.