MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / visit_str

Method visit_str

nodedb/src/config/server/section.rs:139–141  ·  view source on GitHub ↗
(self, v: &str)

Source from the content-addressed store, hash-verified

137 }
138
139 fn visit_str<E: de::Error>(self, v: &str) -> std::result::Result<usize, E> {
140 parse_memory_size(v).map_err(|e| de::Error::custom(format!("memory_limit: {e}")))
141 }
142 }
143
144 deserializer.deserialize_any(MemSizeVisitor)

Callers

nothing calls this directly

Calls 1

parse_memory_sizeFunction · 0.85

Tested by

no test coverage detected