var searchIndex = {}; searchIndex["utf8"] = {"doc":"","items":[[3,"Decoder","utf8","A low-level, zero-copy UTF-8 decoder with error handling.",null,null],[3,"LossyDecoder","","A push-based, lossy decoder for UTF-8.\nErrors are replaced with the U+FFFD replacement character.",null,null],[4,"Result","","",null,null],[13,"Ok","","The input is entirely well-formed",0,null],[13,"Error","","There is a decoding error.\nEach such error should be represented as one U+FFFD replacement character in lossy decoding.",0,null],[12,"remaining_input_after_error","utf8::Result","",0,null],[13,"Incomplete","utf8","The end of the input was reached in the middle of an UTF-8 sequence that is valid so far.\nMore input (up to 3 more bytes) is required to determine if it is well-formed.\nIf at the end of the input, this is a decoding error.",0,null],[17,"REPLACEMENT_CHARACTER","","The replacement character. In lossy decoding, insert it for every decoding error.",null,null],[11,"new","","",1,{"inputs":[],"output":{"name":"decoder"}}],[11,"has_incomplete_sequence","","Return whether the input of the last call to `.decode()` ended with an incomplete\nUTF-8 sequence for a code point.\nIf this is true and there is no more input, this is a decoding error.",1,null],[11,"decode","","Start decoding one chunk of input bytes. The return value is a tuple of:",1,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"new","","",2,{"inputs":[{"name":"f"}],"output":{"name":"self"}}],[11,"feed","","Feed more bytes into the decoder.",2,null],[11,"end","","Signal the end of the input.",2,null],[11,"drop","","",2,null]],"paths":[[4,"Result"],[3,"Decoder"],[3,"LossyDecoder"]]}; initSearch(searchIndex);