var searchIndex = {}; searchIndex["mpack"] = {"doc":"Experimental new MessagePack implementation for Rust.","items":[[3,"Reader","mpack","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],[4,"Value","","A value that can be sent by `msgpack`.",null,null],[13,"Nil","","",0,null],[13,"Boolean","","",0,null],[13,"Uint8","","",0,null],[13,"Uint16","","",0,null],[13,"Uint32","","",0,null],[13,"Uint64","","",0,null],[13,"Int8","","",0,null],[13,"Int16","","",0,null],[13,"Int32","","",0,null],[13,"Int64","","",0,null],[13,"Float32","","",0,null],[13,"Float64","","",0,null],[13,"String","","",0,null],[13,"Binary","","",0,null],[13,"Array","","",0,null],[13,"Map","","",0,null],[13,"Extended","","",0,null],[4,"WriteError","","An error encountered while trying to write a value.",null,null],[13,"Io","","",1,null],[13,"TooMuchData","","",1,null],[13,"UnregisteredExt","","",1,null],[4,"ReadError","","An error encountered while trying to read a value.",null,null],[13,"Io","","",2,null],[13,"NoData","","",2,null],[13,"NotExtended","","",2,null],[13,"Unrecognized","","",2,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.",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.",3,{"inputs":[{"name":"s"}],"output":{"name":"client"}}],[11,"new","","Construct a new Client instance.",3,{"inputs":[{"name":"r"},{"name":"w"}],"output":{"name":"client"}}],[11,"call","","Call a method via RPC and receive the response as a Receiver.",3,null],[11,"call_cb","","Call a method via RPC and receive the response in a closure.",3,null],[11,"call_sync","","Call a method via RPC and synchronously wait for the response.",3,null],[11,"drop","","",3,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","","",4,null],[11,"fmt","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"new","","",5,{"inputs":[{"name":"r"}],"output":{"name":"reader"}}],[11,"read_value","","",5,null],[11,"fmt","","",1,null],[11,"description","","",1,null],[11,"cause","","",1,null],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"writeerror"}}],[11,"fmt","","",1,null],[11,"fmt","","",2,null],[11,"description","","",2,null],[11,"cause","","",2,null],[11,"from","","",2,{"inputs":[{"name":"error"}],"output":{"name":"readerror"}}],[11,"fmt","","",2,null]],"paths":[[4,"Value"],[4,"WriteError"],[4,"ReadError"],[3,"Client"],[8,"IntoValue"],[3,"Reader"]]}; initSearch(searchIndex);