var searchIndex = {}; searchIndex["serde"] = {"doc":"Serde Serialization Framework","items":[[0,"bytes","serde","Helper module to enable serializing bytes more efficiently",null,null],[3,"Bytes","serde::bytes","`Bytes` wraps a `&[u8]` in order to serialize into a byte array.",null,null],[3,"ByteBuf","","`ByteBuf` wraps a `Vec<u8>` and serializes as a byte array.",null,null],[3,"ByteBufVisitor","","This type implements the `serde::de::Visitor` trait for a `ByteBuf`.",null,null],[11,"cmp","","",0,null],[11,"partial_cmp","","",0,null],[11,"lt","","",0,null],[11,"le","","",0,null],[11,"gt","","",0,null],[11,"ge","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"hash","","",0,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"from","","",0,null],[11,"from","","",0,{"inputs":[{"name":"vec"}],"output":{"name":"self"}}],[11,"into","","",0,null],[11,"deref","","",0,null],[11,"serialize","","",0,null],[11,"cmp","","",1,null],[11,"partial_cmp","","",1,null],[11,"lt","","",1,null],[11,"le","","",1,null],[11,"gt","","",1,null],[11,"ge","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"hash","","",1,null],[11,"clone","","",1,null],[11,"new","","Construct a new, empty `ByteBuf`.",1,{"inputs":[],"output":{"name":"self"}}],[11,"with_capacity","","Construct a new, empty `ByteBuf` with the specified capacity.",1,{"inputs":[{"name":"usize"}],"output":{"name":"self"}}],[11,"fmt","","",1,null],[11,"into","","",1,null],[11,"from","","",1,{"inputs":[{"name":"vec"}],"output":{"name":"self"}}],[11,"as_ref","","",1,null],[11,"as_ref","","",1,null],[11,"as_mut","","",1,null],[11,"as_mut","","",1,null],[11,"deref","","",1,null],[11,"deref_mut","","",1,null],[11,"serialize","","",1,null],[11,"visit_unit","","",2,null],[11,"visit_seq","","",2,null],[11,"visit_bytes","","",2,null],[11,"visit_byte_buf","","",2,null],[11,"deserialize","","",1,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[0,"de","serde","Generic deserialization framework.",null,null],[4,"Type","serde::de","`Type` represents all the primitive types that can be deserialized. This is used by\n`Error::kind_mismatch`.",null,null],[13,"Bool","","Represents a `bool` type.",3,null],[13,"Usize","","Represents a `usize` type.",3,null],[13,"U8","","Represents a `u8` type.",3,null],[13,"U16","","Represents a `u16` type.",3,null],[13,"U32","","Represents a `u32` type.",3,null],[13,"U64","","Represents a `u64` type.",3,null],[13,"Isize","","Represents a `isize` type.",3,null],[13,"I8","","Represents a `i8` type.",3,null],[13,"I16","","Represents a `i16` type.",3,null],[13,"I32","","Represents a `i32` type.",3,null],[13,"I64","","Represents a `i64` type.",3,null],[13,"F32","","Represents a `f32` type.",3,null],[13,"F64","","Represents a `f64` type.",3,null],[13,"Char","","Represents a `char` type.",3,null],[13,"Str","","Represents a `&str` type.",3,null],[13,"String","","Represents a `String` type.",3,null],[13,"Unit","","Represents a `()` type.",3,null],[13,"Option","","Represents an `Option<T>` type.",3,null],[13,"Seq","","Represents a sequence type.",3,null],[13,"Map","","Represents a map type.",3,null],[13,"UnitStruct","","Represents a unit struct type.",3,null],[13,"NewtypeStruct","","Represents a newtype type.",3,null],[13,"TupleStruct","","Represents a tuple struct type.",3,null],[13,"Struct","","Represents a struct type.",3,null],[13,"Tuple","","Represents a tuple type.",3,null],[13,"Enum","","Represents an `enum` type.",3,null],[13,"StructVariant","","Represents a struct variant.",3,null],[13,"TupleVariant","","Represents a tuple variant.",3,null],[13,"UnitVariant","","Represents a unit variant.",3,null],[13,"Bytes","","Represents a `&[u8]` type.",3,null],[0,"impls","","This module contains `Deserialize` and `Visitor` implementations.",null,null],[3,"UnitVisitor","serde::de::impls","A visitor that produces a `()`.",null,null],[3,"BoolVisitor","","A visitor that produces a `bool`.",null,null],[3,"PrimitiveVisitor","","A visitor that produces a primitive type.",null,null],[3,"BinaryHeapVisitor","","A visitor that produces a sequence.",null,null],[3,"BTreeSetVisitor","","A visitor that produces a sequence.",null,null],[3,"LinkedListVisitor","","A visitor that produces a sequence.",null,null],[3,"HashSetVisitor","","A visitor that produces a sequence.",null,null],[3,"VecVisitor","","A visitor that produces a sequence.",null,null],[3,"VecDequeVisitor","","A visitor that produces a sequence.",null,null],[3,"TupleVisitor1","","Construct a tuple visitor.",null,null],[3,"TupleVisitor2","","Construct a tuple visitor.",null,null],[3,"TupleVisitor3","","Construct a tuple visitor.",null,null],[3,"TupleVisitor4","","Construct a tuple visitor.",null,null],[3,"TupleVisitor5","","Construct a tuple visitor.",null,null],[3,"TupleVisitor6","","Construct a tuple visitor.",null,null],[3,"TupleVisitor7","","Construct a tuple visitor.",null,null],[3,"TupleVisitor8","","Construct a tuple visitor.",null,null],[3,"TupleVisitor9","","Construct a tuple visitor.",null,null],[3,"TupleVisitor10","","Construct a tuple visitor.",null,null],[3,"TupleVisitor11","","Construct a tuple visitor.",null,null],[3,"TupleVisitor12","","Construct a tuple visitor.",null,null],[3,"BTreeMapVisitor","","A visitor that produces a map.",null,null],[3,"HashMapVisitor","","A visitor that produces a map.",null,null],[11,"visit_unit","","",4,null],[11,"visit_seq","","",4,null],[11,"visit_bool","","",5,null],[11,"visit_str","","",5,null],[11,"new","","Construct a new `PrimitiveVisitor`.",6,{"inputs":[],"output":{"name":"self"}}],[11,"visit_isize","","",6,null],[11,"visit_i8","","",6,null],[11,"visit_i16","","",6,null],[11,"visit_i32","","",6,null],[11,"visit_i64","","",6,null],[11,"visit_usize","","",6,null],[11,"visit_u8","","",6,null],[11,"visit_u16","","",6,null],[11,"visit_u32","","",6,null],[11,"visit_u64","","",6,null],[11,"visit_f32","","",6,null],[11,"visit_f64","","",6,null],[11,"visit_str","","",6,null],[11,"new","","Construct a new sequence visitor.",7,{"inputs":[],"output":{"name":"self"}}],[11,"visit_unit","","",7,null],[11,"visit_seq","","",7,null],[11,"new","","Construct a new sequence visitor.",8,{"inputs":[],"output":{"name":"self"}}],[11,"visit_unit","","",8,null],[11,"visit_seq","","",8,null],[11,"new","","Construct a new sequence visitor.",9,{"inputs":[],"output":{"name":"self"}}],[11,"visit_unit","","",9,null],[11,"visit_seq","","",9,null],[11,"new","","Construct a new sequence visitor.",10,{"inputs":[],"output":{"name":"self"}}],[11,"visit_unit","","",10,null],[11,"visit_seq","","",10,null],[11,"new","","Construct a new sequence visitor.",11,{"inputs":[],"output":{"name":"self"}}],[11,"visit_unit","","",11,null],[11,"visit_seq","","",11,null],[11,"new","","Construct a new sequence visitor.",12,{"inputs":[],"output":{"name":"self"}}],[11,"visit_unit","","",12,null],[11,"visit_seq","","",12,null],[11,"new","","Construct a `TupleVisitor*<T>`.",13,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",13,null],[11,"new","","Construct a `TupleVisitor*<T>`.",14,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",14,null],[11,"new","","Construct a `TupleVisitor*<T>`.",15,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",15,null],[11,"new","","Construct a `TupleVisitor*<T>`.",16,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",16,null],[11,"new","","Construct a `TupleVisitor*<T>`.",17,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",17,null],[11,"new","","Construct a `TupleVisitor*<T>`.",18,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",18,null],[11,"new","","Construct a `TupleVisitor*<T>`.",19,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",19,null],[11,"new","","Construct a `TupleVisitor*<T>`.",20,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",20,null],[11,"new","","Construct a `TupleVisitor*<T>`.",21,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",21,null],[11,"new","","Construct a `TupleVisitor*<T>`.",22,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",22,null],[11,"new","","Construct a `TupleVisitor*<T>`.",23,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",23,null],[11,"new","","Construct a `TupleVisitor*<T>`.",24,{"inputs":[],"output":{"name":"self"}}],[11,"visit_seq","","",24,null],[11,"new","","Construct a `MapVisitor*<T>`.",25,{"inputs":[],"output":{"name":"self"}}],[11,"visit_unit","","",25,null],[11,"visit_map","","",25,null],[11,"new","","Construct a `MapVisitor*<T>`.",26,{"inputs":[],"output":{"name":"self"}}],[11,"visit_unit","","",26,null],[11,"visit_map","","",26,null],[0,"value","serde::de","This module supports deserializing from primitives with the `ValueDeserializer` trait.",null,null],[3,"UnitDeserializer","serde::de::value","A helper deserializer that deserializes a `()`.",null,null],[3,"BoolDeserializer","","A helper deserializer that deserializes a number.",null,null],[3,"I8Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"I16Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"I32Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"I64Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"IsizeDeserializer","","A helper deserializer that deserializes a number.",null,null],[3,"U8Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"U16Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"U32Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"U64Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"UsizeDeserializer","","A helper deserializer that deserializes a number.",null,null],[3,"F32Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"F64Deserializer","","A helper deserializer that deserializes a number.",null,null],[3,"CharDeserializer","","A helper deserializer that deserializes a number.",null,null],[3,"StrDeserializer","","A helper deserializer that deserializes a `&str`.",null,null],[3,"StringDeserializer","","A helper deserializer that deserializes a `String`.",null,null],[3,"SeqDeserializer","","A helper deserializer that deserializes a sequence.",null,null],[3,"MapDeserializer","","A helper deserializer that deserializes a map.",null,null],[3,"BytesDeserializer","","A helper deserializer that deserializes a `&[u8]`.",null,null],[3,"ByteBufDeserializer","","A helper deserializer that deserializes a `Vec<u8>`.",null,null],[4,"Error","","This represents all the possible errors that can occur using the `ValueDeserializer`.",null,null],[13,"SyntaxError","","The value had some syntatic error.",27,null],[13,"EndOfStreamError","","EOF while deserializing a value.",27,null],[13,"UnknownFieldError","","Unknown field in struct.",27,null],[13,"MissingFieldError","","Struct is missing a field.",27,null],[8,"ValueDeserializer","","This trait converts primitive types into a deserializer.",null,null],[16,"Deserializer","","The actual deserializer type.",28,null],[10,"into_deserializer","","Convert this value into a deserializer.",28,null],[11,"eq","","",27,null],[11,"ne","","",27,null],[11,"fmt","","",27,null],[11,"clone","","",27,null],[11,"syntax","","",27,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"end_of_stream","","",27,{"inputs":[],"output":{"name":"self"}}],[11,"unknown_field","","",27,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"missing_field","","",27,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"visit","","",29,null],[11,"visit_option","","",29,null],[11,"visit","","",30,null],[11,"visit","","",31,null],[11,"visit","","",32,null],[11,"visit","","",33,null],[11,"visit","","",34,null],[11,"visit","","",35,null],[11,"visit","","",36,null],[11,"visit","","",37,null],[11,"visit","","",38,null],[11,"visit","","",39,null],[11,"visit","","",40,null],[11,"visit","","",41,null],[11,"visit","","",42,null],[11,"visit","","",43,null],[11,"visit","","",44,null],[11,"visit_enum","","",44,null],[11,"visit_variant","","",44,null],[11,"visit_unit","","",44,null],[11,"visit","","",45,null],[11,"visit_enum","","",45,null],[11,"visit_variant","","",45,null],[11,"visit_unit","","",45,null],[11,"new","","Construct a new `SeqDeserializer<I>`.",46,{"inputs":[{"name":"i"},{"name":"usize"}],"output":{"name":"self"}}],[11,"visit","","",46,null],[11,"visit","","",46,null],[11,"end","","",46,null],[11,"size_hint","","",46,null],[11,"new","","Construct a new `MapDeserializer<I, K, V>`.",47,{"inputs":[{"name":"i"},{"name":"usize"}],"output":{"name":"self"}}],[11,"visit","","",47,null],[11,"visit_key","","",47,null],[11,"visit_value","","",47,null],[11,"end","","",47,null],[11,"size_hint","","",47,null],[11,"into_deserializer","serde::bytes","",0,null],[11,"visit","serde::de::value","",48,null],[11,"into_deserializer","serde::bytes","",1,null],[11,"visit","serde::de::value","",49,null],[8,"Error","serde::de","`Error` is a trait that allows a `Deserialize` to generically create a\n`Deserializer` error.",null,null],[10,"syntax","","Raised when there is general error when deserializing a type.",50,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"length_mismatch","","Raised when a fixed sized sequence or map was passed in the wrong amount of arguments.",50,{"inputs":[{"name":"usize"}],"output":{"name":"self"}}],[11,"type_mismatch","","Raised when a `Deserialize` was passed an incorrect type.",50,{"inputs":[{"name":"type"}],"output":{"name":"self"}}],[10,"end_of_stream","","Raised when a `Deserialize` type unexpectedly hit the end of the stream.",50,{"inputs":[],"output":{"name":"self"}}],[10,"unknown_field","","Raised when a `Deserialize` struct type received an unexpected struct field.",50,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[10,"missing_field","","Raised when a `Deserialize` struct type did not receive a field.",50,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[8,"Deserialize","","`Deserialize` represents a type that can be deserialized.",null,null],[10,"deserialize","","Deserialize this value given this `Deserializer`.",51,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[8,"Deserializer","","`Deserializer` is a trait that can deserialize values by threading a `Visitor` trait through a\nvalue. It supports two entry point styles which enables different kinds of deserialization.",null,null],[16,"Error","","The error type that can be returned if some error occurs during deserialization.",52,null],[10,"visit","","This method walks a visitor through a value as it is being deserialized.",52,null],[11,"visit_bool","","This method hints that the `Deserialize` type is expecting a `bool` value.",52,null],[11,"visit_usize","","This method hints that the `Deserialize` type is expecting an `usize` value.",52,null],[11,"visit_u8","","This method hints that the `Deserialize` type is expecting an `u8` value.",52,null],[11,"visit_u16","","This method hints that the `Deserialize` type is expecting an `u16` value.",52,null],[11,"visit_u32","","This method hints that the `Deserialize` type is expecting an `u32` value.",52,null],[11,"visit_u64","","This method hints that the `Deserialize` type is expecting an `u64` value.",52,null],[11,"visit_isize","","This method hints that the `Deserialize` type is expecting an `isize` value.",52,null],[11,"visit_i8","","This method hints that the `Deserialize` type is expecting an `i8` value.",52,null],[11,"visit_i16","","This method hints that the `Deserialize` type is expecting an `i16` value.",52,null],[11,"visit_i32","","This method hints that the `Deserialize` type is expecting an `i32` value.",52,null],[11,"visit_i64","","This method hints that the `Deserialize` type is expecting an `i64` value.",52,null],[11,"visit_f32","","This method hints that the `Deserialize` type is expecting a `f32` value.",52,null],[11,"visit_f64","","This method hints that the `Deserialize` type is expecting a `f64` value.",52,null],[11,"visit_char","","This method hints that the `Deserialize` type is expecting a `char` value.",52,null],[11,"visit_str","","This method hints that the `Deserialize` type is expecting a `&str` value.",52,null],[11,"visit_string","","This method hints that the `Deserialize` type is expecting a `String` value.",52,null],[11,"visit_unit","","This method hints that the `Deserialize` type is expecting an `unit` value.",52,null],[11,"visit_option","","This method hints that the `Deserialize` type is expecting an `Option` value. This allows\ndeserializers that encode an optional value as a nullable value to convert the null value\ninto a `None`, and a regular value as `Some(value)`.",52,null],[11,"visit_seq","","This method hints that the `Deserialize` type is expecting a sequence value. This allows\ndeserializers to parse sequences that aren't tagged as sequences.",52,null],[11,"visit_map","","This method hints that the `Deserialize` type is expecting a map of values. This allows\ndeserializers to parse sequences that aren't tagged as maps.",52,null],[11,"visit_unit_struct","","This method hints that the `Deserialize` type is expecting a unit struct. This allows\ndeserializers to a unit struct that aren't tagged as a unit struct.",52,null],[11,"visit_newtype_struct","","This method hints that the `Deserialize` type is expecting a newtype struct. This allows\ndeserializers to a newtype struct that aren't tagged as a newtype struct.",52,null],[11,"visit_tuple_struct","","This method hints that the `Deserialize` type is expecting a tuple struct. This allows\ndeserializers to parse sequences that aren't tagged as sequences.",52,null],[11,"visit_struct","","This method hints that the `Deserialize` type is expecting a struct. This allows\ndeserializers to parse sequences that aren't tagged as maps.",52,null],[11,"visit_tuple","","This method hints that the `Deserialize` type is expecting a tuple value. This allows\ndeserializers that provide a custom tuple serialization to properly deserialize the type.",52,null],[11,"visit_enum","","This method hints that the `Deserialize` type is expecting an enum value. This allows\ndeserializers that provide a custom enumeration serialization to properly deserialize the\ntype.",52,null],[11,"visit_bytes","","This method hints that the `Deserialize` type is expecting a `Vec<u8>`. This allows\ndeserializers that provide a custom byte vector serialization to properly deserialize the\ntype.",52,null],[11,"format","","Specify a format string for the deserializer.",52,{"inputs":[],"output":{"name":"str"}}],[8,"Visitor","","This trait represents a visitor that walks through a deserializer.",null,null],[16,"Value","","The value produced by this visitor.",53,null],[11,"visit_bool","","`visit_bool` deserializes a `bool` into a `Value`.",53,null],[11,"visit_isize","","`visit_isize` deserializes a `isize` into a `Value`.",53,null],[11,"visit_i8","","`visit_i8` deserializes a `i8` into a `Value`.",53,null],[11,"visit_i16","","`visit_i16` deserializes a `i16` into a `Value`.",53,null],[11,"visit_i32","","`visit_i32` deserializes a `i32` into a `Value`.",53,null],[11,"visit_i64","","`visit_i64` deserializes a `i64` into a `Value`.",53,null],[11,"visit_usize","","`visit_usize` deserializes a `usize` into a `Value`.",53,null],[11,"visit_u8","","`visit_u8` deserializes a `u8` into a `Value`.",53,null],[11,"visit_u16","","`visit_u16` deserializes a `u16` into a `Value`.",53,null],[11,"visit_u32","","`visit_u32` deserializes a `u32` into a `Value`.",53,null],[11,"visit_u64","","`visit_u64` deserializes a `u64` into a `Value`.",53,null],[11,"visit_f32","","`visit_f32` deserializes a `f32` into a `Value`.",53,null],[11,"visit_f64","","`visit_f64` deserializes a `f64` into a `Value`.",53,null],[11,"visit_char","","`visit_char` deserializes a `char` into a `Value`.",53,null],[11,"visit_str","","`visit_str` deserializes a `&str` into a `Value`.",53,null],[11,"visit_string","","`visit_string` deserializes a `String` into a `Value`.",53,null],[11,"visit_unit","","`visit_unit` deserializes a `()` into a `Value`.",53,null],[11,"visit_unit_struct","","`visit_unit_struct` deserializes a unit struct into a `Value`.",53,null],[11,"visit_none","","`visit_none` deserializes a none value into a `Value`.",53,null],[11,"visit_some","","`visit_some` deserializes a value into a `Value`.",53,null],[11,"visit_newtype_struct","","`visit_newtype_struct` deserializes a value into a `Value`.",53,null],[11,"visit_seq","","`visit_bool` deserializes a `SeqVisitor` into a `Value`.",53,null],[11,"visit_map","","`visit_map` deserializes a `MapVisitor` into a `Value`.",53,null],[11,"visit_bytes","","`visit_bytes` deserializes a `&[u8]` into a `Value`.",53,null],[11,"visit_byte_buf","","`visit_byte_buf` deserializes a `Vec<u8>` into a `Value`.",53,null],[8,"SeqVisitor","","`SeqVisitor` visits each item in a sequence.",null,null],[16,"Error","","The error type that can be returned if some error occurs during deserialization.",54,null],[10,"visit","","This returns a `Ok(Some(value))` for the next value in the sequence, or `Ok(None)` if there\nare no more remaining items.",54,null],[10,"end","","This signals to the `SeqVisitor` that the `Visitor` does not expect any more items.",54,null],[11,"size_hint","","Return the lower and upper bound of items remaining in the sequence.",54,null],[8,"MapVisitor","","`MapVisitor` visits each item in a sequence.",null,null],[16,"Error","","The error type that can be returned if some error occurs during deserialization.",55,null],[11,"visit","","This returns a `Ok(Some((key, value)))` for the next (key-value) pair in the map, or\n`Ok(None)` if there are no more remaining items.",55,null],[10,"visit_key","","This returns a `Ok(Some(key))` for the next key in the map, or `Ok(None)` if there are no\nmore remaining items.",55,null],[10,"visit_value","","This returns a `Ok(value)` for the next value in the map.",55,null],[10,"end","","This signals to the `MapVisitor` that the `Visitor` does not expect any more items.",55,null],[11,"size_hint","","Return the lower and upper bound of items remaining in the sequence.",55,null],[11,"missing_field","","Report that there",55,null],[8,"EnumVisitor","","`EnumVisitor` is a visitor that is created by the `Deserialize` and passed to the\n`Deserializer` in order to deserialize enums.",null,null],[16,"Value","","The value produced by this visitor.",56,null],[10,"visit","","Visit the specific variant with the `VariantVisitor`.",56,null],[8,"VariantVisitor","","`VariantVisitor` is a visitor that is created by the `Deserializer` and passed to the\n`Deserialize` in order to deserialize a specific enum variant.",null,null],[16,"Error","","The error type that can be returned if some error occurs during deserialization.",57,null],[10,"visit_variant","","`visit_variant` is called to identify which variant to deserialize.",57,null],[11,"visit_unit","","`visit_unit` is called when deserializing a variant with no values.",57,null],[11,"visit_newtype","","`visit_newtype` is called when deserializing a variant with a single value. By default this\nuses the `visit_tuple` method to deserialize the value.",57,null],[11,"visit_tuple","","`visit_tuple` is called when deserializing a tuple-like variant.",57,null],[11,"visit_struct","","`visit_struct` is called when deserializing a struct-like variant.",57,null],[0,"iter","serde","Module that contains helper iterators.",null,null],[3,"LineColIterator","serde::iter","Iterator over a byte stream that tracks the current position's line and column.",null,null],[11,"new","","Construct a new `LineColIterator<Iter>`.",58,{"inputs":[{"name":"iter"}],"output":{"name":"linecoliterator"}}],[11,"line","","Report the current line inside the iterator.",58,null],[11,"col","","Report the current column inside the iterator.",58,null],[11,"get_ref","","Gets a reference to the underlying iterator.",58,null],[11,"get_mut","","Gets a mutable reference to the underlying iterator.",58,null],[11,"into_inner","","Unwraps this `LineColIterator`, returning the underlying iterator.",58,null],[11,"peek","","peeks at the next value",58,null],[11,"next","","",58,null],[0,"ser","serde","Generic serialization framework.",null,null],[0,"impls","serde::ser","Implementations for all of Rust's builtin types.",null,null],[3,"SeqIteratorVisitor","serde::ser::impls","A `serde::Visitor` for sequence iterators.",null,null],[3,"TupleVisitor1","","A tuple visitor.",null,null],[3,"TupleVisitor2","","A tuple visitor.",null,null],[3,"TupleVisitor3","","A tuple visitor.",null,null],[3,"TupleVisitor4","","A tuple visitor.",null,null],[3,"TupleVisitor5","","A tuple visitor.",null,null],[3,"TupleVisitor6","","A tuple visitor.",null,null],[3,"TupleVisitor7","","A tuple visitor.",null,null],[3,"TupleVisitor8","","A tuple visitor.",null,null],[3,"TupleVisitor9","","A tuple visitor.",null,null],[3,"TupleVisitor10","","A tuple visitor.",null,null],[3,"TupleVisitor11","","A tuple visitor.",null,null],[3,"TupleVisitor12","","A tuple visitor.",null,null],[3,"MapIteratorVisitor","","A `serde::Visitor` for (key, value) map iterators.",null,null],[11,"new","","Construct a new `SeqIteratorVisitor<Iter>`.",59,{"inputs":[{"name":"iter"},{"name":"option"}],"output":{"name":"seqiteratorvisitor"}}],[11,"visit","","",59,null],[11,"len","","",59,null],[11,"new","","Construct a new, empty `TupleVisitor`.",60,null],[11,"visit","","",60,null],[11,"len","","",60,null],[11,"new","","Construct a new, empty `TupleVisitor`.",61,null],[11,"visit","","",61,null],[11,"len","","",61,null],[11,"new","","Construct a new, empty `TupleVisitor`.",62,null],[11,"visit","","",62,null],[11,"len","","",62,null],[11,"new","","Construct a new, empty `TupleVisitor`.",63,null],[11,"visit","","",63,null],[11,"len","","",63,null],[11,"new","","Construct a new, empty `TupleVisitor`.",64,null],[11,"visit","","",64,null],[11,"len","","",64,null],[11,"new","","Construct a new, empty `TupleVisitor`.",65,null],[11,"visit","","",65,null],[11,"len","","",65,null],[11,"new","","Construct a new, empty `TupleVisitor`.",66,null],[11,"visit","","",66,null],[11,"len","","",66,null],[11,"new","","Construct a new, empty `TupleVisitor`.",67,null],[11,"visit","","",67,null],[11,"len","","",67,null],[11,"new","","Construct a new, empty `TupleVisitor`.",68,null],[11,"visit","","",68,null],[11,"len","","",68,null],[11,"new","","Construct a new, empty `TupleVisitor`.",69,null],[11,"visit","","",69,null],[11,"len","","",69,null],[11,"new","","Construct a new, empty `TupleVisitor`.",70,null],[11,"visit","","",70,null],[11,"len","","",70,null],[11,"new","","Construct a new, empty `TupleVisitor`.",71,null],[11,"visit","","",71,null],[11,"len","","",71,null],[11,"new","","Construct a new `MapIteratorVisitor<Iter>`.",72,{"inputs":[{"name":"iter"},{"name":"option"}],"output":{"name":"mapiteratorvisitor"}}],[11,"visit","","",72,null],[11,"len","","",72,null],[8,"Serialize","serde::ser","A trait that describes a type that can be serialized by a `Serializer`.",null,null],[10,"serialize","","Serializes this value into this serializer.",73,null],[8,"Serializer","","A trait that describes a type that can serialize a stream of values into the underlying format.",null,null],[16,"Error","","The error type that can be returned if some error occurs during serialization.",74,null],[10,"visit_bool","","`visit_bool` serializes a `bool` value.",74,null],[11,"visit_isize","","`visit_isize` serializes a `isize` value. By default it casts the value to a `i64` and\npasses it to the `visit_i64` method.",74,null],[11,"visit_i8","","`visit_i8` serializes a `i8` value. By default it casts the value to a `i64` and\npasses it to the `visit_i64` method.",74,null],[11,"visit_i16","","`visit_i16` serializes a `i16` value. By default it casts the value to a `i64` and\npasses it to the `visit_i64` method.",74,null],[11,"visit_i32","","`visit_i32` serializes a `i32` value. By default it casts the value to a `i64` and\npasses it to the `visit_i64` method.",74,null],[10,"visit_i64","","`visit_i64` serializes a `i64` value.",74,null],[11,"visit_usize","","`visit_usize` serializes a `usize` value. By default it casts the value to a `u64` and\npasses it to the `visit_u64` method.",74,null],[11,"visit_u8","","`visit_u8` serializes a `u8` value. By default it casts the value to a `u64` and passes\nit to the `visit_u64` method.",74,null],[11,"visit_u16","","`visit_u32` serializes a `u32` value. By default it casts the value to a `u64` and passes\nit to the `visit_u64` method.",74,null],[11,"visit_u32","","`visit_u32` serializes a `u32` value. By default it casts the value to a `u64` and passes\nit to the `visit_u64` method.",74,null],[10,"visit_u64","","`visit_u64` serializes a `u64` value.",74,null],[11,"visit_f32","","`visit_f32` serializes a `f32` value. By default it casts the value to a `f64` and passes\nit to the `visit_f64` method.",74,null],[10,"visit_f64","","`visit_f64` serializes a `f64` value.",74,null],[11,"visit_char","","`visit_char` serializes a character. By default it serializes it as a `&str` containing a\nsingle character.",74,null],[10,"visit_str","","`visit_str` serializes a `&str`.",74,null],[11,"visit_bytes","","`visit_bytes` is a hook that enables those serialization formats that support serializing\nbyte slices separately from generic arrays. By default it serializes as a regular array.",74,null],[10,"visit_unit","","Serializes a `()` value.",74,null],[11,"visit_unit_struct","","Serializes a unit struct value.",74,null],[11,"visit_unit_variant","","Serializes a unit variant, otherwise known as a variant with no arguments.",74,null],[11,"visit_newtype_struct","","The `visit_newtype_struct` allows a tuple struct with a single element, also known as a\nnewtyped value, to be more efficiently serialized than a tuple struct with multiple items.\nBy default it just serializes the value as a tuple struct sequence.",74,null],[11,"visit_newtype_variant","","The `visit_newtype_variant` allows a variant with a single item to be more efficiently\nserialized than a variant with multiple items. By default it just serializes the value as a\ntuple variant sequence.",74,null],[10,"visit_none","","Serializes a `None` value.",74,null],[10,"visit_some","","Serializes a `Some(...)` value.",74,null],[10,"visit_seq","","Serializes a sequence.",74,null],[10,"visit_seq_elt","","Serializes a sequence element.",74,null],[11,"visit_tuple","","Serializes a tuple.",74,null],[11,"visit_tuple_elt","","Serializes a tuple element.",74,null],[11,"visit_tuple_struct","","Serializes a tuple struct.",74,null],[11,"visit_tuple_struct_elt","","Serializes a tuple struct element.",74,null],[11,"visit_tuple_variant","","Serializes a tuple variant.",74,null],[11,"visit_tuple_variant_elt","","Serializes a tuple element.",74,null],[10,"visit_map","","Serializes a map.",74,null],[10,"visit_map_elt","","Serializes a map element (key-value pair).",74,null],[11,"visit_struct","","Serializes a struct.",74,null],[11,"visit_struct_elt","","Serializes an element of a struct.",74,null],[11,"visit_struct_variant","","Serializes a struct variant.",74,null],[11,"visit_struct_variant_elt","","Serializes an element of a struct variant.",74,null],[11,"format","","Specify a format string for the serializer.",74,{"inputs":[],"output":{"name":"str"}}],[8,"SeqVisitor","","A trait that is used by a `Serialize` to iterate through a sequence.",null,null],[10,"visit","","Serializes a sequence item in the serializer.",75,null],[11,"len","","Return the length of the sequence if known.",75,null],[8,"MapVisitor","","A trait that is used by a `Serializer` to iterate through a map.",null,null],[10,"visit","","Serializes a map item in the serializer.",76,null],[11,"len","","Return the length of the map if known.",76,null]],"paths":[[3,"Bytes"],[3,"ByteBuf"],[3,"ByteBufVisitor"],[4,"Type"],[3,"UnitVisitor"],[3,"BoolVisitor"],[3,"PrimitiveVisitor"],[3,"BinaryHeapVisitor"],[3,"BTreeSetVisitor"],[3,"LinkedListVisitor"],[3,"HashSetVisitor"],[3,"VecVisitor"],[3,"VecDequeVisitor"],[3,"TupleVisitor1"],[3,"TupleVisitor2"],[3,"TupleVisitor3"],[3,"TupleVisitor4"],[3,"TupleVisitor5"],[3,"TupleVisitor6"],[3,"TupleVisitor7"],[3,"TupleVisitor8"],[3,"TupleVisitor9"],[3,"TupleVisitor10"],[3,"TupleVisitor11"],[3,"TupleVisitor12"],[3,"BTreeMapVisitor"],[3,"HashMapVisitor"],[4,"Error"],[8,"ValueDeserializer"],[3,"UnitDeserializer"],[3,"BoolDeserializer"],[3,"I8Deserializer"],[3,"I16Deserializer"],[3,"I32Deserializer"],[3,"I64Deserializer"],[3,"IsizeDeserializer"],[3,"U8Deserializer"],[3,"U16Deserializer"],[3,"U32Deserializer"],[3,"U64Deserializer"],[3,"UsizeDeserializer"],[3,"F32Deserializer"],[3,"F64Deserializer"],[3,"CharDeserializer"],[3,"StrDeserializer"],[3,"StringDeserializer"],[3,"SeqDeserializer"],[3,"MapDeserializer"],[3,"BytesDeserializer"],[3,"ByteBufDeserializer"],[8,"Error"],[8,"Deserialize"],[8,"Deserializer"],[8,"Visitor"],[8,"SeqVisitor"],[8,"MapVisitor"],[8,"EnumVisitor"],[8,"VariantVisitor"],[3,"LineColIterator"],[3,"SeqIteratorVisitor"],[3,"TupleVisitor1"],[3,"TupleVisitor2"],[3,"TupleVisitor3"],[3,"TupleVisitor4"],[3,"TupleVisitor5"],[3,"TupleVisitor6"],[3,"TupleVisitor7"],[3,"TupleVisitor8"],[3,"TupleVisitor9"],[3,"TupleVisitor10"],[3,"TupleVisitor11"],[3,"TupleVisitor12"],[3,"MapIteratorVisitor"],[8,"Serialize"],[8,"Serializer"],[8,"SeqVisitor"],[8,"MapVisitor"]]}; initSearch(searchIndex);