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

Method from_success

crates/openshell-core/src/telemetry.rs:77–83  ·  view source on GitHub ↗
(success: bool)

Source from the content-addressed store, hash-verified

75
76 #[must_use]
77 pub const fn from_success(success: bool) -> Self {
78 if success {
79 Self::Success
80 } else {
81 Self::Failure
82 }
83 }
84}
85
86#[derive(Debug, Clone, Copy, PartialEq, Eq)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected