pub enum DecisionMethod {
Heuristic,
LlmClassifier,
PinOverride,
RuleMatch,
ScenarioMatch,
ContextUpgrade,
BudgetDowngrade,
}Expand description
How the routing decision was made.
Variants§
Heuristic
Heuristic scoring from structural / behavioral signals.
LlmClassifier
LLM-based classifier for ambiguous cases.
PinOverride
Explicit pin override from user config.
RuleMatch
Custom rule matched.
ScenarioMatch
Tool-type scenario matched (web_search, thinking, etc.).
ContextUpgrade
Automatic upgrade due to context length.
BudgetDowngrade
Automatic downgrade due to budget constraints.
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 moreimpl Copy for DecisionMethod
Source§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
impl Eq for DecisionMethod
Source§impl Hash for DecisionMethod
impl Hash for DecisionMethod
Source§impl PartialEq for DecisionMethod
impl PartialEq for DecisionMethod
Source§impl Serialize for DecisionMethod
impl Serialize for DecisionMethod
impl StructuralPartialEq for DecisionMethod
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.