#[non_exhaustive]pub enum DelegationTarget {
Local,
Claude,
Flow,
Auto,
}Expand description
Where a task should be executed.
Serializes to snake_case ("local", "claude", "flow", "auto").
For backward compatibility, old PascalCase values ("Local", "Claude",
"Flow", "Auto") are accepted on deserialization via serde aliases.
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.
Local
Execute locally (built-in tool pipeline).
Claude
Delegate to Claude AI.
Flow
Delegate to Claude Flow orchestration.
Auto
Automatically decide based on complexity heuristics.
Trait Implementations§
Source§impl Clone for DelegationTarget
impl Clone for DelegationTarget
Source§fn clone(&self) -> DelegationTarget
fn clone(&self) -> DelegationTarget
Returns a duplicate of the value. Read more
1.0.0 · 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 DelegationTarget
impl Debug for DelegationTarget
Source§impl Default for DelegationTarget
impl Default for DelegationTarget
Source§fn default() -> DelegationTarget
fn default() -> DelegationTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DelegationTarget
impl<'de> Deserialize<'de> for DelegationTarget
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
Source§impl PartialEq for DelegationTarget
impl PartialEq for DelegationTarget
Source§impl Serialize for DelegationTarget
impl Serialize for DelegationTarget
impl Copy for DelegationTarget
impl Eq for DelegationTarget
impl StructuralPartialEq for DelegationTarget
Auto Trait Implementations§
impl Freeze for DelegationTarget
impl RefUnwindSafe for DelegationTarget
impl Send for DelegationTarget
impl Sync for DelegationTarget
impl Unpin for DelegationTarget
impl UnsafeUnpin for DelegationTarget
impl UnwindSafe for DelegationTarget
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