pub enum DecisionMethod {
SingleCandidate,
Structured,
LlmTiebreaker,
NoCandidates,
BelowThreshold,
TiebreakerFailed,
}Expand description
How the coordinator arrived at its final routing decision.
Variants§
SingleCandidate
Only one candidate was available; chosen without further scoring.
Structured
Winner determined by structured multi-dimensional scoring.
LlmTiebreaker
Structured scoring produced a tie; an LLM tiebreaker broke it.
NoCandidates
No candidates were available; routing failed.
BelowThreshold
The highest-scoring candidate did not meet the minimum threshold.
TiebreakerFailed
The LLM tiebreaker was invoked but failed (e.g. timeout, error).
Trait Implementations§
Source§impl Clone for DecisionMethod
impl Clone for DecisionMethod
Source§fn clone(&self) -> DecisionMethod
fn clone(&self) -> DecisionMethod
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 moreSource§impl Debug for DecisionMethod
impl Debug for DecisionMethod
Source§impl<'de> Deserialize<'de> for DecisionMethod
impl<'de> Deserialize<'de> for DecisionMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DecisionMethod
impl RefUnwindSafe for DecisionMethod
impl Send for DecisionMethod
impl Sync for DecisionMethod
impl Unpin for DecisionMethod
impl UnsafeUnpin for DecisionMethod
impl UnwindSafe for DecisionMethod
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