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

Method new

crates/openshell-ocsf/src/objects/connection.rs:21–25  ·  view source on GitHub ↗
(protocol: &str)

Source from the content-addressed store, hash-verified

19 /// Create connection info with the given protocol.
20 #[must_use]
21 pub fn new(protocol: &str) -> Self {
22 Self {
23 protocol_name: protocol.to_string(),
24 }
25 }
26}
27
28#[cfg(test)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected