var searchIndex = {}; searchIndex["librsync"] = {"doc":"librsync bindings for Rust.","items":[[3,"Signature","librsync","A struct to generate a signature.",null,null],[3,"Delta","","A struct to generate a delta between two files.",null,null],[3,"Patch","","A struct to apply a delta to a basis file, to recreate the new file.",null,null],[4,"SignatureType","","The signature type.",null,null],[13,"MD4","","A signature file with MD4 signatures.",0,null],[13,"Blake2","","A signature file using BLAKE2 hash.",0,null],[4,"Error","","Enumeration of all possible errors in this crate.",null,null],[13,"Io","","An IO error.",1,null],[13,"Mem","","Out of memory.",1,null],[13,"BadMagic","","Bad magic number at start of stream.",1,null],[13,"Unimplemented","","The feature is not available yet.",1,null],[13,"Internal","","Probably a library bug.",1,null],[13,"Unknown","","All the other error numbers.",1,null],[0,"whole","","Process whole files in a single call.",null,null],[5,"signature_with_options","librsync::whole","Generates the signature of a basis input, and writes it out to an output stream.",null,{"inputs":[{"name":"r"},{"name":"w"},{"name":"usize"},{"name":"usize"},{"name":"signaturetype"}],"output":{"name":"result"}}],[5,"signature","","Generates the signature of a basis input, by using default settings.",null,{"inputs":[{"name":"r"},{"name":"w"}],"output":{"name":"result"}}],[5,"delta","","Generates a delta between a signature and a new file streams.",null,{"inputs":[{"name":"r"},{"name":"s"},{"name":"w"}],"output":{"name":"result"}}],[5,"patch","","Applies a patch, relative to a basis, into an output stream.",null,{"inputs":[{"name":"b"},{"name":"d"},{"name":"w"}],"output":{"name":"result"}}],[6,"Result","librsync","A `Result` type alias for this crate's `Error` type.",null,null],[11,"eq","","",0,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"fmt","","",1,null],[11,"new","","Creates a new signature stream with default parameters.",2,{"inputs":[{"name":"r"}],"output":{"name":"result"}}],[11,"with_options","","Creates a new signature stream by specifying custom parameters.",2,{"inputs":[{"name":"r"},{"name":"usize"},{"name":"usize"},{"name":"signaturetype"}],"output":{"name":"result"}}],[11,"into_inner","","Unwraps this stream, returning the underlying input stream.",2,null],[11,"read","","",2,null],[11,"new","","Creates a new delta stream.",3,{"inputs":[{"name":"r"},{"name":"s"}],"output":{"name":"result"}}],[11,"into_inner","","Unwraps this stream, returning the underlying new file stream.",3,null],[11,"read","","",3,null],[11,"new","","Creates a new patch stream.",4,{"inputs":[{"name":"b"},{"name":"d"}],"output":{"name":"result"}}],[11,"into_inner","","Unwraps this stream and returns the underlying streams.",4,null],[11,"read","","",4,null],[11,"description","","",1,null],[11,"fmt","","",1,null],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",1,{"inputs":[{"name":"rs_result"}],"output":{"name":"error"}}]],"paths":[[4,"SignatureType"],[4,"Error"],[3,"Signature"],[3,"Delta"],[3,"Patch"]]}; initSearch(searchIndex);