Home
last modified time | relevance | path

Searched refs:SerializeMap (Results 1 – 18 of 18) sorted by relevance

/external/rust/crates/serde_json/src/value/
Dser.rs25 use serde::ser::SerializeMap; in serialize()
66 type SerializeMap = SerializeMap; typedef
67 type SerializeStruct = SerializeMap;
242 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap> { in serialize_map() argument
243 Ok(SerializeMap::Map { in serialize_map()
252 crate::number::TOKEN => Ok(SerializeMap::Number { out_value: None }), in serialize_struct()
254 crate::raw::TOKEN => Ok(SerializeMap::RawValue { out_value: None }), in serialize_struct()
289 pub enum SerializeMap { enum
375 impl serde::ser::SerializeMap for SerializeMap { implementation
384 SerializeMap::Map { in serialize_key()
[all …]
/external/rust/crates/serde_cbor/src/value/
Dser.rs48 type SerializeMap = SerializeMap; typedef
49 type SerializeStruct = SerializeMap;
218 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap, Error> { in serialize_map() argument
219 Ok(SerializeMap { in serialize_map()
261 pub struct SerializeMap { struct
341 impl serde::ser::SerializeMap for SerializeMap { implementation
370 impl serde::ser::SerializeStruct for SerializeMap { implementation
378 serde::ser::SerializeMap::serialize_key(self, key)?; in serialize_field()
379 serde::ser::SerializeMap::serialize_value(self, value) in serialize_field()
383 serde::ser::SerializeMap::end(self) in end()
/external/rust/crates/serde/src/private/
Dser.rs3 use ser::{self, Impossible, Serialize, SerializeMap, SerializeStruct, Serializer};
106 type SerializeMap = S::SerializeMap; typedef
112 type SerializeTupleVariant = SerializeTupleVariantAsMapValue<S::SerializeMap>;
117 type SerializeStructVariant = SerializeStructVariantAsMapValue<S::SerializeMap>;
282 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap, Self::Error> { in serialize_map() argument
362 M: ser::SerializeMap,
402 M: ser::SerializeMap,
526 use ser::SerializeMap; in serialize()
574 type SerializeMap = SerializeMap<E>; typedef
736 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap, E> { in serialize_map() argument
[all …]
Ddoc.rs148 type SerializeMap = $crate::ser::Impossible<Self::Ok, Self::Error>;
149 __serialize_unimplemented_method!(serialize_map(Option<usize>) -> SerializeMap);
/external/rust/crates/serde/src/ser/
Dmod.rs373 type SerializeMap: SerializeMap<Ok = Self::Ok, Error = Self::Error>; typedef
1170 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap, Self::Error>; in serialize_map() argument
1769 pub trait SerializeMap { interface
Dimpossible.rs6 self, Serialize, SerializeMap, SerializeSeq, SerializeStruct, SerializeStructVariant,
148 impl<Ok, Error> SerializeMap for Impossible<Ok, Error>
Dfmt.rs44 type SerializeMap = Impossible<(), fmt::Error>; typedef
146 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap, fmt::Error> { in serialize_map() argument
/external/rust/crates/serde_derive/src/
Dser.rs366 serialize_struct_visitor(fields, params, false, &StructTrait::SerializeMap); in serialize_struct_as_map()
368 let tag_field = serialize_struct_tag_field(cattrs, &StructTrait::SerializeMap); in serialize_struct_as_map()
400 _serde::ser::SerializeMap::end(__serde_state) in serialize_struct_as_map()
959 let struct_trait = StructTrait::SerializeMap; in serialize_struct_variant_with_flatten()
998 _serde::ser::SerializeMap::end(__serde_state) in serialize_struct_variant_with_flatten()
1018 try!(_serde::ser::SerializeMap::serialize_entry( in serialize_struct_variant_with_flatten()
1024 _serde::ser::SerializeMap::end(__serde_state) in serialize_struct_variant_with_flatten()
1033 _serde::ser::SerializeMap::end(__serde_state) in serialize_struct_variant_with_flatten()
1285 SerializeMap, enumerator
1293 StructTrait::SerializeMap => { in serialize_field()
[all …]
/external/rust/crates/serde_test/src/
Dconfigure.rs4 SerializeMap, SerializeSeq, SerializeStruct, SerializeStructVariant, SerializeTuple,
192 type SerializeMap = $wrapper<S::SerializeMap>;
296 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap, Self::Error> {
389 impl<S> SerializeMap for $wrapper<S> impl
391 S: SerializeMap,
Dser.rs86 type SerializeMap = Self; typedef
394 impl<'s, 'a> ser::SerializeMap for &'s mut Serializer<'a> {
/external/rust/crates/csv/src/
Dserializer.rs8 Error as SerdeError, Serialize, SerializeMap, SerializeSeq,
37 type SerializeMap = Self; typedef
207 ) -> Result<Self::SerializeMap, Self::Error> { in serialize_map() argument
299 impl<'a, 'w, W: io::Write> SerializeMap for &'a mut SeRecord<'w, W> { impl
501 type SerializeMap = Self; typedef
657 ) -> Result<Self::SerializeMap, Self::Error> { in serialize_map() argument
749 impl<'a, 'w, W: io::Write> SerializeMap for &'a mut SeHeader<'w, W> { impl
/external/rust/crates/serde_json/src/
Dser.rs69 type SerializeMap = Compound<'a, W, F>; typedef
387 fn serialize_map(self, len: Option<usize>) -> Result<Self::SerializeMap> { in serialize_map() argument
666 impl<'a, W, F> ser::SerializeMap for Compound<'a, W, F>
762 Compound::Map { .. } => ser::SerializeMap::serialize_entry(self, key, value), in serialize_field()
787 Compound::Map { .. } => ser::SerializeMap::end(self), in end()
894 type SerializeMap = Impossible<(), Error>; typedef
1170 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap> { in serialize_map() argument
1208 type SerializeMap = Impossible<(), Error>; typedef
1358 fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap> { in serialize_map() argument
1389 type SerializeMap = Impossible<(), Error>; typedef
[all …]
Dmap.rs344 use serde::ser::SerializeMap; in serialize()
/external/rust/crates/linked-hash-map/src/
Dserde.rs12 use self::serde::ser::SerializeMap;
/external/rust/crates/hashlink/src/
Dserde.rs9 ser::{SerializeMap, SerializeSeq},
/external/rust/crates/serde_cbor/src/
Dser.rs221 type SerializeMap = CollectionSerializer<'a, W>; typedef
716 impl<'a, W> ser::SerializeMap for CollectionSerializer<'a, W>
/external/rust/crates/log/src/kv/
Dsource.rs591 use self::serde::ser::{Error as SerError, Serialize, SerializeMap, SerializeSeq, Serializer};
605 S: SerializeMap, in serialize()
/external/protobuf/src/google/protobuf/
Dmap_test.cc2948 TEST(WireFormatForMapFieldTest, SerializeMap) { in TEST() argument