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

Method managed_builtin

crates/openshell-server/src/compute/mod.rs:143–153  ·  view source on GitHub ↗
(
        driver_kind: ComputeDriverKind,
        channel: Channel,
        driver_process: Arc<ManagedDriverProcess>,
    )

Source from the content-addressed store, hash-verified

141
142impl AcquiredRemoteDriverEndpoint {
143 pub(crate) fn managed_builtin(
144 driver_kind: ComputeDriverKind,
145 channel: Channel,
146 driver_process: Arc<ManagedDriverProcess>,
147 ) -> Self {
148 Self {
149 name: driver_kind.as_str().to_string(),
150 channel,
151 driver_process: Some(driver_process),
152 }
153 }
154
155 pub(crate) fn unmanaged(name: impl Into<String>, channel: Channel) -> Self {
156 Self {

Callers

nothing calls this directly

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected