var searchIndex = {}; searchIndex["formdata"] = {"doc":"This crate parses and processes `hyper::server::Request` data that contains\n`multipart/form-data` content.","items":[[3,"UploadedFile","formdata","An uploaded file that was received as part of `multipart/form-data` parsing.",null,null],[12,"path","","The temporary file where the data was saved.",0,null],[12,"filename","","The filename that was specified in the data, unfiltered. It may or may not be legal on the\nlocal filesystem.",0,null],[12,"content_type","","The unvalidated content-type that was specified in the data.",0,null],[12,"size","","The size of the file.",0,null],[3,"FormData","","The extracted text fields and uploaded files from a `multipart/form-data` request.",null,null],[12,"fields","","Key-value pairs for plain text fields. Technically, these are form data parts with no\nfilename specified in the part's `Content-Disposition`.",1,null],[12,"files","","Key-value pairs for temporary files. Technically, these are form data parts with a filename\nspecified in the part's `Content-Disposition`.",1,null],[5,"parse_multipart","","Parses and processes `hyper::server::Request` data that is `multipart/form-data` content.",null,{"inputs":[{"name":"request"}],"output":{"name":"result"}}],[0,"buf","","",null,null],[8,"BufReadPlus","formdata::buf","Extends any type that implements BufRead with a stream_until_token() function.",null,null],[11,"stream_until_token","","Streams all bytes to `out` until the `token` delimiter is reached.",2,null],[0,"error","formdata","",null,null],[4,"Error","formdata::error","An error type for the `formdata` crate.",null,null],[13,"NoRequestContentType","","The Hyper request did not have a Content-Type header.",3,null],[13,"NotMultipart","","The Hyper request Content-Type top-level Mime was not `Multipart`.",3,null],[13,"NotFormData","","The Hyper request Content-Type sub-level Mime was not `FormData`.",3,null],[13,"BoundaryNotSpecified","","The Content-Type header failed to specify boundary token.",3,null],[13,"PartialHeaders","","A multipart section contained only partial headers.",3,null],[13,"MissingDisposition","","A multipart section did not have the required Content-Disposition header.",3,null],[13,"InvalidDisposition","","A multipart section did not have a valid corresponding Content-Disposition.",3,null],[13,"NoName","","A multipart section Content-Disposition header failed to specify a name.",3,null],[13,"Eof","","The request body ended prior to reaching the expected terminating boundary.",3,null],[13,"Httparse","","An HTTP parsing error from a multipart section.",3,null],[13,"Io","","An I/O error.",3,null],[13,"Hyper","","An error was returned from Hyper.",3,null],[13,"Utf8","","An error occurred during UTF-8 processing.",3,null],[11,"fmt","","",3,null],[11,"from","","",3,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",3,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",3,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",3,{"inputs":[{"name":"fromutf8error"}],"output":{"name":"error"}}],[11,"fmt","","",3,null],[11,"description","","",3,null],[8,"Request","formdata","A wrapper for request data to provide parsing multipart requests to any front-end that provides\na `hyper::header::Headers` and a `std::io::Read` of the request's entire body.",null,null],[10,"headers","","Returns a reference to the request's headers.",4,null],[10,"read_mut","","Returns a mutable reference to the request's body reader.",4,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"new","","",1,{"inputs":[],"output":{"name":"formdata"}}]],"paths":[[3,"UploadedFile"],[3,"FormData"],[8,"BufReadPlus"],[4,"Error"],[8,"Request"]]}; initSearch(searchIndex);