(self, visitor: V)
| 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 |
no outgoing calls
no test coverage detected