var searchIndex = {}; searchIndex["mpack"] = {"doc":"A MessagePack implementation for Rust.","items":[[3,"ValueMap","mpack","",null,null],[12,"0","","",0,null],[3,"Reader","","Wraps a reader instance with a place to store the last byte that was read. This\nsimulates pushing that byte back on to the reader if it wasn't recognized.",null,null],[3,"TypeError","","",null,null],[4,"Value","","A value that can be sent by `msgpack`.",null,null],[13,"Nil","","",1,null],[13,"Boolean","","",1,null],[13,"Uint8","","",1,null],[13,"Uint16","","",1,null],[13,"Uint32","","",1,null],[13,"Uint64","","",1,null],[13,"Int8","","",1,null],[13,"Int16","","",1,null],[13,"Int32","","",1,null],[13,"Int64","","",1,null],[13,"Float32","","",1,null],[13,"Float64","","",1,null],[13,"String","","",1,null],[13,"Binary","","",1,null],[13,"Array","","",1,null],[13,"Map","","",1,null],[13,"Extended","","",1,null],[4,"WriteError","","An error encountered while trying to write a value.",null,null],[13,"Io","","",2,null],[13,"TooMuchData","","",2,null],[13,"UnregisteredExt","","",2,null],[4,"ReadError","","An error encountered while trying to read a value.",null,null],[13,"Io","","",3,null],[13,"NoData","","",3,null],[13,"NotExtended","","",3,null],[13,"Unrecognized","","",3,null],[5,"write","","Convenience wrapper for `write_value()`.",null,{"inputs":[{"name":"w"},{"name":"v"}],"output":{"name":"result"}}],[5,"write_ext","","Write any value as an Extended type. On success, returns the number of bytes written.",null,{"inputs":[{"name":"w"},{"name":"i8"},{"name":"t"}],"output":{"name":"result"}}],[5,"write_value","","Write a message in MessagePack format for the given value.",null,{"inputs":[{"name":"w"},{"name":"value"}],"output":{"name":"result"}}],[0,"rpc","","",null,null],[3,"Client","mpack::rpc","`Client` represents a connection to some server that accepts\nMessagePack RPC requests.",null,null],[6,"RpcResult","","",null,null],[11,"new_for_stream","","Construct a new Client instance from a stream.",4,{"inputs":[{"name":"s"}],"output":{"name":"client"}}],[11,"new","","Construct a new Client instance.",4,{"inputs":[{"name":"r"},{"name":"w"}],"output":{"name":"client"}}],[11,"call","","Call a method via RPC and receive the response as a Receiver.",4,null],[11,"call_cb","","Call a method via RPC and receive the response in a closure.",4,null],[11,"call_sync","","Call a method via RPC and synchronously wait for the response.",4,null],[11,"drop","","",4,null],[8,"IntoValue","mpack","A trait for types that can be written via MessagePack. This is mostly\na convenience to avoid having to wrap them yourself each time.",null,null],[10,"into_value","","",5,null],[11,"fmt","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"clone","","",1,null],[11,"is_nil","","",1,null],[11,"bool","","",1,null],[11,"int","","",1,null],[11,"uint","","",1,null],[11,"float","","",1,null],[11,"string","","",1,null],[11,"binary","","",1,null],[11,"array","","",1,null],[11,"map","","",1,null],[11,"extended_type","","",1,null],[11,"extended_data","","",1,null],[11,"extended","","",1,null],[11,"fmt","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"get","","Retrieve a value from the map.",0,null],[11,"len","","Returns the number of key/value pairs in the map.",0,null],[11,"new","","",6,{"inputs":[{"name":"r"}],"output":{"name":"reader"}}],[11,"read_value","","",6,null],[11,"fmt","","",7,null],[11,"value","","Retrieve the value that caused the type error.",7,null],[11,"description","","",7,null],[11,"cause","","",7,null],[11,"fmt","","",7,null],[11,"fmt","","",2,null],[11,"description","","",2,null],[11,"cause","","",2,null],[11,"from","","",2,{"inputs":[{"name":"error"}],"output":{"name":"writeerror"}}],[11,"fmt","","",2,null],[11,"fmt","","",3,null],[11,"description","","",3,null],[11,"cause","","",3,null],[11,"from","","",3,{"inputs":[{"name":"error"}],"output":{"name":"readerror"}}],[11,"fmt","","",3,null]],"paths":[[3,"ValueMap"],[4,"Value"],[4,"WriteError"],[4,"ReadError"],[3,"Client"],[8,"IntoValue"],[3,"Reader"],[3,"TypeError"]]}; initSearch(searchIndex);