MCPcopy Create free account
hub / github.com/ccusage/ccusage / fail

Method fail

rust/crates/ccusage/src/progress.rs:203–205  ·  view source on GitHub ↗
(&mut self, agent: UsageLoadAgent)

Source from the content-addressed store, hash-verified

201 }
202
203 pub(crate) fn fail(&mut self, agent: UsageLoadAgent) {
204 self.set_state(agent, LoadProgressState::Failed);
205 }
206
207 pub(crate) fn stop(&mut self) {
208 if !self.enabled || self.stopped {

Callers 2

track_usage_loadFunction · 0.80
load_agent_rows_parallelFunction · 0.80

Calls 1

set_stateMethod · 0.80

Tested by

no test coverage detected