MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / as_str

Method as_str

atomic-agent/src/turn/phase.rs:155–162  ·  view source on GitHub ↗

Returns the canonical string representation.

(&self)

Source from the content-addressed store, hash-verified

153
154 /// Returns the canonical string representation.
155 pub fn as_str(&self) -> &'static str {
156 match self {
157 Phase::Idle => "idle",
158 Phase::Active => "active",
159 Phase::ActiveRecorded => "active_recorded",
160 Phase::Ended => "ended",
161 }
162 }
163}
164
165impl fmt::Display for Phase {

Callers 15

build_turn_provenanceFunction · 0.45
fmtMethod · 0.45
handle_turn_startMethod · 0.45
handle_turn_endMethod · 0.45
handle_tool_useMethod · 0.45
ingest_sherpa_traceMethod · 0.45
handle_session_startMethod · 0.45
extract_user_contentFunction · 0.45
generateMethod · 0.45

Calls

no outgoing calls