Lines Matching refs:deserializer
35 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
39 deserializer.deserialize_unit(UnitVisitor) in deserialize()
73 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
77 deserializer.deserialize_bool(BoolVisitor) in deserialize()
87 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
103 deserializer.$deserialize(PrimitiveVisitor)
353 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
357 deserializer.deserialize_char(CharVisitor) in deserialize()
472 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
476 deserializer.deserialize_string(StringVisitor) in deserialize()
479 fn deserialize_in_place<D>(deserializer: D, place: &mut Self) -> Result<(), D::Error> in deserialize_in_place()
483 deserializer.deserialize_string(StringInPlaceVisitor(place)) in deserialize_in_place()
514 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
518 deserializer.deserialize_str(StrVisitor) in deserialize()
549 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
553 deserializer.deserialize_bytes(BytesVisitor) in deserialize()
615 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
619 deserializer.deserialize_byte_buf(CStringVisitor) in deserialize()
630 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
634 Deserialize::deserialize(deserializer).map($func)
679 fn visit_some<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in visit_some()
683 T::deserialize(deserializer).map(Some) in visit_some()
687 fn __private_visit_untagged_option<D>(self, deserializer: D) -> Result<Self::Value, ()> in __private_visit_untagged_option()
691 Ok(T::deserialize(deserializer).ok()) in __private_visit_untagged_option()
699 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
703 deserializer.deserialize_option(OptionVisitor { in deserialize()
738 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
745 deserializer.deserialize_unit_struct("PhantomData", visitor) in deserialize()
766 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
801 deserializer.deserialize_seq(visitor)
804 fn deserialize_in_place<D>(deserializer: D, place: &mut Self) -> Result<(), D::Error>
838 deserializer.deserialize_seq(SeqInPlaceVisitor(place))
904 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
939 deserializer.deserialize_seq(visitor) in deserialize()
942 fn deserialize_in_place<D>(deserializer: D, place: &mut Self) -> Result<(), D::Error> in deserialize_in_place()
986 deserializer.deserialize_seq(VecInPlaceVisitor(place)) in deserialize_in_place()
1023 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1027 deserializer.deserialize_tuple(0, ArrayVisitor::<[T; 0]>::new()) in deserialize()
1091 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
1095 deserializer.deserialize_tuple($len, ArrayVisitor::<[T; $len]>::new())
1098 … fn deserialize_in_place<D>(deserializer: D, place: &mut Self) -> Result<(), D::Error>
1102 deserializer.deserialize_tuple($len, ArrayInPlaceVisitor(place))
1151 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
1183 deserializer.deserialize_tuple($len, TupleVisitor { marker: PhantomData })
1187 … fn deserialize_in_place<D>(deserializer: D, place: &mut Self) -> Result<(), D::Error>
1216 deserializer.deserialize_tuple($len, TupleInPlaceVisitor(place))
1257 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
1293 deserializer.deserialize_map(visitor)
1317 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
1321 if deserializer.is_human_readable() {
1322 deserializer.deserialize_str(FromStrVisitor::new($expecting))
1324 <[u8; $size]>::deserialize(deserializer).map(<$ty>::from)
1345 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
1400 deserializer.deserialize_identifier(KindVisitor)
1411 $deserializer: expr
1439 $deserializer.deserialize_enum(stringify!($name), VARIANTS, EnumVisitor)
1445 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1449 if deserializer.is_human_readable() { in deserialize()
1450 deserializer.deserialize_str(FromStrVisitor::new("IP address")) in deserialize()
1456 deserializer in deserialize()
1472 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
1476 if deserializer.is_human_readable() {
1477 deserializer.deserialize_str(FromStrVisitor::new($expecting))
1479 <(_, u16)>::deserialize(deserializer).map(|(ip, port)| $new(ip, port))
1488 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1492 if deserializer.is_human_readable() { in deserialize()
1493 deserializer.deserialize_str(FromStrVisitor::new("socket address")) in deserialize()
1499 deserializer in deserialize()
1545 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1549 deserializer.deserialize_str(PathVisitor) in deserialize()
1599 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1603 deserializer.deserialize_string(PathBufVisitor) in deserialize()
1669 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1673 deserializer.deserialize_enum("OsString", OSSTR_VARIANTS, OsStringVisitor) in deserialize()
1727 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1731 T::Owned::deserialize(deserializer).map(Cow::Owned) in deserialize()
1746 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1750 try!(Option::<T>::deserialize(deserializer)); in deserialize()
1764 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1768 try!(Option::<T>::deserialize(deserializer)); in deserialize()
1786 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
1790 Box::deserialize(deserializer).map(Into::into)
1826 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1830 T::deserialize(deserializer).map(Cell::new) in deserialize()
1854 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1868 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
1907 deserializer.deserialize_identifier(FieldVisitor) in deserialize()
1987 deserializer.deserialize_struct("Duration", FIELDS, DurationVisitor) in deserialize()
1995 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2006 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2045 deserializer.deserialize_identifier(FieldVisitor) in deserialize()
2129 let duration = try!(deserializer.deserialize_struct("SystemTime", FIELDS, DurationVisitor)); in deserialize()
2154 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2158 let (start, end) = deserializer.deserialize_struct( in deserialize()
2175 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2179 let (start, end) = deserializer.deserialize_struct( in deserialize()
2208 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2247 deserializer.deserialize_identifier(FieldVisitor) in deserialize()
2327 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2339 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2394 deserializer.deserialize_identifier(FieldVisitor) in deserialize()
2424 deserializer.deserialize_enum("Bound", VARIANTS, BoundVisitor(PhantomData)) in deserialize()
2435 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
2439 let value = try!(Deserialize::deserialize(deserializer));
2487 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2502 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2554 deserializer.deserialize_identifier(FieldVisitor) in deserialize()
2584 deserializer.deserialize_enum("Result", VARIANTS, ResultVisitor(PhantomData)) in deserialize()
2594 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize()
2598 Deserialize::deserialize(deserializer).map(Wrapping) in deserialize()
2607 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
2611 Deserialize::deserialize(deserializer).map(Self::new)