MCPcopy Create free account
hub / github.com/concensure/Semantic / parse

Method parse

telemetry/src/lib.rs:23–29  ·  view source on GitHub ↗
(raw: &str)

Source from the content-addressed store, hash-verified

21
22impl RedactionLevel {
23 fn parse(raw: &str) -> Self {
24 match raw.trim().to_lowercase().as_str() {
25 "debug" => Self::Debug,
26 "balanced" => Self::Balanced,
27 _ => Self::Strict,
28 }
29 }
30}
31
32#[derive(Debug, Clone, Serialize, Deserialize)]

Callers 2

mainFunction · 0.45
listOverdueTasksFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected