var searchIndex = {}; searchIndex["dbus_serialize"] = {"doc":"Central to this crate is the Value enum. Value can be used to express any valid D-Bus data\nstructure (and some invalid ones). Additionally, rustc_serialize can be used to convert from\nstandard rust data types to Value, and vice-versa.","items":[[0,"types","dbus_serialize","Contains the Value and BasicValue enums, as well as traits and helper types for them",null,null],[3,"Path","dbus_serialize::types","",null,null],[12,"0","","",0,null],[3,"Signature","","",null,null],[12,"0","","",1,null],[3,"Struct","","A Struct is an ordered sequence of Value objects, which may be of different varieties",null,null],[12,"objects","","",2,null],[12,"signature","","",2,null],[3,"Variant","","",null,null],[12,"object","","",3,null],[12,"signature","","",3,null],[3,"Array","","An Array is an ordered sequence of Value objects which must all be of the same variety. That\nis, it is not value to have a Uint8 and a Uint32 as elements of the same Array.",null,null],[12,"objects","","",4,null],[3,"Dictionary","","",null,null],[12,"map","","",5,null],[4,"BasicValue","","BasicValue covers the "basic" D-Bus types, that is those that are allowed to be used as keys in\na dictionary.",null,null],[13,"Byte","","",6,null],[13,"Boolean","","",6,null],[13,"Int16","","",6,null],[13,"Uint16","","",6,null],[13,"Int32","","",6,null],[13,"Uint32","","",6,null],[13,"Int64","","",6,null],[13,"Uint64","","",6,null],[13,"String","","",6,null],[13,"ObjectPath","","",6,null],[13,"Signature","","",6,null],[4,"Value","","Root type for any D-Bus value",null,null],[13,"BasicValue","","",7,null],[13,"Double","","",7,null],[13,"Array","","",7,null],[13,"Variant","","",7,null],[13,"Struct","","",7,null],[13,"Dictionary","","",7,null],[11,"clone","","",6,null],[11,"hash","","",6,null],[11,"fmt","","",6,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"hash","","",0,null],[11,"fmt","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"hash","","",1,null],[11,"fmt","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"clone","","",1,null],[11,"get_signature","","Returns the D-Bus type signature that corresponds to the Value",6,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"clone","","",3,null],[11,"fmt","","",3,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"new","","",3,{"inputs":[{"name":"value"},{"name":"str"}],"output":{"name":"variant"}}],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[11,"new","","Create a new array from the given vector of Value. This function may only be used when it\nis never possible for the input vector to be empty. The reason is that it is impossible to\ndetermine the type signature for an empty vector. Use new_with_sig instead.",4,{"inputs":[{"name":"vec"}],"output":{"name":"array"}}],[11,"new_with_sig","","Create a new array from the given vector of Value. If objects is non-empty, then sig must\nmatch the type of the contents.",4,{"inputs":[{"name":"vec"},{"name":"string"}],"output":{"name":"array"}}],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",5,null],[11,"new","","Create a new Dictionary from the given map. This function may only be used when it\nis never possible for the input map to be empty. The reason is that it is impossible to\ndetermine the type signature for an empty vector. Use new_with_sig instead.",5,{"inputs":[{"name":"hashmap"}],"output":{"name":"dictionary"}}],[11,"new_with_sig","","Create a new Dictionary from the given map. If map is non-empty, then sig must\nmatch the type of the contents.",5,{"inputs":[{"name":"hashmap"},{"name":"string"}],"output":{"name":"dictionary"}}],[11,"clone","","",7,null],[11,"fmt","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"get_signature","","Returns the D-Bus type signature that corresponds to the Value",7,null],[0,"decoder","dbus_serialize","Implements the rustc_serialize::Decoder trait",null,null],[3,"DBusDecoder","dbus_serialize::decoder","",null,null],[4,"DecodeError","","",null,null],[13,"BadSignature","","",8,null],[13,"NotSupported","","",8,null],[13,"IntTooNarrow","","",8,null],[11,"eq","","",8,null],[11,"fmt","","",8,null],[11,"new","","",9,{"inputs":[{"name":"value"}],"output":{"name":"dbusdecoder"}}],[11,"decode","","",9,{"inputs":[{"name":"value"}],"output":{"name":"result"}}],[11,"read_usize","","",9,null],[11,"read_u64","","",9,null],[11,"read_u32","","",9,null],[11,"read_u16","","",9,null],[11,"read_u8","","",9,null],[11,"read_isize","","",9,null],[11,"read_i64","","",9,null],[11,"read_i32","","",9,null],[11,"read_i16","","",9,null],[11,"read_i8","","",9,null],[11,"read_bool","","",9,null],[11,"read_f64","","",9,null],[11,"read_char","","",9,null],[11,"read_str","","",9,null],[11,"read_seq","","",9,null],[11,"read_seq_elt","","",9,null],[11,"read_map","","",9,null],[11,"read_map_elt_key","","",9,null],[11,"read_map_elt_val","","",9,null],[11,"read_struct","","",9,null],[11,"read_struct_field","","",9,null],[11,"read_enum","","",9,null],[11,"read_enum_variant","","",9,null],[11,"read_enum_variant_arg","","",9,null],[11,"read_enum_struct_variant","","",9,null],[11,"read_enum_struct_variant_field","","",9,null],[11,"read_tuple","","",9,null],[11,"read_tuple_arg","","",9,null],[11,"read_tuple_struct","","",9,null],[11,"read_tuple_struct_arg","","",9,null],[11,"read_option","","",9,null],[11,"read_nil","","",9,null],[11,"read_f32","","",9,null],[11,"error","","",9,null],[0,"encoder","dbus_serialize","Implements the rustc_serialize::Encoder trait",null,null],[3,"DBusEncoder","dbus_serialize::encoder","",null,null],[4,"EncoderError","","",null,null],[13,"BadKeyType","","",10,null],[13,"Unsupported","","",10,null],[13,"EmptyArray","","",10,null],[11,"eq","","",10,null],[11,"fmt","","",10,null],[11,"new","","",11,{"inputs":[],"output":{"name":"dbusencoder"}}],[11,"encode","","",11,{"inputs":[{"name":"t"}],"output":{"name":"result"}}],[11,"from","dbus_serialize::types","",7,{"inputs":[{"name":"t"}],"output":{"name":"value"}}],[11,"emit_nil","dbus_serialize::encoder","",11,null],[11,"emit_usize","","",11,null],[11,"emit_u64","","",11,null],[11,"emit_u32","","",11,null],[11,"emit_u16","","",11,null],[11,"emit_u8","","",11,null],[11,"emit_isize","","",11,null],[11,"emit_i64","","",11,null],[11,"emit_i32","","",11,null],[11,"emit_i16","","",11,null],[11,"emit_i8","","",11,null],[11,"emit_bool","","",11,null],[11,"emit_f64","","",11,null],[11,"emit_f32","","",11,null],[11,"emit_char","","",11,null],[11,"emit_str","","",11,null],[11,"emit_struct","","",11,null],[11,"emit_struct_field","","",11,null],[11,"emit_tuple","","",11,null],[11,"emit_tuple_arg","","",11,null],[11,"emit_tuple_struct","","",11,null],[11,"emit_tuple_struct_arg","","",11,null],[11,"emit_seq","","",11,null],[11,"emit_seq_elt","","",11,null],[11,"emit_map","","",11,null],[11,"emit_map_elt_key","","",11,null],[11,"emit_map_elt_val","","",11,null],[11,"emit_option","","",11,null],[11,"emit_option_none","","",11,null],[11,"emit_option_some","","",11,null],[11,"emit_enum","","",11,null],[11,"emit_enum_variant","","",11,null],[11,"emit_enum_variant_arg","","",11,null],[11,"emit_enum_struct_variant","","",11,null],[11,"emit_enum_struct_variant_field","","",11,null]],"paths":[[3,"Path"],[3,"Signature"],[3,"Struct"],[3,"Variant"],[3,"Array"],[3,"Dictionary"],[4,"BasicValue"],[4,"Value"],[4,"DecodeError"],[3,"DBusDecoder"],[4,"EncoderError"],[3,"DBusEncoder"]]}; initSearch(searchIndex);