Lines Matching refs:serde
7 use serde::de::{
11 use serde::{forward_to_deserialize_any, serde_if_integer128};
20 D: serde::Deserializer<'de>, in deserialize()
55 E: serde::de::Error, in deserialize()
74 D: serde::Deserializer<'de>, in deserialize()
177 Err(serde::de::Error::invalid_length( in visit_array()
195 Err(serde::de::Error::invalid_length( in visit_object()
202 impl<'de> serde::Deserializer<'de> for Value {
264 return Err(serde::de::Error::invalid_value( in deserialize_enum()
272 return Err(serde::de::Error::invalid_value( in deserialize_enum()
281 return Err(serde::de::Error::invalid_type( in deserialize_enum()
502 None => Err(serde::de::Error::invalid_type( in newtype_variant_seed()
515 serde::Deserializer::deserialize_any(SeqDeserializer::new(v), visitor) in tuple_variant()
517 Some(other) => Err(serde::de::Error::invalid_type( in tuple_variant()
521 None => Err(serde::de::Error::invalid_type( in tuple_variant()
538 serde::Deserializer::deserialize_any(MapDeserializer::new(v), visitor) in struct_variant()
540 Some(other) => Err(serde::de::Error::invalid_type( in struct_variant()
544 None => Err(serde::de::Error::invalid_type( in struct_variant()
564 impl<'de> serde::Deserializer<'de> for SeqDeserializer {
581 Err(serde::de::Error::invalid_length( in deserialize_any()
656 None => Err(serde::de::Error::custom("value is missing")), in next_value_seed()
668 impl<'de> serde::Deserializer<'de> for MapDeserializer {
723 Err(serde::de::Error::invalid_length( in visit_array_ref()
741 Err(serde::de::Error::invalid_length( in visit_object_ref()
748 impl<'de> serde::Deserializer<'de> for &'de Value { impl
806 return Err(serde::de::Error::invalid_value( in deserialize_enum()
814 return Err(serde::de::Error::invalid_value( in deserialize_enum()
823 return Err(serde::de::Error::invalid_type( in deserialize_enum()
1033 None => Err(serde::de::Error::invalid_type( in newtype_variant_seed()
1046 serde::Deserializer::deserialize_any(SeqRefDeserializer::new(v), visitor) in tuple_variant()
1048 Some(other) => Err(serde::de::Error::invalid_type( in tuple_variant()
1052 None => Err(serde::de::Error::invalid_type( in tuple_variant()
1069 serde::Deserializer::deserialize_any(MapRefDeserializer::new(v), visitor) in struct_variant()
1071 Some(other) => Err(serde::de::Error::invalid_type( in struct_variant()
1075 None => Err(serde::de::Error::invalid_type( in struct_variant()
1093 impl<'de> serde::Deserializer<'de> for SeqRefDeserializer<'de> {
1110 Err(serde::de::Error::invalid_length( in deserialize_any()
1185 None => Err(serde::de::Error::custom("value is missing")), in next_value_seed()
1197 impl<'de> serde::Deserializer<'de> for MapRefDeserializer<'de> {
1235 impl<'de> serde::Deserializer<'de> for MapKeyDeserializer<'de> {
1315 D: serde::Deserializer<'de>, in deserialize()
1360 E: serde::de::Error, in invalid_type()
1362 serde::de::Error::invalid_type(self.unexpected(), exp) in invalid_type()