MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / fmt

Method fmt

graphlite/src/exec/context.rs:46–70  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

44// Manual Debug implementation to avoid SessionProvider Debug requirement
45impl std::fmt::Debug for ExecutionContext {
46 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
47 f.debug_struct("ExecutionContext")
48 .field("session_id", &self.session_id)
49 .field(
50 "session_provider",
51 &self
52 .session_provider
53 .as_ref()
54 .map(|_| "Some(SessionProvider)"),
55 )
56 .field("variables", &self.variables)
57 .field("variable_types", &self.variable_types)
58 .field("schema_types", &self.schema_types)
59 .field("current_graph", &self.current_graph)
60 .field("storage_manager", &self.storage_manager)
61 .field("function_registry", &self.function_registry)
62 .field(
63 "cache_manager",
64 &self.cache_manager.as_ref().map(|_| "Some(CacheManager)"),
65 )
66 .field("current_user", &self.current_user)
67 .field("current_transaction", &self.current_transaction)
68 .field("warnings", &self.warnings)
69 .finish()
70 }
71}
72
73impl ExecutionContext {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected