pub enum Counter {
Turns,
ToolCalls,
FleetDispatch,
WorkflowRun,
SubagentSpawn,
McpServerConnected,
MemorySearch,
ApprovalModalShown,
ApprovalAutoAllowed,
CommandPaletteOpen,
}Expand description
Which counter to bump. A closed enum so a call site cannot invent a key.
Variants§
Turns
A model turn completed.
ToolCalls
A tool call was executed.
FleetDispatch
A fleet dispatch started.
WorkflowRun
A workflow_run action was parsed and executed.
SubagentSpawn
A sub-agent was spawned.
McpServerConnected
An MCP server reached connected.
MemorySearch
A native-memory search ran.
ApprovalModalShown
An approval modal was shown.
ApprovalAutoAllowed
An approval was granted by an auto-allow rule.
CommandPaletteOpen
The command palette was opened.
Trait Implementations§
impl Copy for Counter
impl Eq for Counter
impl StructuralPartialEq for Counter
Auto Trait Implementations§
impl Freeze for Counter
impl RefUnwindSafe for Counter
impl Send for Counter
impl Sync for Counter
impl Unpin for Counter
impl UnsafeUnpin for Counter
impl UnwindSafe for Counter
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.