pub enum RuleMatch {
TaskClass(usize),
Pattern(usize),
FallThrough,
}Expand description
Which table entry decided a route — the provenance half of the decision,
recorded per worker session so the effective route is never a hidden
implementation detail (ticket routing-rules-config).
Variants§
TaskClass(usize)
taskClassRules[i] matched the task class exactly (after
normalization).
Pattern(usize)
patternRules[i] matched — consulted only when no exact rule did.
FallThrough
No rule matched; the fall-through to ExecutorTier::Frontier
decided.
Implementations§
Trait Implementations§
impl Copy for RuleMatch
impl Eq for RuleMatch
impl StructuralPartialEq for RuleMatch
Auto Trait Implementations§
impl Freeze for RuleMatch
impl RefUnwindSafe for RuleMatch
impl Send for RuleMatch
impl Sync for RuleMatch
impl Unpin for RuleMatch
impl UnsafeUnpin for RuleMatch
impl UnwindSafe for RuleMatch
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