pub enum DevToolKind {
ClaudeCode,
Codex,
GitHubCopilot,
WindsurfCascade,
Custom(String),
}Expand description
Concrete kind of AI dev tool being governed.
Concrete variants are matched against built-in DevToolAdapter
implementations. The Custom variant lets out-of-tree
adapters identify themselves by name without requiring a code change
to this enum.
Variants§
ClaudeCode
Anthropic Claude Code (CLI).
Codex
OpenAI Codex CLI.
GitHubCopilot
GitHub Copilot operating in agent mode.
WindsurfCascade
Codeium Windsurf Cascade IDE agent.
Custom(String)
Adapter-defined custom tool identified by an opaque name string.
Trait Implementations§
Source§impl Clone for DevToolKind
impl Clone for DevToolKind
Source§fn clone(&self) -> DevToolKind
fn clone(&self) -> DevToolKind
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 DevToolKind
impl Debug for DevToolKind
impl Eq for DevToolKind
Source§impl Hash for DevToolKind
impl Hash for DevToolKind
Source§impl PartialEq for DevToolKind
impl PartialEq for DevToolKind
Source§fn eq(&self, other: &DevToolKind) -> bool
fn eq(&self, other: &DevToolKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DevToolKind
Auto Trait Implementations§
impl Freeze for DevToolKind
impl RefUnwindSafe for DevToolKind
impl Send for DevToolKind
impl Sync for DevToolKind
impl Unpin for DevToolKind
impl UnsafeUnpin for DevToolKind
impl UnwindSafe for DevToolKind
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.