MCPcopy Index your code
hub / github.com/davidhewitt/pythonize / deserialize_unit

Method deserialize_unit

src/de.rs:250–259  ·  view source on GitHub ↗
(self, visitor: V)

Source from the content-addressed store, hash-verified

248 }
249
250 fn deserialize_unit<V>(self, visitor: V) -> Result<V::Value>
251 where
252 V: de::Visitor<'de>,
253 {
254 if self.input.is_none() {
255 visitor.visit_unit()
256 } else {
257 Err(PythonizeError::msg("expected None"))
258 }
259 }
260
261 fn deserialize_unit_struct<V>(self, _name: &'static str, visitor: V) -> Result<V::Value>
262 where

Callers 2

deserialize_anyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected