MCPcopy Index your code
hub / github.com/NVIDIA/OpenShell / ObjectType

Interface ObjectType

crates/openshell-server/src/persistence/mod.rs:121–123  ·  view source on GitHub ↗

Trait for inferring an object type string from a message type.

Source from the content-addressed store, hash-verified

119
120/// Trait for inferring an object type string from a message type.
121pub trait ObjectType {
122 fn object_type() -> &'static str;
123}
124
125// Import object metadata accessor traits from openshell-core
126// (implementations for all proto types are in openshell-core::metadata)

Callers

nothing calls this directly

Implementers 7

service_routing.rscrates/openshell-server/src/service_ro
provider_refresh.rscrates/openshell-server/src/provider_r
inference.rscrates/openshell-server/src/inference.
ssh_sessions.rscrates/openshell-server/src/ssh_sessio
provider.rscrates/openshell-server/src/grpc/provi
tests.rscrates/openshell-server/src/persistenc
mod.rscrates/openshell-server/src/compute/mo

Calls

no outgoing calls

Tested by

no test coverage detected