MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / with_enabled_flag

Method with_enabled_flag

crates/openshell-ocsf/src/tracing_layers/jsonl_layer.rs:46–49  ·  view source on GitHub ↗
(mut self, flag: Arc<AtomicBool>)

Source from the content-addressed store, hash-verified

44 /// When the flag is absent (the default), the layer always writes.
45 #[must_use]
46 pub fn with_enabled_flag(mut self, flag: Arc<AtomicBool>) -> Self {
47 self.enabled = Some(flag);
48 self
49 }
50}
51
52impl<S, W> Layer<S> for OcsfJsonlLayer<W>

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected