var searchIndex = {}; searchIndex["xdr_codec"] = {"doc":"XDR runtime encoding/decoding","items":[[8,"Write","xdr_codec","A trait for objects which are byte-oriented sinks.",null,null],[10,"write","","Write a buffer into this object, returning how many bytes were written.",0,null],[10,"flush","","Flush this output stream, ensuring that all intermediately buffered\ncontents reach their destination.",0,null],[11,"write_all","","Attempts to write an entire buffer into this write.",0,null],[11,"write_fmt","","Writes a formatted string into this writer, returning any error\nencountered.",0,null],[11,"by_ref","","Creates a "by reference" adaptor for this instance of `Write`.",0,null],[8,"Read","","The `Read` trait allows for reading bytes from a source.",null,null],[10,"read","","Pull some bytes from this source into the specified buffer, returning\nhow many bytes were read.",1,null],[11,"read_to_end","","Read all bytes until EOF in this source, placing them into `buf`.",1,null],[11,"read_to_string","","Read all bytes until EOF in this source, placing them into `buf`.",1,null],[11,"read_exact","","Read the exact number of bytes required to fill `buf`.",1,null],[11,"by_ref","","Creates a "by reference" adaptor for this instance of `Read`.",1,null],[11,"bytes","","Transforms this `Read` instance to an `Iterator` over its bytes.",1,null],[11,"chars","","Transforms this `Read` instance to an `Iterator` over `char`s.",1,null],[11,"chain","","Creates an adaptor which will chain this stream with another.",1,null],[11,"take","","Creates an adaptor which will read at most `limit` bytes from it.",1,null],[4,"Error","","XDR errors",null,null],[13,"Byteorder","","Byte order packing problem - generally a premature EOF.",2,null],[13,"IOError","","An underlying IO error.",2,null],[13,"InvalidUtf8","","An improperly encoded String.",2,null],[13,"InvalidCase","","Encoding discriminated union with a bad (default) case.",2,null],[13,"InvalidEnum","","Decoding a bad enum value",2,null],[13,"Generic","","Generic error.",2,null],[5,"pack","","Serialization (packing) helper.",null,{"inputs":[{"name":"t"},{"name":"out"}],"output":{"name":"result"}}],[5,"pack_array","","",null,null],[5,"unpack","","Deserialization (unpacking) helper function",null,{"inputs":[{"name":"in"}],"output":{"name":"result"}}],[6,"Result","","A wrapper around `std::result::Result` where errors are all `xdr_codec::Error`.",null,null],[8,"Pack","","Basic packing trait.",null,null],[10,"pack","","",3,null],[8,"Unpack","","Basic unpacking trait",null,null],[10,"unpack","","",4,{"inputs":[{"name":"in"}],"output":{"name":"result"}}],[11,"fmt","","",2,null],[11,"invalidcase","","",2,{"inputs":[],"output":{"name":"error"}}],[11,"invalidenum","","",2,{"inputs":[],"output":{"name":"error"}}],[11,"badutf8","","",2,{"inputs":[{"name":"fromutf8error"}],"output":{"name":"error"}}],[11,"byteorder","","",2,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",2,{"inputs":[{"name":"string"}],"output":{"name":"self"}}],[11,"from","","",2,{"inputs":[{"name":"error"}],"output":{"name":"self"}}],[11,"from","","",2,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"from","","",2,{"inputs":[{"name":"fromutf8error"}],"output":{"name":"self"}}],[11,"from","","",2,{"inputs":[{"name":"error"}],"output":{"name":"self"}}],[11,"description","","",2,null],[11,"cause","","",2,null],[11,"fmt","","",2,null]],"paths":[[8,"Write"],[8,"Read"],[4,"Error"],[8,"Pack"],[8,"Unpack"]]}; initSearch(searchIndex);