var searchIndex = {}; searchIndex["vault"] = {"doc":"vault is a fully-featured Company of Heroes 2 replay parser valid for replays created on or\nafter the release of the British forces (version 19545).","items":[[3,"Vault","vault","This type is the main entry point for the vault replay parser and provides the cleanest\ninterface for use by external code.",null,null],[5,"print_version","","Prints out the current vault version and compatible CoH2 game versions.",null,{"inputs":[],"output":null}],[0,"error","","A module containing error information related to the vault parser.",null,null],[4,"Error","vault::error","This type contains the various error messages that can be returned from the library.",null,null],[13,"CursorWrap","","",0,null],[13,"CursorOutOfBounds","","",0,null],[13,"FileTooLarge","","",0,null],[13,"EmptyChar","","",0,null],[13,"InvalidFileExtension","","",0,null],[13,"UnexpectedValue","","",0,null],[13,"UnsupportedVersion","","",0,null],[13,"UnsupportedChunkVersion","","",0,null],[13,"IoError","","",0,null],[13,"Utf8Error","","",0,null],[13,"Utf16Error","","",0,null],[13,"ZipError","","",0,null],[13,"EncoderError","","",0,null],[11,"fmt","","",0,null],[11,"from","","",0,{"inputs":[{"name":"ioerror"}],"output":{"name":"error"}}],[11,"from","","",0,{"inputs":[{"name":"fromutf8error"}],"output":{"name":"error"}}],[11,"from","","",0,{"inputs":[{"name":"fromutf16error"}],"output":{"name":"error"}}],[11,"from","","",0,{"inputs":[{"name":"ziperror"}],"output":{"name":"error"}}],[11,"from","","",0,{"inputs":[{"name":"encodererror"}],"output":{"name":"error"}}],[11,"description","","",0,null],[11,"cause","","",0,null],[11,"fmt","","",0,null],[0,"replay","vault","A module containing a representative state of a Company of Heroes 2 replay file.",null,null],[3,"Replay","vault::replay","The main Replay type, contains all currently parsed replay data. Can be serialized to JSON for\noutput using rustc_serialize.",null,null],[11,"encode","","",1,null],[11,"fmt","","",1,null],[11,"new","","Constructs a new Replay and loads the file specified by path into memory.",1,{"inputs":[{"name":"path"}],"output":{"name":"result"}}],[11,"new_with_error","","Constructs a junk Replay type with empty data and an error value set. Used to return a\n Replay and its error information out of a thread without panicking if an error was\n encountered during creation.",1,{"inputs":[{"name":"str"},{"name":"error"}],"output":{"name":"replay"}}],[11,"from_bytes","","Constructs a new Replay and loads the byte vector given as the file data.",1,{"inputs":[{"name":"str"},{"name":"vec"}],"output":{"name":"result"}}],[11,"parse","","Parses the loaded replay and populates the Replay type with the return data.",1,null],[11,"to_json","","Serializes Replay as JSON String.",1,null],[11,"display","","Writes the contents of the Replay to stdout.",1,null],[6,"Result","vault","Custom Result wrapper for vault, used to return vault::Error from every result.",null,null],[11,"encode","","",2,null],[11,"fmt","","",2,null],[11,"parse","","Attempts to parse the given file, returning a Vault type populated with the Replay(s) if\nsuccessful.",2,{"inputs":[{"name":"path"}],"output":{"name":"result"}}],[11,"replays","","Returns a reference to the vector of Replays.",2,null],[11,"to_json","","Serializes Vault as JSON String.",2,null]],"paths":[[4,"Error"],[3,"Replay"],[3,"Vault"]]}; initSearch(searchIndex);