mirror of
https://github.com/actix/actix-website
synced 2024-11-28 10:32:38 +01:00
4 lines
195 KiB
JavaScript
4 lines
195 KiB
JavaScript
var N = null;var searchIndex = {};
|
||
searchIndex["actix_web"]={"doc":"Actix web is a small, pragmatic, and extremely fast web framework for Rust.","items":[[3,"App","actix_web","Structure that follows the builder pattern for building application instances.",N,N],[3,"HttpContext","","Execution context for http actors",N,N],[3,"Extensions","","A type map of request extensions.",N,N],[3,"Form","","Extract typed information from the request's body.",N,N],[12,"0","","",0,N],[3,"Path","","Extract typed information from the request's path.",N,N],[3,"Query","","Extract typed information from from the request's query.",N,N],[3,"State","","Access an application state",N,N],[3,"HttpRequest","","An HTTP Request",N,N],[3,"HttpResponse","","An HTTP Response",N,N],[3,"Json","","Json helper",N,N],[12,"0","","",1,N],[3,"Scope","","Resources scope",N,N],[3,"Request","","Request's context",N,N],[4,"Binary","","Represents various types of binary body. `Content-Length` header is set to length of the body.",N,N],[13,"Bytes","","Bytes body",2,N],[13,"Slice","","Static slice",2,N],[13,"SharedVec","","Shared vec body",2,N],[4,"Body","","Represents various types of http message body.",N,N],[13,"Empty","","Empty response. `Content-Length` header is set to `0`",3,N],[13,"Binary","","Specific response body.",3,N],[13,"Streaming","","Unspecified streaming response. Developer is responsible for setting right `Content-Length` or `Transfer-Encoding` headers.",3,N],[13,"Actor","","Special body type for actor response.",3,N],[4,"Either","","Combines two different responder types into a single type",N,N],[13,"A","","First branch of the type",4,N],[13,"B","","Second branch of the type",4,N],[11,"new","","Create application with empty state. Application can be configured with a builder-like pattern.",5,[[],["app"]]],[11,"default","","",5,[[],["self"]]],[11,"with_state","","Create application with specified state. Application can be configured with a builder-like pattern.",5,[[["s"]],["app"]]],[11,"state","","Get reference to the application state",5,[[["self"]],["s"]]],[11,"prefix","","Set application prefix.",5,[[["self"],["p"]],["app"]]],[11,"filter","","Add match predicate to application.",5,[[["self"],["t"]],["app"]]],[11,"route","","Configure route for a specific path.",5,[[["self"],["str"],["method"],["f"]],["app"]]],[11,"scope","","Configure scope for common root path.",5,[[["self"],["str"],["f"]],["app"]]],[11,"resource","","Configure resource for a specific path.",5,[[["self"],["str"],["f"]],["app"]]],[11,"default_resource","","Default resource to be used if no matching route could be found.",5,[[["self"],["f"]],["app"]]],[11,"default_encoding","","Set default content encoding. `ContentEncoding::Auto` is set by default.",5,[[["self"],["contentencoding"]],["app"]]],[11,"external_resource","","Register an external resource.",5,[[["self"],["t"],["u"]],["app"]]],[11,"handler","","Configure handler for specific path prefix.",5,[[["self"],["str"],["h"]],["app"]]],[11,"middleware","","Register a middleware.",5,[[["self"],["m"]],["app"]]],[11,"configure","","Run external configuration as part of the application building process",5,[[["self"],["f"]],["app"]]],[11,"finish","","Finish application configuration and create `HttpHandler` object.",5,[[["self"]],["httpapplication"]]],[11,"boxed","","Convenience method for creating `Box<HttpHandler>` instances.",5,[[["self"]],["box",["httphandler"]]]],[11,"into_handler","","",5,[[["self"]],["httpapplication"]]],[11,"fmt","","",2,[[["self"],["formatter"]],["result"]]],[11,"eq","","",2,[[["self"],["binary"]],["bool"]]],[11,"ne","","",2,[[["self"],["binary"]],["bool"]]],[11,"is_streaming","","Does this body streaming.",3,[[["self"]],["bool"]]],[11,"is_binary","","Is this binary body.",3,[[["self"]],["bool"]]],[11,"is_empty","","Is this binary empy.",3,[[["self"]],["bool"]]],[11,"from_slice","","Create body from slice (copy)",3,N],[11,"eq","","",3,[[["self"],["body"]],["bool"]]],[11,"fmt","","",3,[[["self"],["formatter"]],["result"]]],[11,"from","","",3,[[["t"]],["body"]]],[11,"from","","",3,[[["box",["actorhttpcontext"]]],["body"]]],[11,"is_empty","","Returns `true` if body is empty",2,[[["self"]],["bool"]]],[11,"len","","Length of body in bytes",2,[[["self"]],["usize"]]],[11,"from_slice","","Create binary body from slice",2,N],[11,"take","","Convert Binary to a Bytes instance",2,[[["self"]],["bytes"]]],[11,"clone","","",2,[[["self"]],["binary"]]],[11,"into","","",2,[[["self"]],["bytes"]]],[11,"from","","",2,[[["str"]],["binary"]]],[11,"from","","",2,N],[11,"from","","",2,[[["vec",["u8"]]],["binary"]]],[11,"from","","",2,[[["string"]],["binary"]]],[11,"from","","",2,[[["string"]],["binary"]]],[11,"from","","",2,[[["bytes"]],["binary"]]],[11,"from","","",2,[[["bytesmut"]],["binary"]]],[11,"from","","",2,[[["arc",["string"]]],["binary"]]],[11,"from","","",2,[[["arc"]],["binary"]]],[11,"from","","",2,[[["arc",["vec"]]],["binary"]]],[11,"from","","",2,[[["arc"]],["binary"]]],[11,"as_ref","","",2,N],[11,"respond_to","","",2,[[["self"],["httprequest"]],["result",["httpresponse","error"]]]],[11,"stop","","",6,[[["self"]]]],[11,"terminate","","",6,[[["self"]]]],[11,"state","","",6,[[["self"]],["actorstate"]]],[11,"spawn","","",6,[[["self"],["f"]],["spawnhandle"]]],[11,"wait","","",6,[[["self"],["f"]]]],[11,"cancel_future","","",6,[[["self"],["spawnhandle"]],["bool"]]],[11,"address","","",6,[[["self"]],["addr"]]],[11,"create","","Create a new HTTP Context from a request and an actor",6,[[["httprequest"],["a"]],["body"]]],[11,"with_factory","","Create a new HTTP Context",6,[[["httprequest"],["f"]],["body"]]],[11,"state","","Shared application state",6,[[["self"]],["s"]]],[11,"request","","Incoming request",6,[[["self"]],["httprequest"]]],[11,"write","","Write payload",6,[[["self"],["b"]]]],[11,"write_eof","","Indicate end of streaming payload. Also this method calls `Self::close`.",6,[[["self"]]]],[11,"drain","","Returns drain future",6,[[["self"]],["drain"]]],[11,"connected","","Check if connection still open",6,[[["self"]],["bool"]]],[11,"handle","","Handle of the running future",6,[[["self"]],["spawnhandle"]]],[11,"parts","","",6,[[["self"]],["contextparts"]]],[11,"pack","","",6,[[["m"],["option",["sender"]]],["envelope"]]],[11,"insert","","Insert a type into this `Extensions`.",7,[[["self"],["t"]]]],[11,"get","","Get a reference to a type previously inserted on this `Extensions`.",7,[[["self"]],["option"]]],[11,"get_mut","","Get a mutable reference to a type previously inserted on this `Extensions`.",7,[[["self"]],["option"]]],[11,"remove","","Remove a type from this `Extensions`.",7,[[["self"]],["option"]]],[11,"clear","","Clear the `Extensions` of all inserted extensions.",7,[[["self"]]]],[11,"fmt","","",7,[[["self"],["formatter"]],["result"]]],[11,"eq","","",8,[[["self"],["path"]],["bool"]]],[11,"ne","","",8,[[["self"],["path"]],["bool"]]],[11,"partial_cmp","","",8,[[["self"],["path"]],["option",["ordering"]]]],[11,"lt","","",8,[[["self"],["path"]],["bool"]]],[11,"le","","",8,[[["self"],["path"]],["bool"]]],[11,"gt","","",8,[[["self"],["path"]],["bool"]]],[11,"ge","","",8,[[["self"],["path"]],["bool"]]],[11,"cmp","","",8,[[["self"],["path"]],["ordering"]]],[11,"as_ref","","",8,[[["self"]],["t"]]],[11,"deref","","",8,[[["self"]],["t"]]],[11,"deref_mut","","",8,[[["self"]],["t"]]],[11,"into_inner","","Deconstruct to an inner value",8,[[["self"]],["t"]]],[11,"from_request","","",8,N],[11,"fmt","","",8,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",8,[[["self"],["formatter"]],["result"]]],[11,"eq","","",9,[[["self"],["query"]],["bool"]]],[11,"ne","","",9,[[["self"],["query"]],["bool"]]],[11,"partial_cmp","","",9,[[["self"],["query"]],["option",["ordering"]]]],[11,"lt","","",9,[[["self"],["query"]],["bool"]]],[11,"le","","",9,[[["self"],["query"]],["bool"]]],[11,"gt","","",9,[[["self"],["query"]],["bool"]]],[11,"ge","","",9,[[["self"],["query"]],["bool"]]],[11,"cmp","","",9,[[["self"],["query"]],["ordering"]]],[11,"deref","","",9,[[["self"]],["t"]]],[11,"deref_mut","","",9,[[["self"]],["t"]]],[11,"into_inner","","Deconstruct to a inner value",9,[[["self"]],["t"]]],[11,"from_request","","",9,N],[11,"fmt","","",9,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",9,[[["self"],["formatter"]],["result"]]],[11,"eq","","",0,[[["self"],["form"]],["bool"]]],[11,"ne","","",0,[[["self"],["form"]],["bool"]]],[11,"partial_cmp","","",0,[[["self"],["form"]],["option",["ordering"]]]],[11,"lt","","",0,[[["self"],["form"]],["bool"]]],[11,"le","","",0,[[["self"],["form"]],["bool"]]],[11,"gt","","",0,[[["self"],["form"]],["bool"]]],[11,"ge","","",0,[[["self"],["form"]],["bool"]]],[11,"cmp","","",0,[[["self"],["form"]],["ordering"]]],[11,"into_inner","","Deconstruct to an inner value",0,[[["self"]],["t"]]],[11,"deref","","",0,[[["self"]],["t"]]],[11,"deref_mut","","",0,[[["self"]],["t"]]],[11,"from_request","","",0,N],[11,"fmt","","",0,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",0,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",4,[[["self"],["formatter"]],["result"]]],[11,"respond_to","","",4,[[["self"],["httprequest"]],["result",["asyncresult","error"]]]],[11,"poll","","",4,[[["self"]],["poll"]]],[11,"respond_to","","",10,[[["self"],["httprequest"]],["result",["asyncresult","error"]]]],[11,"deref","","",11,[[["self"]],["s"]]],[11,"from_request","","",11,N],[11,"Ok","","",10,[[],["httpresponsebuilder"]]],[11,"Created","","",10,[[],["httpresponsebuilder"]]],[11,"Accepted","","",10,[[],["httpresponsebuilder"]]],[11,"NonAuthoritativeInformation","","",10,[[],["httpresponsebuilder"]]],[11,"NoContent","","",10,[[],["httpresponsebuilder"]]],[11,"ResetContent","","",10,[[],["httpresponsebuilder"]]],[11,"PartialContent","","",10,[[],["httpresponsebuilder"]]],[11,"MultiStatus","","",10,[[],["httpresponsebuilder"]]],[11,"AlreadyReported","","",10,[[],["httpresponsebuilder"]]],[11,"MultipleChoices","","",10,[[],["httpresponsebuilder"]]],[11,"MovedPermanenty","","",10,[[],["httpresponsebuilder"]]],[11,"MovedPermanently","","",10,[[],["httpresponsebuilder"]]],[11,"Found","","",10,[[],["httpresponsebuilder"]]],[11,"SeeOther","","",10,[[],["httpresponsebuilder"]]],[11,"NotModified","","",10,[[],["httpresponsebuilder"]]],[11,"UseProxy","","",10,[[],["httpresponsebuilder"]]],[11,"TemporaryRedirect","","",10,[[],["httpresponsebuilder"]]],[11,"PermanentRedirect","","",10,[[],["httpresponsebuilder"]]],[11,"BadRequest","","",10,[[],["httpresponsebuilder"]]],[11,"NotFound","","",10,[[],["httpresponsebuilder"]]],[11,"Unauthorized","","",10,[[],["httpresponsebuilder"]]],[11,"PaymentRequired","","",10,[[],["httpresponsebuilder"]]],[11,"Forbidden","","",10,[[],["httpresponsebuilder"]]],[11,"MethodNotAllowed","","",10,[[],["httpresponsebuilder"]]],[11,"NotAcceptable","","",10,[[],["httpresponsebuilder"]]],[11,"ProxyAuthenticationRequired","","",10,[[],["httpresponsebuilder"]]],[11,"RequestTimeout","","",10,[[],["httpresponsebuilder"]]],[11,"Conflict","","",10,[[],["httpresponsebuilder"]]],[11,"Gone","","",10,[[],["httpresponsebuilder"]]],[11,"LengthRequired","","",10,[[],["httpresponsebuilder"]]],[11,"PreconditionFailed","","",10,[[],["httpresponsebuilder"]]],[11,"PayloadTooLarge","","",10,[[],["httpresponsebuilder"]]],[11,"UriTooLong","","",10,[[],["httpresponsebuilder"]]],[11,"UnsupportedMediaType","","",10,[[],["httpresponsebuilder"]]],[11,"RangeNotSatisfiable","","",10,[[],["httpresponsebuilder"]]],[11,"ExpectationFailed","","",10,[[],["httpresponsebuilder"]]],[11,"InternalServerError","","",10,[[],["httpresponsebuilder"]]],[11,"NotImplemented","","",10,[[],["httpresponsebuilder"]]],[11,"BadGateway","","",10,[[],["httpresponsebuilder"]]],[11,"ServiceUnavailable","","",10,[[],["httpresponsebuilder"]]],[11,"GatewayTimeout","","",10,[[],["httpresponsebuilder"]]],[11,"VersionNotSupported","","",10,[[],["httpresponsebuilder"]]],[11,"VariantAlsoNegotiates","","",10,[[],["httpresponsebuilder"]]],[11,"InsufficientStorage","","",10,[[],["httpresponsebuilder"]]],[11,"LoopDetected","","",10,[[],["httpresponsebuilder"]]],[11,"headers","","",12,[[["self"]],["headermap"]]],[11,"payload","","",12,[[["self"]],["payload"]]],[11,"deref","","",12,[[["self"]],["request"]]],[11,"state","","Shared application state",12,[[["self"]],["s"]]],[11,"request","","Server request",12,[[["self"]],["request"]]],[11,"extensions","","Request extensions",12,[[["self"]],["ref",["extensions"]]]],[11,"extensions_mut","","Mutable reference to a the request's extensions",12,[[["self"]],["refmut",["extensions"]]]],[11,"response","","Create http response",12,[[["self"],["statuscode"],["body"]],["httpresponse"]]],[11,"build_response","","Create http response builder",12,[[["self"],["statuscode"]],["httpresponsebuilder"]]],[11,"uri","","Read the Request Uri.",12,[[["self"]],["uri"]]],[11,"method","","Read the Request method.",12,[[["self"]],["method"]]],[11,"version","","Read the Request Version.",12,[[["self"]],["version"]]],[11,"path","","The target path of this Request.",12,[[["self"]],["str"]]],[11,"connection_info","","Get ConnectionInfo for the correct request.",12,[[["self"]],["ref",["connectioninfo"]]]],[11,"url_for","","Generate url for named resource",12,[[["self"],["str"],["u"]],["result",["url","urlgenerationerror"]]]],[11,"url_for_static","","Generate url for named resource",12,[[["self"],["str"]],["result",["url","urlgenerationerror"]]]],[11,"resource","","This method returns reference to current `RouteInfo` object.",12,[[["self"]],["resourceinfo"]]],[11,"peer_addr","","Peer socket address",12,[[["self"]],["option",["socketaddr"]]]],[11,"query","","url query parameters.",12,[[["self"]],["ref",["hashmap"]]]],[11,"query_string","","The query string in the URL.",12,[[["self"]],["str"]]],[11,"cookies","","Load request cookies.",12,[[["self"]],["result",["ref","cookieparseerror"]]]],[11,"cookie","","Return request cookie.",12,[[["self"],["str"]],["option",["cookie"]]]],[11,"match_info","","Get a reference to the Params object.",12,[[["self"]],["params"]]],[11,"set_read_buffer_capacity","","Set read buffer capacity",12,[[["self"],["usize"]]]],[11,"drop","","",12,[[["self"]]]],[11,"clone","","",12,[[["self"]],["httprequest"]]],[11,"from_request","","",12,N],[11,"fmt","","",12,[[["self"],["formatter"]],["result"]]],[11,"build","","Create http response builder with specific status.",10,[[["statuscode"]],["httpresponsebuilder"]]],[11,"build_from","","Create http response builder",10,[[["t"]],["httpresponsebuilder"]]],[11,"new","","Constructs a response",10,[[["statuscode"]],["httpresponse"]]],[11,"with_body","","Constructs a response with body",10,[[["statuscode"],["b"]],["httpresponse"]]],[11,"from_error","","Constructs an error response",10,[[["error"]],["httpresponse"]]],[11,"into_builder","","Convert `HttpResponse` to a `HttpResponseBuilder`",10,[[["self"]],["httpresponsebuilder"]]],[11,"error","","The source `error` for this response",10,[[["self"]],["option",["error"]]]],[11,"version","","Get the HTTP version of this response",10,[[["self"]],["option",["version"]]]],[11,"headers","","Get the headers from the response",10,[[["self"]],["headermap"]]],[11,"headers_mut","","Get a mutable reference to the headers",10,[[["self"]],["headermap"]]],[11,"cookies","","Get an iterator for the cookies set by this response",10,[[["self"]],["cookieiter"]]],[11,"add_cookie","","Add a cookie to this response",10,[[["self"],["cookie"]],["result",["httperror"]]]],[11,"del_cookie","","Remove all cookies with the given name from this response. Returns the number of cookies removed.",10,[[["self"],["str"]],["usize"]]],[11,"status","","Get the response status code",10,[[["self"]],["statuscode"]]],[11,"status_mut","","Set the `StatusCode` for this response",10,[[["self"]],["statuscode"]]],[11,"reason","","Get custom reason for the response",10,[[["self"]],["str"]]],[11,"set_reason","","Set the custom reason for the response",10,[[["self"],["str"]],["self"]]],[11,"set_connection_type","","Set connection type",10,[[["self"],["connectiontype"]],["self"]]],[11,"upgrade","","Connection upgrade status",10,[[["self"]],["bool"]]],[11,"keep_alive","","Keep-alive status for this connection",10,[[["self"]],["option",["bool"]]]],[11,"chunked","","is chunked encoding enabled",10,[[["self"]],["option",["bool"]]]],[11,"content_encoding","","Content encoding",10,[[["self"]],["option",["contentencoding"]]]],[11,"set_content_encoding","","Set content encoding",10,[[["self"],["contentencoding"]],["self"]]],[11,"body","","Get body os this response",10,[[["self"]],["body"]]],[11,"set_body","","Set a body",10,[[["self"],["b"]]]],[11,"replace_body","","Set a body and return previous body value",10,[[["self"],["b"]],["body"]]],[11,"response_size","","Size of response in bytes, excluding HTTP headers",10,[[["self"]],["u64"]]],[11,"write_buffer_capacity","","Set write buffer capacity",10,[[["self"]],["usize"]]],[11,"set_write_buffer_capacity","","Set write buffer capacity",10,[[["self"],["usize"]]]],[11,"fmt","","",10,[[["self"],["formatter"]],["result"]]],[11,"from","","",10,[[["result"]],["self"]]],[11,"from","","",10,[[["httpresponsebuilder"]],["self"]]],[11,"from","","",10,[[["str"]],["self"]]],[11,"from","","",10,N],[11,"from","","",10,[[["string"]],["self"]]],[11,"from","","",10,[[["string"]],["self"]]],[11,"from","","",10,[[["bytes"]],["self"]]],[11,"from","","",10,[[["bytesmut"]],["self"]]],[11,"into_inner","","Deconstruct to an inner value",1,[[["self"]],["t"]]],[11,"deref","","",1,[[["self"]],["t"]]],[11,"deref_mut","","",1,[[["self"]],["t"]]],[11,"fmt","","",1,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",1,[[["self"],["formatter"]],["result"]]],[11,"respond_to","","",1,[[["self"],["httprequest"]],["result",["httpresponse","error"]]]],[11,"from_request","","",1,N],[11,"new","","Create a new scope",13,[[["str"]],["scope"]]],[11,"filter","","Add match predicate to scope.",13,[[["self"],["t"]],["self"]]],[11,"with_state","","Create nested scope with new state.",13,[[["self"],["str"],["t"],["f"]],["scope"]]],[11,"nested","","Create nested scope.",13,[[["self"],["str"],["f"]],["scope"]]],[11,"route","","Configure route for a specific path.",13,[[["self"],["str"],["method"],["f"]],["scope"]]],[11,"resource","","Configure resource for a specific path.",13,[[["self"],["str"],["f"]],["scope"]]],[11,"default_resource","","Default resource to be used if no matching route could be found.",13,[[["self"],["f"]],["scope"]]],[11,"middleware","","Register a scope middleware",13,[[["self"],["m"]],["scope"]]],[0,"client","","Http client api",N,N],[3,"ClientConnector","actix_web::client","`ClientConnector` type is responsible for transport layer of a client connection.",N,N],[3,"ClientConnectorStats","","Client connector usage stats",N,N],[12,"waits","","Number of waited-on connections",14,N],[12,"wait_queue","","Size of the wait queue",14,N],[12,"reused","","Number of reused connections",14,N],[12,"opened","","Number of opened connections",14,N],[12,"closed","","Number of closed connections",14,N],[12,"errors","","Number of connections with errors",14,N],[12,"timeouts","","Number of connection timeouts",14,N],[3,"Connect","","`Connect` type represents a message that can be sent to `ClientConnector` with a connection request.",N,N],[3,"Connection","","HTTP client connection",N,N],[3,"Pause","","Pause connection process for `ClientConnector`",N,N],[3,"Resume","","Resume connection process for `ClientConnector`",N,N],[3,"SendRequest","","`SendRequest` is a `Future` which represents an asynchronous request sending process.",N,N],[3,"ClientRequest","","An HTTP Client Request",N,N],[3,"ClientRequestBuilder","","An HTTP Client request builder",N,N],[3,"ClientResponse","","An HTTP Client response",N,N],[4,"ClientConnectorError","","A set of errors that can occur while connecting to an HTTP host",N,N],[13,"InvalidUrl","","Invalid URL",15,N],[13,"SslIsNotSupported","","SSL feature is not enabled",15,N],[13,"SslError","","SSL error",15,N],[13,"Resolver","","Resolver error",15,N],[13,"Timeout","","Connection took too long",15,N],[13,"Disconnected","","Connector has been disconnected",15,N],[13,"IoError","","Connection IO error",15,N],[4,"SendRequestError","","A set of errors that can occur during request sending and response reading",N,N],[13,"Timeout","","Response took too long",16,N],[13,"Connector","","Failed to connect to host",16,N],[13,"ParseError","","Error parsing response",16,N],[13,"Io","","Error reading response payload",16,N],[5,"get","","Create request builder for `GET` requests",N,[[["u"]],["clientrequestbuilder"]]],[5,"head","","Create request builder for `HEAD` requests",N,[[["u"]],["clientrequestbuilder"]]],[5,"post","","Create request builder for `POST` requests",N,[[["u"]],["clientrequestbuilder"]]],[5,"put","","Create request builder for `PUT` requests",N,[[["u"]],["clientrequestbuilder"]]],[5,"delete","","Create request builder for `DELETE` requests",N,[[["u"]],["clientrequestbuilder"]]],[11,"default","","",14,[[],["clientconnectorstats"]]],[11,"fmt","","",17,[[["self"],["formatter"]],["result"]]],[11,"new","","Create `Connect` message for specified `Uri`",17,[[["u"]],["result",["connect","httperror"]]]],[11,"conn_timeout","","Connection timeout, i.e. max time to connect to remote host. Set to 1 second by default.",17,[[["self"],["duration"]],["self"]]],[11,"wait_timeout","","If connection pool limits are enabled, wait time indicates max time to wait for a connection to become available. Set to 5 seconds by default.",17,[[["self"],["duration"]],["self"]]],[11,"new","","Create message with pause duration parameter",18,[[["duration"]],["pause"]]],[11,"default","","",18,[[],["pause"]]],[11,"cause","","",15,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",15,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",15,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",15,[[["self"],["formatter"]],["result"]]],[11,"from","","",15,[[["resolvererror"]],["clientconnectorerror"]]],[11,"started","","",19,N],[11,"default","","",19,[[],["clientconnector"]]],[11,"with_connector","","Create `ClientConnector` actor with custom `SslConnector` instance.",19,[[["sslconnector"]],["clientconnector"]]],[11,"limit","","Set total number of simultaneous connections.",19,[[["self"],["usize"]],["self"]]],[11,"limit_per_host","","Set total number of simultaneous connections to the same endpoint.",19,[[["self"],["usize"]],["self"]]],[11,"conn_keep_alive","","Set keep-alive period for opened connection.",19,[[["self"],["duration"]],["self"]]],[11,"conn_lifetime","","Set max lifetime period for connection.",19,[[["self"],["duration"]],["self"]]],[11,"stats","","Subscribe for connector stats. Only one subscriber is supported.",19,[[["self"],["recipient",["clientconnectorstats"]]],["self"]]],[11,"resolver","","Use custom resolver actor",19,[[["self"],["addr",["resolver"]]],["self"]]],[11,"handle","","",19,N],[11,"handle","","",19,N],[11,"handle","","",19,N],[11,"fmt","","",20,[[["self"],["formatter"]],["result"]]],[11,"stream","","Raw IO stream",20,[[["self"]],["iostream"]]],[11,"from_stream","","Create a new connection from an IO Stream",20,[[["t"]],["connection"]]],[11,"close","","Close connection",20,[[["self"]]]],[11,"release","","Release this connection to the connection pool",20,[[["self"]]]],[11,"read","","",20,N],[11,"write","","",20,N],[11,"flush","","",20,[[["self"]],["result"]]],[11,"shutdown","","",20,[[["self"]],["poll",["error"]]]],[11,"cause","","",16,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",16,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",16,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",16,[[["self"],["formatter"]],["result"]]],[11,"from","","",16,[[["error"]],["sendrequesterror"]]],[11,"from","","",16,[[["clientconnectorerror"]],["sendrequesterror"]]],[11,"timeout","","Set request timeout",21,[[["self"],["duration"]],["self"]]],[11,"conn_timeout","","Set connection timeout",21,[[["self"],["duration"]],["self"]]],[11,"wait_timeout","","Set wait timeout",21,[[["self"],["duration"]],["self"]]],[11,"poll","","",21,[[["self"]],["poll"]]],[11,"default","","",22,[[],["clientrequest"]]],[11,"get","","Create request builder for `GET` request",22,[[["u"]],["clientrequestbuilder"]]],[11,"head","","Create request builder for `HEAD` request",22,[[["u"]],["clientrequestbuilder"]]],[11,"post","","Create request builder for `POST` request",22,[[["u"]],["clientrequestbuilder"]]],[11,"put","","Create request builder for `PUT` request",22,[[["u"]],["clientrequestbuilder"]]],[11,"delete","","Create request builder for `DELETE` request",22,[[["u"]],["clientrequestbuilder"]]],[11,"build","","Create client request builder",22,[[],["clientrequestbuilder"]]],[11,"build_from","","Create client request builder",22,[[["t"]],["clientrequestbuilder"]]],[11,"uri","","Get the request URI",22,[[["self"]],["uri"]]],[11,"set_uri","","Set client request URI",22,[[["self"],["uri"]]]],[11,"method","","Get the request method",22,[[["self"]],["method"]]],[11,"set_method","","Set HTTP `Method` for the request",22,[[["self"],["method"]]]],[11,"version","","Get HTTP version for the request",22,[[["self"]],["version"]]],[11,"set_version","","Set http `Version` for the request",22,[[["self"],["version"]]]],[11,"headers","","Get the headers from the request",22,[[["self"]],["headermap"]]],[11,"headers_mut","","Get a mutable reference to the headers",22,[[["self"]],["headermap"]]],[11,"chunked","","is chunked encoding enabled",22,[[["self"]],["bool"]]],[11,"upgrade","","is upgrade request",22,[[["self"]],["bool"]]],[11,"content_encoding","","Content encoding",22,[[["self"]],["contentencoding"]]],[11,"response_decompress","","Decompress response payload",22,[[["self"]],["bool"]]],[11,"write_buffer_capacity","","Requested write buffer capacity",22,[[["self"]],["usize"]]],[11,"body","","Get body of this response",22,[[["self"]],["body"]]],[11,"set_body","","Set a body",22,[[["self"],["b"]]]],[11,"send","","Send request",22,[[["self"]],["sendrequest"]]],[11,"fmt","","",22,[[["self"],["formatter"]],["result"]]],[11,"uri","","Set HTTP URI of request.",23,[[["self"],["u"]],["self"]]],[11,"method","","Set HTTP method of this request.",23,[[["self"],["method"]],["self"]]],[11,"get_method","","Set HTTP method of this request.",23,[[["self"]],["method"]]],[11,"version","","Set HTTP version of this request.",23,[[["self"],["version"]],["self"]]],[11,"header","","Append a header.",23,[[["self"],["k"],["v"]],["self"]]],[11,"set_header","","Set a header.",23,[[["self"],["k"],["v"]],["self"]]],[11,"set_header_if_none","","Set a header only if it is not yet set.",23,[[["self"],["k"],["v"]],["self"]]],[11,"content_encoding","","Set content encoding.",23,[[["self"],["contentencoding"]],["self"]]],[11,"chunked","","Enables automatic chunked transfer encoding",23,[[["self"]],["self"]]],[11,"upgrade","","Enable connection upgrade",23,[[["self"]],["self"]]],[11,"content_type","","Set request's content type",23,[[["self"],["v"]],["self"]]],[11,"content_length","","Set content length",23,[[["self"],["u64"]],["self"]]],[11,"cookie","","Set a cookie",23,[[["self"],["cookie"]],["self"]]],[11,"no_default_headers","","Do not add default request headers. By default `Accept-Encoding` and `User-Agent` headers are set.",23,[[["self"]],["self"]]],[11,"disable_decompress","","Disable automatic decompress response body",23,[[["self"]],["self"]]],[11,"write_buffer_capacity","","Set write buffer capacity",23,[[["self"],["usize"]],["self"]]],[11,"timeout","","Set request timeout",23,[[["self"],["duration"]],["self"]]],[11,"with_connector","","Send request using custom connector",23,[[["self"],["addr",["clientconnector"]]],["self"]]],[11,"with_connection","","Send request using existing `Connection`",23,[[["self"],["connection"]],["self"]]],[11,"if_true","","This method calls provided closure with builder reference if value is `true`.",23,[[["self"],["bool"],["f"]],["self"]]],[11,"if_some","","This method calls provided closure with builder reference if value is `Some`.",23,[[["self"],["option"],["f"]],["self"]]],[11,"body","","Set a body and generate `ClientRequest`.",23,[[["self"],["b"]],["result",["clientrequest","error"]]]],[11,"json","","Set a JSON body and generate `ClientRequest`",23,[[["self"],["t"]],["result",["clientrequest","error"]]]],[11,"form","","Set a urlencoded body and generate `ClientRequest`",23,[[["self"],["t"]],["result",["clientrequest","error"]]]],[11,"streaming","","Set a streaming body and generate `ClientRequest`.",23,[[["self"],["s"]],["result",["clientrequest","error"]]]],[11,"finish","","Set an empty body and generate `ClientRequest`",23,[[["self"]],["result",["clientrequest","error"]]]],[11,"take","","This method construct new `ClientRequestBuilder`",23,[[["self"]],["clientrequestbuilder"]]],[11,"fmt","","",23,[[["self"],["formatter"]],["result"]]],[11,"from","","",23,[[["httprequest"]],["clientrequestbuilder"]]],[11,"headers","","Get the headers from the response.",24,[[["self"]],["headermap"]]],[11,"payload","","",24,[[["self"]],["box",["pipeline"]]]],[11,"version","","Get the HTTP version of this response.",24,[[["self"]],["version"]]],[11,"status","","Get the status from the server.",24,[[["self"]],["statuscode"]]],[11,"cookies","","Load response cookies.",24,[[["self"]],["result",["vec","cookieparseerror"]]]],[11,"cookie","","Return request cookie.",24,[[["self"],["str"]],["option",["cookie"]]]],[11,"fmt","","",24,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",16,[[["self"]],["httpresponse"]]],[0,"error","actix_web","Error and Result module",N,N],[4,"UrlParseError","actix_web::error","Errors that can occur during parsing.",N,N],[13,"EmptyHost","","",25,N],[13,"IdnaError","","",25,N],[13,"InvalidPort","","",25,N],[13,"InvalidIpv4Address","","",25,N],[13,"InvalidIpv6Address","","",25,N],[13,"InvalidDomainCharacter","","",25,N],[13,"RelativeUrlWithoutBase","","",25,N],[13,"RelativeUrlWithCannotBeABaseBase","","",25,N],[13,"SetHostOnCannotBeABaseUrl","","",25,N],[13,"Overflow","","",25,N],[4,"CookieParseError","","Enum corresponding to a parsing error.",N,N],[13,"MissingPair","","The cookie did not contain a name/value pair.",26,N],[13,"EmptyName","","The cookie's name was empty.",26,N],[13,"Utf8Error","","Decoding the cookie's name or value resulted in invalid UTF-8.",26,N],[3,"Error","","General purpose actix web error.",N,N],[3,"InternalError","","Helper type that can wrap any error and generate custom response.",N,N],[4,"ParseError","","A set of errors that can occur during parsing HTTP streams",N,N],[13,"Method","","An invalid `Method`, such as `GE.T`.",27,N],[13,"Uri","","An invalid `Uri`, such as `exam ple.domain`.",27,N],[13,"Version","","An invalid `HttpVersion`, such as `HTP/1.1`",27,N],[13,"Header","","An invalid `Header`.",27,N],[13,"TooLarge","","A message head is too large to be reasonable.",27,N],[13,"Incomplete","","A message reached EOF, but is not complete.",27,N],[13,"Status","","An invalid `Status`, such as `1337 ELITE`.",27,N],[13,"Timeout","","A timeout occurred waiting for an IO event.",27,N],[13,"Io","","An `io::Error` that occurred while trying to read or write to a network stream.",27,N],[13,"Utf8","","Parsing a field as string failed",27,N],[4,"PayloadError","","A set of errors that can occur during payload parsing",N,N],[13,"Incomplete","","A payload reached EOF, but is not complete.",28,N],[13,"EncodingCorrupted","","Content encoding stream corruption",28,N],[13,"Overflow","","A payload reached size limit.",28,N],[13,"UnknownLength","","A payload length is unknown.",28,N],[13,"Io","","Io error",28,N],[13,"Http2","","Http2 error",28,N],[4,"MultipartError","","A set of errors that can occur during parsing multipart streams",N,N],[13,"NoContentType","","Content-Type header is not found",29,N],[13,"ParseContentType","","Can not parse Content-Type header",29,N],[13,"Boundary","","Multipart boundary is not found",29,N],[13,"Incomplete","","Multipart stream is incomplete",29,N],[13,"Parse","","Error during field parsing",29,N],[13,"Payload","","Payload error",29,N],[4,"ExpectError","","Error during handling `Expect` header",N,N],[13,"Encoding","","Expect header value can not be converted to utf8",30,N],[13,"UnknownExpect","","Unknown expect value",30,N],[4,"ContentTypeError","","A set of error that can occure during parsing content type",N,N],[13,"ParseError","","Can not parse content type",31,N],[13,"UnknownEncoding","","Unknown content encoding",31,N],[4,"UrlencodedError","","A set of errors that can occur during parsing urlencoded payloads",N,N],[13,"Chunked","","Can not decode chunked transfer encoding",32,N],[13,"Overflow","","Payload size is bigger than allowed. (default: 256kB)",32,N],[13,"UnknownLength","","Payload size is now known",32,N],[13,"ContentType","","Content type error",32,N],[13,"Parse","","Parse error",32,N],[13,"Payload","","Payload error",32,N],[4,"JsonPayloadError","","A set of errors that can occur during parsing json payloads",N,N],[13,"Overflow","","Payload size is bigger than allowed. (default: 256kB)",33,N],[13,"ContentType","","Content type error",33,N],[13,"Deserialize","","Deserialize error",33,N],[13,"Payload","","Payload error",33,N],[4,"ReadlinesError","","Error type returned when reading body as lines.",N,N],[13,"EncodingError","","Error when decoding a line.",34,N],[13,"PayloadError","","Payload error.",34,N],[13,"LimitOverflow","","Line limit exceeded.",34,N],[13,"ContentTypeError","","ContentType error.",34,N],[4,"UriSegmentError","","Errors which can occur when attempting to interpret a segment string as a valid path segment.",N,N],[13,"BadStart","","The segment started with the wrapped invalid character.",35,N],[13,"BadChar","","The segment contained the wrapped invalid character.",35,N],[13,"BadEnd","","The segment ended with the wrapped invalid character.",35,N],[4,"UrlGenerationError","","Errors which can occur when attempting to generate resource uri.",N,N],[13,"ResourceNotFound","","Resource not found",36,N],[13,"NotEnoughElements","","Not all path pattern covered",36,N],[13,"ParseError","","URL parse error",36,N],[4,"StaticFileError","","Errors which can occur when serving static files.",N,N],[13,"IsNotDirectory","","Path is not a directory",37,N],[13,"IsDirectory","","Cannot render directory",37,N],[5,"ErrorBadRequest","","Helper function that creates wrapper of any error and generate BAD REQUEST response.",N,[[["t"]],["error"]]],[5,"ErrorUnauthorized","","Helper function that creates wrapper of any error and generate UNAUTHORIZED response.",N,[[["t"]],["error"]]],[5,"ErrorForbidden","","Helper function that creates wrapper of any error and generate FORBIDDEN response.",N,[[["t"]],["error"]]],[5,"ErrorNotFound","","Helper function that creates wrapper of any error and generate NOT FOUND response.",N,[[["t"]],["error"]]],[5,"ErrorMethodNotAllowed","","Helper function that creates wrapper of any error and generate METHOD NOT ALLOWED response.",N,[[["t"]],["error"]]],[5,"ErrorRequestTimeout","","Helper function that creates wrapper of any error and generate REQUEST TIMEOUT response.",N,[[["t"]],["error"]]],[5,"ErrorConflict","","Helper function that creates wrapper of any error and generate CONFLICT response.",N,[[["t"]],["error"]]],[5,"ErrorGone","","Helper function that creates wrapper of any error and generate GONE response.",N,[[["t"]],["error"]]],[5,"ErrorPreconditionFailed","","Helper function that creates wrapper of any error and generate PRECONDITION FAILED response.",N,[[["t"]],["error"]]],[5,"ErrorExpectationFailed","","Helper function that creates wrapper of any error and generate EXPECTATION FAILED response.",N,[[["t"]],["error"]]],[5,"ErrorInternalServerError","","Helper function that creates wrapper of any error and generate INTERNAL SERVER ERROR response.",N,[[["t"]],["error"]]],[5,"ErrorNotImplemented","","Helper function that creates wrapper of any error and generate NOT IMPLEMENTED response.",N,[[["t"]],["error"]]],[5,"ErrorBadGateway","","Helper function that creates wrapper of any error and generate BAD GATEWAY response.",N,[[["t"]],["error"]]],[5,"ErrorServiceUnavailable","","Helper function that creates wrapper of any error and generate SERVICE UNAVAILABLE response.",N,[[["t"]],["error"]]],[5,"ErrorGatewayTimeout","","Helper function that creates wrapper of any error and generate GATEWAY TIMEOUT response.",N,[[["t"]],["error"]]],[6,"Result","","A specialized `Result` for actix web operations",N,N],[8,"ResponseError","","Error that can be converted to `HttpResponse`",N,N],[11,"error_response","","Create response for error",38,[[["self"]],["httpresponse"]]],[11,"cause","","Deprecated way to reference the underlying response error.",39,[[["self"]],["responseerror"]]],[11,"as_fail","","Returns a reference to the underlying cause of this `Error` as `Fail`",39,[[["self"]],["fail"]]],[11,"as_response_error","","Returns the reference to the underlying `ResponseError`.",39,[[["self"]],["responseerror"]]],[11,"backtrace","","Returns a reference to the Backtrace carried by this error, if it carries one.",39,[[["self"]],["backtrace"]]],[11,"downcast_ref","","Attempts to downcast this `Error` to a particular `Fail` type by reference.",39,[[["self"]],["option"]]],[11,"fmt","","",39,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",39,[[["self"],["formatter"]],["result"]]],[11,"from","actix_web","",10,[[["error"]],["self"]]],[11,"from","actix_web::error","",39,[[["t"]],["error"]]],[11,"from","","",39,[[["error"]],["error"]]],[11,"cause","","",27,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",27,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",27,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",27,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",27,[[["self"]],["httpresponse"]]],[11,"from","","",27,[[["ioerror"]],["parseerror"]]],[11,"from","","",27,[[["invaliduri"]],["parseerror"]]],[11,"from","","",27,[[["utf8error"]],["parseerror"]]],[11,"from","","",27,[[["fromutf8error"]],["parseerror"]]],[11,"from","","",27,[[["error"]],["parseerror"]]],[11,"cause","","",28,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",28,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",28,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",28,[[["self"],["formatter"]],["result"]]],[11,"from","","",28,[[["ioerror"]],["payloaderror"]]],[11,"error_response","","",28,[[["self"]],["httpresponse"]]],[11,"error_response","","",26,[[["self"]],["httpresponse"]]],[11,"cause","","",29,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",29,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",29,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",29,[[["self"],["formatter"]],["result"]]],[11,"from","","",29,[[["parseerror"]],["multiparterror"]]],[11,"from","","",29,[[["payloaderror"]],["multiparterror"]]],[11,"error_response","","",29,[[["self"]],["httpresponse"]]],[11,"cause","","",30,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",30,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",30,[[["self"],["formatter"]],["result"]]],[11,"eq","","",30,[[["self"],["expecterror"]],["bool"]]],[11,"fmt","","",30,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",30,[[["self"]],["httpresponse"]]],[11,"cause","","",31,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",31,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",31,[[["self"],["formatter"]],["result"]]],[11,"eq","","",31,[[["self"],["contenttypeerror"]],["bool"]]],[11,"fmt","","",31,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",31,[[["self"]],["httpresponse"]]],[11,"cause","","",32,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",32,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",32,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",32,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",32,[[["self"]],["httpresponse"]]],[11,"from","","",32,[[["payloaderror"]],["urlencodederror"]]],[11,"cause","","",33,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",33,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",33,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",33,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",33,[[["self"]],["httpresponse"]]],[11,"from","","",33,[[["payloaderror"]],["jsonpayloaderror"]]],[11,"from","","",33,[[["jsonerror"]],["jsonpayloaderror"]]],[11,"from","","",34,[[["payloaderror"]],["self"]]],[11,"from","","",34,[[["contenttypeerror"]],["self"]]],[11,"cause","","",35,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",35,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",35,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",35,[[["self"],["formatter"]],["result"]]],[11,"eq","","",35,[[["self"],["urisegmenterror"]],["bool"]]],[11,"ne","","",35,[[["self"],["urisegmenterror"]],["bool"]]],[11,"error_response","","",35,[[["self"]],["httpresponse"]]],[11,"cause","","",36,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",36,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",36,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",36,[[["self"],["formatter"]],["result"]]],[11,"eq","","",36,[[["self"],["urlgenerationerror"]],["bool"]]],[11,"ne","","",36,[[["self"],["urlgenerationerror"]],["bool"]]],[11,"from","","",36,[[["urlparseerror"]],["self"]]],[11,"cause","","",37,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",37,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",37,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",37,[[["self"],["formatter"]],["result"]]],[11,"eq","","",37,[[["self"],["staticfileerror"]],["bool"]]],[11,"error_response","","",37,[[["self"]],["httpresponse"]]],[11,"new","","Create `InternalError` instance",40,[[["t"],["statuscode"]],["self"]]],[11,"from_response","","Create `InternalError` with predefined `HttpResponse`.",40,[[["t"],["httpresponse"]],["self"]]],[11,"backtrace","","",40,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",40,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",40,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",40,[[["self"]],["httpresponse"]]],[11,"respond_to","","",40,[[["self"],["httprequest"]],["result",["httpresponse","error"]]]],[0,"fs","actix_web","Static files support",N,N],[3,"DefaultConfig","actix_web::fs","Default content disposition as described in StaticFileConfig",N,N],[3,"NamedFile","","A file with an associated name.",N,N],[3,"ChunkedReadFile","","A helper created from a `std::fs::File` which reads the file chunk-by-chunk on a `CpuPool`.",N,N],[3,"Directory","","A directory; responds with the generated directory listing.",N,N],[12,"base","","Base directory",41,N],[12,"path","","Path of subdirectory to generate listing for",41,N],[3,"StaticFiles","","Static files handling",N,N],[5,"file_extension_to_mime","","Return the MIME type associated with a filename extension (case-insensitive). If `ext` is empty or no associated type for the extension was found, returns the type `application/octet-stream`.",N,[[["str"]],["mime"]]],[8,"StaticFileConfig","","Describes `StaticFiles` configiration",N,N],[11,"content_disposition_map","","Describes mapping for mime type to content disposition header",42,[[["name"]],["dispositiontype"]]],[11,"is_use_etag","","Describes whether Actix should attempt to calculate `ETag`",42,[[],["bool"]]],[11,"is_use_last_modifier","","Describes whether Actix should use last modified date of file.",42,[[],["bool"]]],[11,"is_method_allowed","","Describes allowed methods to access static resources.",42,[[["method"]],["bool"]]],[11,"default","","",43,[[],["defaultconfig"]]],[11,"fmt","","",44,[[["self"],["formatter"]],["result"]]],[11,"open","","Attempts to open a file in read-only mode.",44,[[["p"]],["result",["namedfile"]]]],[11,"open_with_config","","Attempts to open a file in read-only mode using provided configiration.",44,[[["p"],["c"]],["result",["namedfile"]]]],[11,"file","","Returns reference to the underlying `File` object.",44,[[["self"]],["file"]]],[11,"path","","Retrieve the path of this file.",44,[[["self"]],["path"]]],[11,"set_cpu_pool","","Set `CpuPool` to use",44,[[["self"],["cpupool"]],["self"]]],[11,"set_status_code","","Set response Status Code",44,[[["self"],["statuscode"]],["self"]]],[11,"set_content_type","","Set the MIME Content-Type for serving this file. By default the Content-Type is inferred from the filename extension.",44,[[["self"],["mime"]],["self"]]],[11,"set_content_disposition","","Set the Content-Disposition for serving this file. This allows changing the inline/attachment disposition as well as the filename sent to the peer. By default the disposition is `inline` for text, image, and video content types, and `attachment` otherwise, and the filename is taken from the path provided in the `open` method after converting it to UTF-8 using to_string_lossy.",44,[[["self"],["contentdisposition"]],["self"]]],[11,"set_content_encoding","","Set content encoding for serving this file",44,[[["self"],["contentencoding"]],["self"]]],[11,"deref","","",44,[[["self"]],["file"]]],[11,"deref_mut","","",44,[[["self"]],["file"]]],[11,"respond_to","","",44,[[["self"],["httprequest"]],["result",["httpresponse","error"]]]],[11,"poll","","",45,[[["self"]],["poll",["option","error"]]]],[11,"fmt","","",41,[[["self"],["formatter"]],["result"]]],[11,"new","","Create a new directory",41,[[["pathbuf"],["pathbuf"]],["directory"]]],[11,"is_visible","","Is this entry visible from this directory?",41,[[["self"],["result"]],["bool"]]],[11,"new","","Create new `StaticFiles` instance for specified base directory.",46,[[["t"]],["result",["staticfiles","error"]]]],[11,"with_pool","","Create new `StaticFiles` instance for specified base directory and `CpuPool`.",46,[[["t"],["cpupool"]],["result",["staticfiles","error"]]]],[11,"with_config","","Create new `StaticFiles` instance for specified base directory.",46,[[["t"],["c"]],["result",["staticfiles","error"]]]],[11,"with_config_pool","","Create new `StaticFiles` instance for specified base directory with config and `CpuPool`.",46,[[["t"],["cpupool"],["c"]],["result",["staticfiles","error"]]]],[11,"show_files_listing","","Show files listing for directories.",46,[[["self"]],["self"]]],[11,"files_listing_renderer","","Set custom directory renderer",46,[[["self"],["f"]],["self"]]],[11,"index_file","","Set index file",46,[[["self"],["t"]],["staticfiles"]]],[11,"default_handler","","Sets default handler which is used when no matched file could be found.",46,[[["self"],["h"]],["staticfiles"]]],[11,"handle","","",46,N],[0,"middleware","actix_web","Middlewares",N,N],[3,"DefaultHeaders","actix_web::middleware","`Middleware` for setting default response headers.",N,N],[3,"ErrorHandlers","","`Middleware` for allowing custom handlers for responses.",N,N],[3,"Logger","","`Middleware` for logging request and response info to the terminal.",N,N],[4,"Started","","Middleware start result",N,N],[13,"Done","","Middleware is completed, continue to next middleware",47,N],[13,"Response","","New http response got generated. If middleware generates response handler execution halts.",47,N],[13,"Future","","Execution completed, runs future to completion.",47,N],[4,"Response","","Middleware execution result",N,N],[13,"Done","","New http response got generated",48,N],[13,"Future","","Result is a future that resolves to a new http response",48,N],[4,"Finished","","Middleware finish result",N,N],[13,"Done","","Execution completed",49,N],[13,"Future","","Execution completed, but run future to completion",49,N],[11,"new","","Create `Logger` middleware with the specified `format`.",50,[[["str"]],["logger"]]],[11,"exclude","","Ignore and do not log access info for specified path.",50,[[["self"],["t"]],["self"]]],[11,"default","","Create `Logger` middleware with format:",50,[[],["logger"]]],[11,"start","","",50,[[["self"],["httprequest"]],["result",["started"]]]],[11,"finish","","",50,[[["self"],["httprequest"],["httpresponse"]],["finished"]]],[0,"cors","","Cross-origin resource sharing (CORS) for Actix applications",N,N],[3,"Cors","actix_web::middleware::cors","`Middleware` for Cross-origin resource sharing support",N,N],[3,"CorsBuilder","","Structure that follows the builder pattern for building `Cors` middleware structs.",N,N],[4,"CorsError","","A set of errors that can occur during processing CORS",N,N],[13,"MissingOrigin","","The HTTP request header `Origin` is required but was not provided",51,N],[13,"BadOrigin","","The HTTP request header `Origin` could not be parsed correctly.",51,N],[13,"MissingRequestMethod","","The request header `Access-Control-Request-Method` is required but is missing",51,N],[13,"BadRequestMethod","","The request header `Access-Control-Request-Method` has an invalid value",51,N],[13,"BadRequestHeaders","","The request header `Access-Control-Request-Headers` has an invalid value",51,N],[13,"MissingRequestHeaders","","The request header `Access-Control-Request-Headers` is required but is missing.",51,N],[13,"OriginNotAllowed","","Origin is not allowed to make this request",51,N],[13,"MethodNotAllowed","","Requested method is not allowed",51,N],[13,"HeadersNotAllowed","","One or more headers requested are not allowed",51,N],[4,"AllOrSome","","An enum signifying that some of type T is allowed, or `All` (everything is allowed).",N,N],[13,"All","","Everything is allowed. Usually equivalent to the \"*\" value.",52,N],[13,"Some","","Only some of `T` is allowed",52,N],[11,"fmt","","",51,[[["self"],["formatter"]],["result"]]],[11,"cause","","",51,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",51,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",51,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",51,[[["self"]],["httpresponse"]]],[11,"clone","","",52,[[["self"]],["allorsome"]]],[11,"fmt","","",52,[[["self"],["formatter"]],["result"]]],[11,"eq","","",52,[[["self"],["allorsome"]],["bool"]]],[11,"ne","","",52,[[["self"],["allorsome"]],["bool"]]],[11,"default","","",52,[[],["self"]]],[11,"is_all","","Returns whether this is an `All` variant",52,[[["self"]],["bool"]]],[11,"is_some","","Returns whether this is a `Some` variant",52,[[["self"]],["bool"]]],[11,"as_ref","","Returns &T",52,[[["self"]],["option"]]],[11,"clone","","",53,[[["self"]],["cors"]]],[11,"default","","",53,[[],["cors"]]],[11,"build","","Build a new CORS middleware instance",53,[[],["corsbuilder"]]],[11,"for_app","","Create CorsBuilder for a specified application.",53,[[["app"]],["corsbuilder"]]],[11,"register","","This method register cors middleware with resource and adds route for OPTIONS preflight requests.",53,[[["self"],["resource"]]]],[11,"start","","",53,[[["self"],["httprequest"]],["result",["started"]]]],[11,"response","","",53,[[["self"],["httprequest"],["httpresponse"]],["result",["response"]]]],[11,"allowed_origin","","Add an origin that are allowed to make requests. Will be verified against the `Origin` request header.",54,[[["self"],["str"]],["corsbuilder"]]],[11,"allowed_methods","","Set a list of methods which the allowed origins are allowed to access for requests.",54,[[["self"],["u"]],["corsbuilder"]]],[11,"allowed_header","","Set an allowed header",54,[[["self"],["h"]],["corsbuilder"]]],[11,"allowed_headers","","Set a list of header field names which can be used when this resource is accessed by allowed origins.",54,[[["self"],["u"]],["corsbuilder"]]],[11,"expose_headers","","Set a list of headers which are safe to expose to the API of a CORS API specification. This corresponds to the `Access-Control-Expose-Headers` response header.",54,[[["self"],["u"]],["corsbuilder"]]],[11,"max_age","","Set a maximum time for which this CORS request maybe cached. This value is set as the `Access-Control-Max-Age` header.",54,[[["self"],["usize"]],["corsbuilder"]]],[11,"send_wildcard","","Set a wildcard origins",54,[[["self"]],["corsbuilder"]]],[11,"supports_credentials","","Allows users to make authenticated requests",54,[[["self"]],["corsbuilder"]]],[11,"disable_vary_header","","Disable `Vary` header support.",54,[[["self"]],["corsbuilder"]]],[11,"disable_preflight","","Disable preflight request support.",54,[[["self"]],["corsbuilder"]]],[11,"resource","","Configure resource for a specific path.",54,[[["self"],["str"],["f"]],["corsbuilder"]]],[11,"finish","","Finishes building and returns the built `Cors` instance.",54,[[["self"]],["cors"]]],[11,"register","","Finishes building Cors middleware and register middleware for application",54,[[["self"]],["app"]]],[0,"csrf","actix_web::middleware","A filter for cross-site request forgery (CSRF).",N,N],[3,"CsrfFilter","actix_web::middleware::csrf","A middleware that filters cross-site requests.",N,N],[4,"CsrfError","","Potential cross-site request forgery detected.",N,N],[13,"MissingOrigin","","The HTTP request header `Origin` was required but not provided.",55,N],[13,"BadOrigin","","The HTTP request header `Origin` could not be parsed correctly.",55,N],[13,"CsrDenied","","The cross-site request was denied.",55,N],[11,"fmt","","",55,[[["self"],["formatter"]],["result"]]],[11,"cause","","",55,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",55,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",55,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",55,[[["self"]],["httpresponse"]]],[11,"default","","",56,[[],["csrffilter"]]],[11,"new","","Start building a `CsrfFilter`.",56,[[],["csrffilter"]]],[11,"allowed_origin","","Add an origin that is allowed to make requests. Will be verified against the `Origin` request header.",56,[[["self"],["t"]],["csrffilter"]]],[11,"allow_xhr","","Allow all requests with an `X-Requested-With` header.",56,[[["self"]],["csrffilter"]]],[11,"allow_missing_origin","","Allow requests if the expected `Origin` header is missing (and there is no `Referer` to fall back on).",56,[[["self"]],["csrffilter"]]],[11,"allow_upgrade","","Allow cross-site upgrade requests (for example to open a WebSocket).",56,[[["self"]],["csrffilter"]]],[11,"start","","",56,[[["self"],["httprequest"]],["result",["started"]]]],[11,"default","actix_web::middleware","",57,[[],["self"]]],[11,"new","","Construct `DefaultHeaders` middleware.",57,[[],["defaultheaders"]]],[11,"header","","Set a header.",57,[[["self"],["k"],["v"]],["self"]]],[11,"content_type","","Set CONTENT-TYPE header if response does not contain this header.",57,[[["self"]],["self"]]],[11,"response","","",57,[[["self"],["httprequest"],["httpresponse"]],["result",["response"]]]],[11,"default","","",58,[[],["self"]]],[11,"new","","Construct new `ErrorHandlers` instance",58,[[],["self"]]],[11,"handler","","Register error handler for specified status code",58,[[["self"],["statuscode"],["f"]],["self"]]],[11,"response","","",58,[[["self"],["httprequest"],["httpresponse"]],["result",["response"]]]],[0,"identity","","Request identity service for Actix applications.",N,N],[3,"IdentityService","actix_web::middleware::identity","Request identity middleware",N,N],[3,"CookieIdentityPolicy","","Use cookies for request identity storage.",N,N],[8,"RequestIdentity","","The helper trait to obtain your identity from a request.",N,N],[10,"identity","","Return the claimed identity of the user associated request or `None` if no identity can be found associated with the request.",59,[[["self"]],["option",["string"]]]],[10,"remember","","Remember identity.",59,[[["self"],["string"]]]],[10,"forget","","This method is used to 'forget' the current identity on subsequent requests.",59,[[["self"]]]],[8,"Identity","","An identity",N,N],[10,"identity","","Return the claimed identity of the user associated request or `None` if no identity can be found associated with the request.",60,[[["self"]],["option",["str"]]]],[10,"remember","","Remember identity.",60,[[["self"],["string"]]]],[10,"forget","","This method is used to 'forget' the current identity on subsequent requests.",60,[[["self"]]]],[10,"write","","Write session to storage backend.",60,[[["self"],["httpresponse"]],["result",["response"]]]],[8,"IdentityPolicy","","Identity policy definition.",N,N],[16,"Identity","","The associated identity",61,N],[16,"Future","","The return type of the middleware",61,N],[10,"from_request","","Parse the session from request and load data from a service identity.",61,N],[11,"identity","actix_web","",12,[[["self"]],["option",["string"]]]],[11,"remember","","",12,[[["self"],["string"]]]],[11,"forget","","",12,[[["self"]]]],[11,"new","actix_web::middleware::identity","Create new identity service with specified backend.",62,[[["t"]],["self"]]],[11,"start","","",62,[[["self"],["httprequest"]],["result",["started"]]]],[11,"response","","",62,[[["self"],["httprequest"],["httpresponse"]],["result",["response"]]]],[11,"new","","Construct new `CookieIdentityPolicy` instance.",63,N],[11,"path","","Sets the `path` field in the session cookie being built.",63,[[["self"],["s"]],["cookieidentitypolicy"]]],[11,"name","","Sets the `name` field in the session cookie being built.",63,[[["self"],["s"]],["cookieidentitypolicy"]]],[11,"domain","","Sets the `domain` field in the session cookie being built.",63,[[["self"],["s"]],["cookieidentitypolicy"]]],[11,"secure","","Sets the `secure` field in the session cookie being built.",63,[[["self"],["bool"]],["cookieidentitypolicy"]]],[11,"max_age","","Sets the `max-age` field in the session cookie being built.",63,[[["self"],["duration"]],["cookieidentitypolicy"]]],[11,"from_request","","",63,N],[0,"session","actix_web::middleware","User sessions.",N,N],[3,"Session","actix_web::middleware::session","The high-level interface you use to modify session data.",N,N],[3,"SessionStorage","","Session storage middleware",N,N],[3,"CookieSession","","Session that uses signed cookies as session storage",N,N],[3,"CookieSessionBackend","","Use cookies for session storage.",N,N],[4,"CookieSessionError","","Errors that can occur during handling cookie session",N,N],[13,"Overflow","","Size of the serialized session is greater than 4000 bytes.",64,N],[13,"Serialize","","Fail to serialize session.",64,N],[8,"RequestSession","","The helper trait to obtain your session data from a request.",N,N],[10,"session","","Get the session from the request",65,[[["self"]],["session"]]],[11,"session","actix_web","",12,[[["self"]],["session"]]],[11,"get","actix_web::middleware::session","Get a `value` from the session.",66,[[["self"],["str"]],["result",["option"]]]],[11,"set","","Set a `value` from the session.",66,[[["self"],["str"],["t"]],["result"]]],[11,"remove","","Remove value from the session.",66,[[["self"],["str"]]]],[11,"clear","","Clear the session.",66,[[["self"]]]],[11,"from_request","","",66,N],[11,"new","","Create session storage",67,[[["t"]],["sessionstorage"]]],[11,"start","","",67,[[["self"],["httprequest"]],["result",["started"]]]],[11,"response","","",67,[[["self"],["httprequest"],["httpresponse"]],["result",["response"]]]],[11,"cause","","",64,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",64,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",64,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",64,[[["self"],["formatter"]],["result"]]],[11,"signed","","Construct new signed `CookieSessionBackend` instance.",68,N],[11,"private","","Construct new private `CookieSessionBackend` instance.",68,N],[11,"path","","Sets the `path` field in the session cookie being built.",68,[[["self"],["s"]],["cookiesessionbackend"]]],[11,"name","","Sets the `name` field in the session cookie being built.",68,[[["self"],["s"]],["cookiesessionbackend"]]],[11,"domain","","Sets the `domain` field in the session cookie being built.",68,[[["self"],["s"]],["cookiesessionbackend"]]],[11,"secure","","Sets the `secure` field in the session cookie being built.",68,[[["self"],["bool"]],["cookiesessionbackend"]]],[11,"http_only","","Sets the `http_only` field in the session cookie being built.",68,[[["self"],["bool"]],["cookiesessionbackend"]]],[11,"same_site","","Sets the `same_site` field in the session cookie being built.",68,[[["self"],["samesite"]],["cookiesessionbackend"]]],[11,"max_age","","Sets the `max-age` field in the session cookie being built.",68,[[["self"],["duration"]],["cookiesessionbackend"]]],[8,"Middleware","actix_web::middleware","Middleware definition",N,N],[11,"start","","Method is called when request is ready. It may return future, which should resolve before next middleware get called.",69,[[["self"],["httprequest"]],["result",["started"]]]],[11,"response","","Method is called when handler returns response, but before sending http message to peer.",69,[[["self"],["httprequest"],["httpresponse"]],["result",["response"]]]],[11,"finish","","Method is called after body stream get sent to peer.",69,[[["self"],["httprequest"],["httpresponse"]],["finished"]]],[0,"multipart","actix_web","Multipart requests support",N,N],[3,"Multipart","actix_web::multipart","The server-side implementation of `multipart/form-data` requests.",N,N],[3,"Field","","A single field in a multipart stream",N,N],[4,"MultipartItem","","",N,N],[13,"Field","","Multipart field",70,N],[13,"Nested","","Nested multipart stream",70,N],[11,"boundary","","Extract boundary info from headers.",71,[[["headermap"]],["result",["string","multiparterror"]]]],[11,"new","","Create multipart instance for boundary.",71,[[["result",["string","multiparterror"]],["s"]],["multipart"]]],[11,"poll","","",71,[[["self"]],["poll",["option"]]]],[11,"headers","","Get a map of headers",72,[[["self"]],["headermap"]]],[11,"content_type","","Get the content type of the field",72,[[["self"]],["mime"]]],[11,"content_disposition","","Get the content disposition of the field, if it exists",72,[[["self"]],["option",["contentdisposition"]]]],[11,"poll","","",72,[[["self"]],["poll",["option"]]]],[11,"fmt","","",72,[[["self"],["formatter"]],["result"]]],[0,"pred","actix_web","Route match predicates",N,N],[3,"AnyPredicate","actix_web::pred","Matches if any of supplied predicate matches.",N,N],[3,"AllPredicate","","Matches if all of supplied predicate matches.",N,N],[5,"Any","","Return predicate that matches if any of supplied predicate matches.",N,[[["p"]],["anypredicate"]]],[5,"All","","Return predicate that matches if all of supplied predicate matches.",N,[[["p"]],["allpredicate"]]],[5,"Not","","Return predicate that matches if supplied predicate does not match.",N,[[["p"]],["notpredicate"]]],[5,"Get","","Predicate to match GET http method",N,[[],["methodpredicate"]]],[5,"Post","","Predicate to match POST http method",N,[[],["methodpredicate"]]],[5,"Put","","Predicate to match PUT http method",N,[[],["methodpredicate"]]],[5,"Delete","","Predicate to match DELETE http method",N,[[],["methodpredicate"]]],[5,"Head","","Predicate to match HEAD http method",N,[[],["methodpredicate"]]],[5,"Options","","Predicate to match OPTIONS http method",N,[[],["methodpredicate"]]],[5,"Connect","","Predicate to match CONNECT http method",N,[[],["methodpredicate"]]],[5,"Patch","","Predicate to match PATCH http method",N,[[],["methodpredicate"]]],[5,"Trace","","Predicate to match TRACE http method",N,[[],["methodpredicate"]]],[5,"Method","","Predicate to match specified http method",N,[[["method"]],["methodpredicate"]]],[5,"Header","","Return predicate that matches if request contains specified header and value.",N,[[["str"],["str"]],["headerpredicate"]]],[5,"Host","","Return predicate that matches if request contains specified Host name.",N,[[["h"]],["hostpredicate"]]],[8,"Predicate","","Trait defines resource route predicate. Predicate can modify request object. It is also possible to to store extra attributes on request by using `Extensions` container, Extensions container available via `HttpRequest::extensions()` method.",N,N],[10,"check","","Check if request matches predicate",73,[[["self"],["request"],["s"]],["bool"]]],[11,"or","","Add new predicate to list of predicates to check",74,[[["self"],["p"]],["self"]]],[11,"check","","",74,[[["self"],["request"],["s"]],["bool"]]],[11,"and","","Add new predicate to list of predicates to check",75,[[["self"],["p"]],["self"]]],[11,"check","","",75,[[["self"],["request"],["s"]],["bool"]]],[0,"server","actix_web","Http server",N,N],[3,"Request","actix_web::server","Request's context",N,N],[3,"ServerSettings","","Various server settings",N,N],[3,"HttpServer","","An HTTP Server",N,N],[3,"PauseServer","","Pause accepting incoming connections",N,N],[3,"ResumeServer","","Resume accepting incoming connections",N,N],[3,"StopServer","","Stop incoming connection processing, stop all workers and exit.",N,N],[12,"graceful","","Whether to try and shut down gracefully",76,N],[4,"KeepAlive","","Server keep-alive setting",N,N],[13,"Timeout","","Keep alive in seconds",77,N],[13,"Tcp","","Use `SO_KEEPALIVE` socket option, value in seconds",77,N],[13,"Os","","Relay on OS to shutdown tcp connection",77,N],[13,"Disabled","","Disabled",77,N],[5,"new","","Create new http server with application factory.",N,[[["f"]],["httpserver"]]],[11,"headers","actix_web","",78,[[["self"]],["headermap"]]],[11,"payload","","",78,[[["self"]],["payload"]]],[11,"uri","","Read the Request Uri.",78,[[["self"]],["uri"]]],[11,"method","","Read the Request method.",78,[[["self"]],["method"]]],[11,"version","","Read the Request Version.",78,[[["self"]],["version"]]],[11,"path","","The target path of this Request.",78,[[["self"]],["str"]]],[11,"headers","","Returns Request's headers.",78,[[["self"]],["headermap"]]],[11,"headers_mut","","Returns mutable Request's headers.",78,[[["self"]],["headermap"]]],[11,"peer_addr","","Peer socket address",78,[[["self"]],["option",["socketaddr"]]]],[11,"keep_alive","","Checks if a connection should be kept alive.",78,[[["self"]],["bool"]]],[11,"extensions","","Request extensions",78,[[["self"]],["ref",["extensions"]]]],[11,"extensions_mut","","Mutable reference to a the request's extensions",78,[[["self"]],["refmut",["extensions"]]]],[11,"upgrade","","Check if request requires connection upgrade",78,[[["self"]],["bool"]]],[11,"connection_info","","Get ConnectionInfo for the correct request.",78,[[["self"]],["ref",["connectioninfo"]]]],[11,"server_settings","","Server settings",78,[[["self"]],["serversettings"]]],[11,"clone","actix_web::server","",79,[[["self"]],["self"]]],[11,"default","","",79,[[],["self"]]],[11,"local_addr","","Returns the socket address of the local half of this TCP connection",79,[[["self"]],["option",["socketaddr"]]]],[11,"secure","","Returns true if connection is secure(https)",79,[[["self"]],["bool"]]],[11,"host","","Returns host header value",79,[[["self"]],["str"]]],[11,"cpu_pool","","Returns default `CpuPool` for server",79,[[["self"]],["cpupool"]]],[11,"new","","Create new http server with application factory",80,[[["f"]],["self"]]],[11,"workers","","Set number of workers to start.",80,[[["self"],["usize"]],["self"]]],[11,"backlog","","Set the maximum number of pending connections.",80,[[["self"],["i32"]],["self"]]],[11,"keep_alive","","Set server keep-alive setting.",80,[[["self"],["t"]],["self"]]],[11,"server_hostname","","Set server host name.",80,[[["self"],["string"]],["self"]]],[11,"system_exit","","Stop actix system.",80,[[["self"]],["self"]]],[11,"signals","","Set alternative address for `ProcessSignals` actor.",80,[[["self"],["addr",["processsignals"]]],["self"]]],[11,"disable_signals","","Disable signal handling",80,[[["self"]],["self"]]],[11,"shutdown_timeout","","Timeout for graceful workers shutdown.",80,[[["self"],["u16"]],["self"]]],[11,"no_http2","","Disable `HTTP/2` support",80,[[["self"]],["self"]]],[11,"addrs","","Get addresses of bound sockets.",80,[[["self"]],["vec",["socketaddr"]]]],[11,"addrs_with_scheme","","Get addresses of bound sockets and the scheme for it.",80,[[["self"]],["vec"]]],[11,"listen","","Use listener for accepting incoming connection requests",80,[[["self"],["tcplistener"]],["self"]]],[11,"listen_tls","","Use listener for accepting incoming tls connection requests",80,[[["self"],["tcplistener"],["tlsacceptor"]],["self"]]],[11,"listen_ssl","","Use listener for accepting incoming tls connection requests",80,[[["self"],["tcplistener"],["sslacceptorbuilder"]],["result"]]],[11,"bind","","The socket address to bind",80,[[["self"],["s"]],["result"]]],[11,"bind_tls","","The ssl socket address to bind",80,[[["self"],["s"],["tlsacceptor"]],["result"]]],[11,"bind_ssl","","Start listening for incoming tls connections.",80,[[["self"],["s"],["sslacceptorbuilder"]],["result"]]],[11,"start","","Start listening for incoming connections.",80,[[["self"]],["addr"]]],[11,"run","","Spawn new thread and start listening for incoming connections.",80,[[["self"]]]],[11,"start_incoming","","Start listening for incoming connections from a stream.",80,[[["self"],["s"],["bool"]],["addr"]]],[11,"handle","","",80,[[["self"],["signal"],["context"]]]],[11,"handle","","",80,[[["self"],["pauseserver"],["context"]]]],[11,"handle","","",80,[[["self"],["resumeserver"],["context"]]]],[11,"handle","","",80,N],[8,"HttpHandler","","Low level http request handler",N,N],[16,"Task","","Request handling task",81,N],[10,"handle","","Handle request",81,[[["self"],["request"]],["result",["request"]]]],[8,"HttpHandlerTask","","Low level http request handler",N,N],[11,"poll_completed","","Poll task, this method is used before or after io object is available",82,[[["self"]],["poll",["error"]]]],[10,"poll_io","","Poll task when io object is available",82,[[["self"],["writer"]],["poll",["bool","error"]]]],[11,"disconnected","","Connection is disconnected",82,[[["self"]]]],[8,"IntoHttpHandler","","Conversion helper trait",N,N],[16,"Handler","","The associated type which is result of conversion.",83,N],[10,"into_handler","","Convert into `HttpHandler` object.",83,N],[11,"fmt","","",77,[[["self"],["formatter"]],["result"]]],[11,"eq","","",77,[[["self"],["keepalive"]],["bool"]]],[11,"ne","","",77,[[["self"],["keepalive"]],["bool"]]],[11,"clone","","",77,[[["self"]],["keepalive"]]],[11,"from","","",77,[[["usize"]],["self"]]],[11,"from","","",77,[[["option",["usize"]]],["self"]]],[0,"test","actix_web","Various helpers for Actix applications to use during testing.",N,N],[3,"TestServer","actix_web::test","The `TestServer` type.",N,N],[3,"TestServerBuilder","","An `TestServer` builder",N,N],[3,"TestApp","","Test application helper for testing request handlers.",N,N],[3,"TestRequest","","Test `HttpRequest` builder",N,N],[11,"new","","Start new test server",84,[[["f"]],["self"]]],[11,"build","","Create test server builder",84,[[],["testserverbuilder"]]],[11,"build_with_state","","Create test server builder with specific state factory",84,[[["f"]],["testserverbuilder"]]],[11,"with_factory","","Start new test server with application factory",84,[[["f"]],["self"]]],[11,"unused_addr","","Get firat available unused address",84,[[],["socketaddr"]]],[11,"addr","","Construct test server url",84,[[["self"]],["socketaddr"]]],[11,"url","","Construct test server url",84,[[["self"],["str"]],["string"]]],[11,"execute","","Execute future on current core",84,[[["self"],["f"]],["result"]]],[11,"ws","","Connect to websocket server",84,[[["self"]],["result",["clienterror"]]]],[11,"get","","Create `GET` request",84,[[["self"]],["clientrequestbuilder"]]],[11,"post","","Create `POST` request",84,[[["self"]],["clientrequestbuilder"]]],[11,"head","","Create `HEAD` request",84,[[["self"]],["clientrequestbuilder"]]],[11,"client","","Connect to test http server",84,[[["self"],["method"],["str"]],["clientrequestbuilder"]]],[11,"drop","","",84,[[["self"]]]],[11,"new","","Create a new test server",85,[[["f"]],["testserverbuilder"]]],[11,"ssl","","Create ssl server",85,[[["self"],["sslacceptorbuilder"]],["self"]]],[11,"start","","Configure test application and run test server",85,[[["self"],["f"]],["testserver"]]],[11,"handler","","Register handler for \"/\"",86,[[["self"],["f"]]]],[11,"middleware","","Register middleware",86,[[["self"],["t"]],["testapp"]]],[11,"resource","","Register resource. This method is similar to `App::resource()` method.",86,[[["self"],["str"],["f"]],["testapp"]]],[11,"into_handler","","",86,[[["self"]],["httpapplication"]]],[11,"default","","",87,[[],["testrequest"]]],[11,"with_uri","","Create TestRequest and set request uri",87,[[["str"]],["testrequest"]]],[11,"with_hdr","","Create TestRequest and set header",87,[[["h"]],["testrequest"]]],[11,"with_header","","Create TestRequest and set header",87,[[["k"],["v"]],["testrequest"]]],[11,"with_state","","Start HttpRequest build process with application state",87,[[["s"]],["testrequest"]]],[11,"version","","Set HTTP version of this request",87,[[["self"],["version"]],["self"]]],[11,"method","","Set HTTP method of this request",87,[[["self"],["method"]],["self"]]],[11,"uri","","Set HTTP Uri of this request",87,[[["self"],["str"]],["self"]]],[11,"set","","Set a header",87,[[["self"],["h"]],["self"]]],[11,"header","","Set a header",87,[[["self"],["k"],["v"]],["self"]]],[11,"param","","Set request path pattern parameter",87,[[["self"],["str"],["str"]],["self"]]],[11,"set_payload","","Set request payload",87,[[["self"],["b"]],["self"]]],[11,"prefix","","Set request's prefix",87,[[["self"],["u16"]],["self"]]],[11,"finish","","Complete request creation and generate `HttpRequest` instance",87,[[["self"]],["httprequest"]]],[11,"request","","Complete request creation and generate server `Request` instance",87,[[["self"]],["request"]]],[11,"run","","This method generates `HttpRequest` instance and runs handler with generated request.",87,[[["self"],["h"]],["result",["httpresponse","error"]]]],[11,"run_async","","This method generates `HttpRequest` instance and runs handler with generated request.",87,[[["self"],["h"]],["result",["httpresponse"]]]],[0,"ws","actix_web","`WebSocket` support for Actix",N,N],[3,"Client","actix_web::ws","`WebSocket` client",N,N],[3,"ClientHandshake","","Future that implementes client websocket handshake process.",N,N],[3,"ClientReader","","Websocket reader client",N,N],[3,"ClientWriter","","Websocket writer client",N,N],[3,"WebsocketContext","","Execution context for `WebSockets` actors",N,N],[3,"Frame","","A struct representing a `WebSocket` frame.",N,N],[3,"FramedMessage","","`WebSocket` message with framing.",N,N],[3,"CloseReason","","Reason for closing the connection",N,N],[12,"code","","Exit code",88,N],[12,"description","","Optional description of the exit code",88,N],[3,"WsStream","","Maps `Payload` stream into stream of `ws::Message` items",N,N],[4,"ClientError","","Websocket client error",N,N],[13,"InvalidUrl","","Invalid url",89,N],[13,"InvalidResponseStatus","","Invalid response status",89,N],[13,"InvalidUpgradeHeader","","Invalid upgrade header",89,N],[13,"InvalidConnectionHeader","","Invalid connection header",89,N],[13,"MissingConnectionHeader","","Missing CONNECTION header",89,N],[13,"MissingWebSocketAcceptHeader","","Missing SEC-WEBSOCKET-ACCEPT header",89,N],[13,"InvalidChallengeResponse","","Invalid challenge response",89,N],[13,"Http","","Http parsing error",89,N],[13,"Url","","Url parsing error",89,N],[13,"ResponseParseError","","Response parsing error",89,N],[13,"SendRequest","","Send request error",89,N],[13,"Protocol","","Protocol error",89,N],[13,"Io","","IO Error",89,N],[13,"Disconnected","","\"Disconnected\"",89,N],[4,"CloseCode","","Status code used to indicate why an endpoint is closing the `WebSocket` connection.",N,N],[13,"Normal","","Indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.",90,N],[13,"Away","","Indicates that an endpoint is \"going away\", such as a server going down or a browser having navigated away from a page.",90,N],[13,"Protocol","","Indicates that an endpoint is terminating the connection due to a protocol error.",90,N],[13,"Unsupported","","Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).",90,N],[13,"Abnormal","","Indicates an abnormal closure. If the abnormal closure was due to an error, this close code will not be used. Instead, the `on_error` method of the handler will be called with the error. However, if the connection is simply dropped, without an error, this close code will be sent to the handler.",90,N],[13,"Invalid","","Indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message).",90,N],[13,"Policy","","Indicates that an endpoint is terminating the connection because it has received a message that violates its policy. This is a generic status code that can be returned when there is no other more suitable status code (e.g., Unsupported or Size) or if there is a need to hide specific details about the policy.",90,N],[13,"Size","","Indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.",90,N],[13,"Extension","","Indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake. The list of extensions that are needed should be given as the reason for closing. Note that this status code is not used by the server, because it can fail the WebSocket handshake instead.",90,N],[13,"Error","","Indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.",90,N],[13,"Restart","","Indicates that the server is restarting. A client may choose to reconnect, and if it does, it should use a randomized delay of 5-30 seconds between attempts.",90,N],[13,"Again","","Indicates that the server is overloaded and the client should either connect to a different IP (when multiple targets exist), or reconnect to the same IP when a user has performed an action.",90,N],[4,"OpCode","","Operation codes as part of rfc6455.",N,N],[13,"Continue","","Indicates a continuation frame of a fragmented message.",91,N],[13,"Text","","Indicates a text data frame.",91,N],[13,"Binary","","Indicates a binary data frame.",91,N],[13,"Close","","Indicates a close control frame.",91,N],[13,"Ping","","Indicates a ping control frame.",91,N],[13,"Pong","","Indicates a pong control frame.",91,N],[13,"Bad","","Indicates an invalid opcode was received.",91,N],[4,"ProtocolError","","Websocket protocol errors",N,N],[13,"UnmaskedFrame","","Received an unmasked frame from client",92,N],[13,"MaskedFrame","","Received a masked frame from server",92,N],[13,"InvalidOpcode","","Encountered invalid opcode",92,N],[13,"InvalidLength","","Invalid control frame length",92,N],[13,"BadOpCode","","Bad web socket op code",92,N],[13,"Overflow","","A payload reached size limit.",92,N],[13,"NoContinuation","","Continuation is not supported",92,N],[13,"BadEncoding","","Bad utf-8 encoding",92,N],[13,"Payload","","Payload error",92,N],[4,"HandshakeError","","Websocket handshake errors",N,N],[13,"GetMethodRequired","","Only get method is allowed",93,N],[13,"NoWebsocketUpgrade","","Upgrade header if not set to websocket",93,N],[13,"NoConnectionUpgrade","","Connection header is not set to upgrade",93,N],[13,"NoVersionHeader","","Websocket version header is not set",93,N],[13,"UnsupportedVersion","","Unsupported websocket version",93,N],[13,"BadWebsocketKey","","Websocket key is not set or wrong",93,N],[4,"Message","","`WebSocket` Message",N,N],[13,"Text","","Text message",94,N],[13,"Binary","","Binary message",94,N],[13,"Ping","","Ping message",94,N],[13,"Pong","","Pong message",94,N],[13,"Close","","Close message with optional reason",94,N],[5,"start","","Do websocket handshake and start actor",N,[[["httprequest"],["a"]],["result",["httpresponse","error"]]]],[5,"handshake","","Prepare `WebSocket` handshake response.",N,[[["httprequest"]],["result",["httpresponsebuilder","handshakeerror"]]]],[11,"cause","","",89,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",89,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",89,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",89,[[["self"],["formatter"]],["result"]]],[11,"from","","",89,[[["error"]],["clienterror"]]],[11,"from","","",89,[[["urlparseerror"]],["clienterror"]]],[11,"from","","",89,[[["sendrequesterror"]],["clienterror"]]],[11,"from","","",89,[[["protocolerror"]],["clienterror"]]],[11,"from","","",89,[[["error"]],["clienterror"]]],[11,"new","","Create new websocket connection",95,[[["s"]],["client"]]],[11,"with_connector","","Create new websocket connection with custom `ClientConnector`",95,[[["s"],["addr",["clientconnector"]]],["client"]]],[11,"protocols","","Set supported websocket protocols",95,[[["self"],["u"]],["self"]]],[11,"cookie","","Set cookie for handshake request",95,[[["self"],["cookie"]],["self"]]],[11,"origin","","Set request Origin",95,[[["self"],["v"]],["self"]]],[11,"max_frame_size","","Set max frame size",95,[[["self"],["usize"]],["self"]]],[11,"write_buffer_capacity","","Set write buffer capacity",95,[[["self"],["usize"]],["self"]]],[11,"no_masking","","Disable payload masking. By default ws client masks frame payload.",95,[[["self"]],["self"]]],[11,"header","","Set request header",95,[[["self"],["k"],["v"]],["self"]]],[11,"timeout","","Set websocket handshake timeout",95,[[["self"],["duration"]],["self"]]],[11,"connect","","Connect to websocket server and do ws handshake",95,[[["self"]],["clienthandshake"]]],[11,"timeout","","Set handshake timeout",96,[[["self"],["duration"]],["self"]]],[11,"conn_timeout","","Set connection timeout",96,[[["self"],["duration"]],["self"]]],[11,"poll","","",96,[[["self"]],["poll"]]],[11,"fmt","","",97,[[["self"],["formatter"]],["result"]]],[11,"poll","","",97,[[["self"]],["poll",["option"]]]],[11,"text","","Send text frame",98,[[["self"],["t"]]]],[11,"binary","","Send binary frame",98,[[["self"],["b"]]]],[11,"ping","","Send ping frame",98,[[["self"],["str"]]]],[11,"pong","","Send pong frame",98,[[["self"],["str"]]]],[11,"close","","Send close frame",98,[[["self"],["option",["closereason"]]]]],[11,"send_text","","Send text frame",98,[[["self"],["t"]]]],[11,"send_binary","","Send binary frame",98,[[["self"],["b"]]]],[11,"send_ping","","Send ping frame",98,[[["self"],["str"]]]],[11,"send_pong","","Send pong frame",98,[[["self"],["str"]]]],[11,"send_close","","Send close frame",98,[[["self"],["option",["closereason"]]]]],[11,"stop","","",99,[[["self"]]]],[11,"terminate","","",99,[[["self"]]]],[11,"state","","",99,[[["self"]],["actorstate"]]],[11,"spawn","","",99,[[["self"],["f"]],["spawnhandle"]]],[11,"wait","","",99,[[["self"],["f"]]]],[11,"cancel_future","","",99,[[["self"],["spawnhandle"]],["bool"]]],[11,"address","","",99,[[["self"]],["addr"]]],[11,"create","","Create a new Websocket context from a request and an actor",99,[[["httprequest"],["a"],["wsstream"]],["body"]]],[11,"with_factory","","Create a new Websocket context",99,[[["httprequest"],["f"]],["body"]]],[11,"write_raw","","Write payload",99,[[["self"],["framedmessage"]]]],[11,"state","","Shared application state",99,[[["self"]],["s"]]],[11,"request","","Incoming request",99,[[["self"]],["httprequest"]]],[11,"drain","","Returns drain future",99,[[["self"]],["drain"]]],[11,"text","","Send text frame",99,[[["self"],["t"]]]],[11,"binary","","Send binary frame",99,[[["self"],["b"]]]],[11,"ping","","Send ping frame",99,[[["self"],["str"]]]],[11,"pong","","Send pong frame",99,[[["self"],["str"]]]],[11,"close","","Send close frame",99,[[["self"],["option",["closereason"]]]]],[11,"connected","","Check if connection still open",99,[[["self"]],["bool"]]],[11,"handle","","Handle of the running future",99,[[["self"]],["spawnhandle"]]],[11,"send_text","","Send text frame",99,[[["self"],["t"]]]],[11,"send_binary","","Send binary frame",99,[[["self"],["b"]]]],[11,"send_ping","","Send ping frame",99,[[["self"],["str"]]]],[11,"send_pong","","Send pong frame",99,[[["self"],["str"]]]],[11,"send_close","","Send close frame",99,[[["self"],["option",["closereason"]]]]],[11,"parts","","",99,[[["self"]],["contextparts"]]],[11,"pack","","",99,[[["m"],["option",["sender"]]],["envelope"]]],[11,"fmt","","",100,[[["self"],["formatter"]],["result"]]],[11,"unpack","","Destruct frame",100,N],[11,"close","","Create a new Close control frame.",100,[[["option",["closereason"]],["bool"]],["framedmessage"]]],[11,"parse","","Parse the input stream into a frame.",100,[[["payloadbuffer"],["bool"],["usize"]],["poll",["option","protocolerror"]]]],[11,"parse_close_payload","","Parse the payload of a close frame.",100,[[["binary"]],["option",["closereason"]]]],[11,"message","","Generate binary representation",100,[[["b"],["opcode"],["bool"],["bool"]],["framedmessage"]]],[11,"default","","",100,[[],["frame"]]],[11,"fmt","","",100,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",101,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",91,[[["self"],["formatter"]],["result"]]],[11,"eq","","",91,[[["self"],["opcode"]],["bool"]]],[11,"clone","","",91,[[["self"]],["opcode"]]],[11,"fmt","","",91,[[["self"],["formatter"]],["result"]]],[11,"into","","",91,[[["self"]],["u8"]]],[11,"from","","",91,[[["u8"]],["opcode"]]],[11,"fmt","","",90,[[["self"],["formatter"]],["result"]]],[11,"eq","","",90,[[["self"],["closecode"]],["bool"]]],[11,"ne","","",90,[[["self"],["closecode"]],["bool"]]],[11,"clone","","",90,[[["self"]],["closecode"]]],[11,"into","","",90,[[["self"]],["u16"]]],[11,"from","","",90,[[["u16"]],["closecode"]]],[11,"fmt","","",88,[[["self"],["formatter"]],["result"]]],[11,"eq","","",88,[[["self"],["closereason"]],["bool"]]],[11,"ne","","",88,[[["self"],["closereason"]],["bool"]]],[11,"clone","","",88,[[["self"]],["closereason"]]],[11,"from","","",88,[[["closecode"]],["self"]]],[11,"from","","",88,N],[8,"WsWriter","","Common writing methods for a websocket.",N,N],[10,"send_text","","Send a text",102,[[["self"],["t"]]]],[10,"send_binary","","Send a binary",102,[[["self"],["b"]]]],[10,"send_ping","","Send a ping message",102,[[["self"],["str"]]]],[10,"send_pong","","Send a pong message",102,[[["self"],["str"]]]],[10,"send_close","","Close the connection",102,[[["self"],["option",["closereason"]]]]],[11,"cause","","",92,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",92,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",92,[[["self"],["formatter"]],["result"]]],[11,"fmt","","",92,[[["self"],["formatter"]],["result"]]],[11,"from","","",92,[[["payloaderror"]],["protocolerror"]]],[11,"cause","","",93,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",93,[[["self"]],["option",["backtrace"]]]],[11,"fmt","","",93,[[["self"],["formatter"]],["result"]]],[11,"eq","","",93,[[["self"],["handshakeerror"]],["bool"]]],[11,"fmt","","",93,[[["self"],["formatter"]],["result"]]],[11,"error_response","","",93,[[["self"]],["httpresponse"]]],[11,"fmt","","",94,[[["self"],["formatter"]],["result"]]],[11,"eq","","",94,[[["self"],["message"]],["bool"]]],[11,"ne","","",94,[[["self"],["message"]],["bool"]]],[11,"new","","Create new websocket frames stream",103,[[["s"]],["wsstream"]]],[11,"max_size","","Set max frame size",103,[[["self"],["usize"]],["self"]]],[11,"poll","","",103,[[["self"]],["poll",["option"]]]],[0,"actix","actix_web","Re-exports actix's prelude",N,N],[0,"resolver","actix_web::actix","DNS resolver and connector utility actor",N,N],[6,"Connector","actix_web::actix::resolver","",N,N],[6,"ConnectorError","","",N,N],[3,"Resolve","","",N,N],[3,"Connect","","",N,N],[3,"ConnectAddr","","",N,N],[12,"0","","",104,N],[4,"ResolverError","","",N,N],[13,"Resolver","","Failed to resolve the hostname",105,N],[13,"InvalidInput","","Address is invalid",105,N],[13,"Timeout","","Connecting took too long",105,N],[13,"IoError","","Connection io error",105,N],[3,"Resolver","","",N,N],[3,"TcpConnector","","Tcp stream connector",N,N],[0,"signal","actix_web::actix","An actor implementation of Unix signal handling",N,N],[4,"SignalType","actix_web::actix::signal","Different types of process signals",N,N],[13,"Hup","","SIGHUP",106,N],[13,"Int","","SIGINT",106,N],[13,"Term","","SIGTERM",106,N],[13,"Quit","","SIGQUIT",106,N],[13,"Child","","SIGCHILD",106,N],[3,"Signal","","Process signal message",N,N],[12,"0","","",107,N],[3,"ProcessSignals","","An actor implementation of Unix signal handling",N,N],[3,"Subscribe","","Subscribe to process signals.",N,N],[12,"0","","",108,N],[3,"DefaultSignalsHandler","","Default signals handler. This actor sends `SystemExit` message to `System` actor for each of `SIGINT`, `SIGTERM`, `SIGQUIT` signals.",N,N],[0,"fut","actix_web::actix","Custom `Future` implementation with `Actix` support",N,N],[8,"ActorFuture","actix_web::actix::fut","Trait for types which are a placeholder of a value that may become available at some later point in time.",N,N],[16,"Item","","The type of value that this future will resolved with if it is successful.",109,N],[16,"Error","","The type of error that this future will resolve with if it fails in a normal fashion.",109,N],[16,"Actor","","The actor within which this future runs",109,N],[10,"poll","","",109,N],[11,"map","","Map this future's result to a different type, returning a new future of the resulting type.",109,[[["self"],["f"]],["map"]]],[11,"map_err","","Map this future's error to a different error, returning a new future.",109,[[["self"],["f"]],["maperr"]]],[11,"drop_err","","Drop this future's error, returning a new future.",109,[[["self"]],["droperr"]]],[11,"from_err","","Map this future's error to any error implementing `From` for this future's `Error`, returning a new future.",109,[[["self"]],["fromerr"]]],[11,"then","","Chain on a computation for when a future finished, passing the result of the future to the provided closure `f`.",109,[[["self"],["f"]],["then"]]],[11,"and_then","","Execute another future after this one has resolved successfully.",109,[[["self"],["f"]],["andthen"]]],[11,"timeout","","Add timeout to futures chain.",109,N],[8,"ActorStream","","A stream of values, not all of which may have been produced yet.",N,N],[16,"Item","","The type of item this stream will yield on success.",110,N],[16,"Error","","The type of error this stream may generate.",110,N],[16,"Actor","","The actor within which this stream runs.",110,N],[10,"poll","","",110,N],[11,"map","","Converts a stream of type `T` to a stream of type `U`.",110,[[["self"],["f"]],["streammap"]]],[11,"map_err","","Converts a stream of error type `T` to a stream of error type `E`.",110,[[["self"],["f"]],["streammaperr"]]],[11,"then","","Chain on a computation for when a value is ready, passing the resulting item to the provided closure `f`.",110,[[["self"],["f"]],["streamthen"]]],[11,"and_then","","Chain on a computation for when a value is ready, passing the successful results to the provided closure `f`.",110,[[["self"],["f"]],["streamandthen"]]],[11,"fold","","Execute an accumulating computation over a stream, collecting all the values into one final result.",110,[[["self"],["t"],["f"]],["streamfold"]]],[11,"timeout","","Add timeout to stream.",110,N],[11,"finish","","Converts a stream to a future that resolves when stream finishes.",110,[[["self"]],["streamfinish"]]],[8,"IntoActorFuture","","Class of types which can be converted into an actor future.",N,N],[16,"Future","","The future that this type can be converted into.",111,N],[16,"Item","","The item that the future may resolve with.",111,N],[16,"Error","","The error that the future may resolve with.",111,N],[16,"Actor","","The actor within which this future runs",111,N],[10,"into_future","","Consumes this object and produces a future.",111,N],[8,"WrapFuture","","Helper trait that allows conversion of normal future into `ActorFuture`",N,N],[16,"Future","","The future that this type can be converted into.",112,N],[16,"Item","","The item that the future may resolve with.",112,N],[16,"Error","","The error that the future may resolve with.",112,N],[10,"into_actor","","Convert normal future to a ActorFuture",112,N],[3,"FutureWrap","","",N,N],[5,"wrap_future","","Converts normal future into `ActorFuture`",N,[[["f"]],["futurewrap"]]],[8,"WrapStream","","Helper trait that allows conversion of normal stream into `ActorStream`",N,N],[16,"Stream","","The stream that this type can be converted into.",113,N],[16,"Item","","The item that the future may resolve with.",113,N],[16,"Error","","The error that the future may resolve with.",113,N],[10,"into_actor","","Convert normal stream to a ActorStream",113,N],[3,"StreamWrap","","",N,N],[5,"wrap_stream","","Converts normal stream into `ActorStream`",N,[[["s"]],["streamwrap"]]],[3,"StreamTimeout","","Future for the `timeout` combinator, interrupts computations if it takes more than `timeout`.",N,N],[3,"DropErr","","",N,N],[3,"StreamFinish","","A combinator used to convert stream into a future, future resolves when stream completes.",N,N],[3,"StreamThen","","A stream combinator which chains a computation onto each item produced by a stream.",N,N],[5,"result","","Creates a new \"leaf future\" which will resolve with the given result.",N,[[["result"]],["futureresult"]]],[5,"ok","","Creates a \"leaf future\" from an immediate value of a finished and successful computation.",N,[[["t"]],["futureresult"]]],[3,"Map","","Future for the `map` combinator, changing the type of a future.",N,N],[4,"Either","","Combines two different futures yielding the same item and error types into a single type.",N,N],[13,"A","","First branch of the type",114,N],[13,"B","","Second branch of the type",114,N],[3,"StreamAndThen","","A stream combinator which chains a computation onto values produced by a stream.",N,N],[3,"AndThen","","Future for the `and_then` combinator, chaining a computation onto the end of another future which completes successfully.",N,N],[5,"err","","Creates a \"leaf future\" from an immediate value of a failed computation.",N,[[["e"]],["futureresult"]]],[3,"StreamMapErr","","A stream combinator which will change the error type of a stream from one type to another.",N,N],[3,"FutureResult","","A future representing a value that is immediately ready.",N,N],[3,"StreamMap","","A stream combinator which will change the type of a stream from one type to another.",N,N],[3,"Timeout","","Future for the `timeout` combinator, interrupts computations if it takes more than `timeout`.",N,N],[3,"Then","","Future for the `then` combinator, chaining computations on the end of another future regardless of its outcome.",N,N],[3,"MapErr","","Future for the `map_err` combinator, changing the error type of a future.",N,N],[3,"Finish","","A combinator used to convert stream into a future, future resolves when stream completes.",N,N],[3,"StreamFold","","A future used to collect all the results of a stream into one generic type.",N,N],[3,"FromErr","","Future for the `from_err` combinator, changing the error type of a future.",N,N],[0,"msgs","actix_web::actix","Actix system messages",N,N],[3,"StopArbiter","actix_web::actix::msgs","Stop arbiter execution",N,N],[12,"0","","",115,N],[3,"StartActor","","Start actor in arbiter's thread",N,N],[3,"Execute","","Execute function in arbiter's thread",N,N],[0,"actix","actix_web::actix","",N,N],[8,"StreamHandler","actix_web::actix::actix","Stream handler",N,N],[10,"handle","","Method is called for every message received by this Actor",116,N],[11,"started","","Method is called when stream get polled first time.",116,N],[11,"error","","Method is called when stream emits error.",116,N],[11,"finished","","Method is called when stream finishes.",116,N],[11,"add_stream","","This method register stream to an actor context and allows to handle `Stream` in similar way as normal actor messages.",116,N],[3,"MessageResult","","Helper type that implements `MessageResponse` trait",N,N],[12,"0","","",117,N],[4,"ActorState","","Actor execution state",N,N],[13,"Started","","Actor is started.",118,N],[13,"Running","","Actor is running.",118,N],[13,"Stopping","","Actor is stopping.",118,N],[13,"Stopped","","Actor is stopped.",118,N],[8,"Actor","","Actors are objects which encapsulate state and behavior.",N,N],[16,"Context","","Actor execution context type",119,N],[11,"started","","Method is called when actor get polled first time.",119,N],[11,"stopping","","Method is called after an actor is in `Actor::Stopping` state. There could be several reasons for stopping. `Context::stop` get called by the actor itself. All addresses to current actor get dropped and no more evented objects left in the context.",119,N],[11,"stopped","","Method is called after an actor is stopped, it can be used to perform any needed cleanup work or spawning more actors. This is final state, after this call actor get dropped.",119,N],[11,"start","","Start new asynchronous actor, returns address of newly created actor.",119,[[["self"]],["addr"]]],[11,"start_default","","Start new asynchronous actor, returns address of newly created actor.",119,[[],["addr"]]],[11,"create","","Use `create` method, if you need `Context` object during actor initialization.",119,[[["f"]],["addr"]]],[8,"ContextFutureSpawner","","Helper trait which can spawn future into actor's context",N,N],[10,"spawn","","spawn future into `Context<A>`",120,N],[10,"wait","","Spawn future into the context. Stop processing any of incoming events until this future resolves.",120,N],[3,"Recipient","","`Recipient` type allows to send one specific message to an actor.",N,N],[3,"System","","System is an actor which manages runtime.",N,N],[4,"Running","","",N,N],[13,"Stop","","",121,N],[13,"Continue","","",121,N],[8,"Supervised","","Actors with ability to restart after failure",N,N],[11,"restarting","","Method called when supervisor restarting failed actor",122,N],[8,"Handler","","Message handler",N,N],[16,"Result","","The type of value that this handle will return",123,N],[10,"handle","","Method is called for every message received by this Actor",123,N],[0,"actors","","Helper actors",N,N],[0,"resolver","actix_web::actix::actix::actors","DNS resolver and connector utility actor",N,N],[6,"Connector","actix_web::actix::actix::actors::resolver","",N,N],[6,"ConnectorError","","",N,N],[3,"Resolve","","",N,N],[3,"Connect","","",N,N],[3,"ConnectAddr","","",N,N],[12,"0","","",104,N],[4,"ResolverError","","",N,N],[13,"Resolver","","Failed to resolve the hostname",105,N],[13,"InvalidInput","","Address is invalid",105,N],[13,"Timeout","","Connecting took too long",105,N],[13,"IoError","","Connection io error",105,N],[3,"Resolver","","",N,N],[3,"TcpConnector","","Tcp stream connector",N,N],[0,"signal","actix_web::actix::actix::actors","An actor implementation of Unix signal handling",N,N],[4,"SignalType","actix_web::actix::actix::actors::signal","Different types of process signals",N,N],[13,"Hup","","SIGHUP",106,N],[13,"Int","","SIGINT",106,N],[13,"Term","","SIGTERM",106,N],[13,"Quit","","SIGQUIT",106,N],[13,"Child","","SIGCHILD",106,N],[3,"Signal","","Process signal message",N,N],[12,"0","","",107,N],[3,"ProcessSignals","","An actor implementation of Unix signal handling",N,N],[3,"Subscribe","","Subscribe to process signals.",N,N],[12,"0","","",108,N],[3,"DefaultSignalsHandler","","Default signals handler. This actor sends `SystemExit` message to `System` actor for each of `SIGINT`, `SIGTERM`, `SIGQUIT` signals.",N,N],[8,"ActorStream","actix_web::actix::actix","A stream of values, not all of which may have been produced yet.",N,N],[16,"Item","","The type of item this stream will yield on success.",110,N],[16,"Error","","The type of error this stream may generate.",110,N],[16,"Actor","","The actor within which this stream runs.",110,N],[10,"poll","","",110,N],[11,"map","","Converts a stream of type `T` to a stream of type `U`.",110,[[["self"],["f"]],["streammap"]]],[11,"map_err","","Converts a stream of error type `T` to a stream of error type `E`.",110,[[["self"],["f"]],["streammaperr"]]],[11,"then","","Chain on a computation for when a value is ready, passing the resulting item to the provided closure `f`.",110,[[["self"],["f"]],["streamthen"]]],[11,"and_then","","Chain on a computation for when a value is ready, passing the successful results to the provided closure `f`.",110,[[["self"],["f"]],["streamandthen"]]],[11,"fold","","Execute an accumulating computation over a stream, collecting all the values into one final result.",110,[[["self"],["t"],["f"]],["streamfold"]]],[11,"timeout","","Add timeout to stream.",110,N],[11,"finish","","Converts a stream to a future that resolves when stream finishes.",110,[[["self"]],["streamfinish"]]],[0,"io","","",N,N],[8,"WriteHandler","actix_web::actix::actix::io","Write handler",N,N],[11,"error","","Method is called when writer emits error.",124,N],[11,"finished","","Method is called when writer finishes.",124,N],[3,"Writer","","Wrapper for `AsyncWrite` types",N,N],[3,"FramedWrite","","Wrapper for `AsyncWrite` and `Encoder` types",N,N],[3,"Condition","actix_web::actix::actix","",N,N],[8,"SystemService","","Trait defines system's service.",N,N],[11,"start_service","","Construct and srtart system service",125,[[["addr"]],["addr"]]],[11,"service_started","","Method is called during service initialization.",125,N],[11,"from_registry","","Get actor's address from system registry",125,[[],["addr"]]],[3,"SpawnHandle","","Spawned future handle. Could be used for cancelling spawned future.",N,N],[3,"RecipientRequest","","`RecipientRequest` is a `Future` which represents asynchronous message sending process.",N,N],[4,"SendError","","",N,N],[13,"Full","","",126,N],[13,"Closed","","",126,N],[6,"ResponseActFuture","","A specialized actor future for async message handler",N,N],[3,"SyncContext","","Sync actor execution context",N,N],[3,"Context","","Actor execution context",N,N],[8,"AsyncContext","","Asynchronous execution context",N,N],[10,"address","","Return `Address` of the context",127,[[["self"]],["addr"]]],[10,"spawn","","Spawn async future into context. Returns handle of the item, could be used for cancelling execution.",127,[[["self"],["f"]],["spawnhandle"]]],[10,"wait","","Spawn future into the context. Stop processing any of incoming events until this future resolves.",127,N],[10,"waiting","","Check if context is paused (waiting for future completion or stopping)",127,[[["self"]],["bool"]]],[10,"cancel_future","","Cancel future. handle is a value returned by `spawn` method.",127,[[["self"],["spawnhandle"]],["bool"]]],[11,"add_stream","","This method register stream to an actor context and allows to handle `Stream` in similar way as normal actor messages.",127,[[["self"],["s"]],["spawnhandle"]]],[11,"add_message_stream","","This method is similar to `add_stream` but it skips stream errors.",127,N],[11,"notify","","Send message `msg` to self.",127,N],[11,"notify_later","","Send message `msg` to self after specified period of time. Returns spawn handle which could be used for cancellation. Notification get cancelled if context's stop method get called.",127,[[["self"],["m"],["duration"]],["spawnhandle"]]],[11,"run_later","","Execute closure after specified period of time within same Actor and Context. Execution get cancelled if context's stop method get called.",127,[[["self"],["duration"],["f"]],["spawnhandle"]]],[11,"run_interval","","Spawns job to execute closure with specified interval",127,[[["self"],["duration"],["f"]],["spawnhandle"]]],[8,"WrapFuture","","Helper trait that allows conversion of normal future into `ActorFuture`",N,N],[16,"Future","","The future that this type can be converted into.",112,N],[16,"Item","","The item that the future may resolve with.",112,N],[16,"Error","","The error that the future may resolve with.",112,N],[10,"into_actor","","Convert normal future to a ActorFuture",112,N],[3,"ActorResponse","","Helper type for representing different type of message responses",N,N],[8,"ArbiterService","","Trait defines arbiter's service.",N,N],[11,"start_service","","Construct and srtart arbiter service",128,[[],["addr"]]],[11,"service_started","","Method is called during service initialization.",128,N],[11,"from_registry","","Get actor's address from arbiter registry",128,[[],["addr"]]],[3,"Supervisor","","Actor supervisor",N,N],[3,"Request","","`Request` is a `Future` which represents asynchronous message sending process.",N,N],[3,"Response","","Helper type for representing different type of message responses",N,N],[8,"Message","","Message type",N,N],[16,"Result","","The type of value that this message will resolved with if it is successful.",129,N],[6,"ResponseFuture","","A specialized future for async message handler",N,N],[8,"ActorContext","","Actor execution context",N,N],[10,"stop","","Immediately stop processing incoming messages and switch to a `stopping` state",130,N],[10,"terminate","","Terminate actor execution",130,N],[10,"state","","Actor execution state",130,[[["self"]],["actorstate"]]],[3,"SyncArbiter","","Sync arbiter",N,N],[8,"ActorFuture","","Trait for types which are a placeholder of a value that may become available at some later point in time.",N,N],[16,"Item","","The type of value that this future will resolved with if it is successful.",109,N],[16,"Error","","The type of error that this future will resolve with if it fails in a normal fashion.",109,N],[16,"Actor","","The actor within which this future runs",109,N],[10,"poll","","",109,N],[11,"map","","Map this future's result to a different type, returning a new future of the resulting type.",109,[[["self"],["f"]],["map"]]],[11,"map_err","","Map this future's error to a different error, returning a new future.",109,[[["self"],["f"]],["maperr"]]],[11,"drop_err","","Drop this future's error, returning a new future.",109,[[["self"]],["droperr"]]],[11,"from_err","","Map this future's error to any error implementing `From` for this future's `Error`, returning a new future.",109,[[["self"]],["fromerr"]]],[11,"then","","Chain on a computation for when a future finished, passing the result of the future to the provided closure `f`.",109,[[["self"],["f"]],["then"]]],[11,"and_then","","Execute another future after this one has resolved successfully.",109,[[["self"],["f"]],["andthen"]]],[11,"timeout","","Add timeout to futures chain.",109,N],[4,"MailboxError","","Set of error that can occurred during message delivery process",N,N],[13,"Closed","","",131,N],[13,"Timeout","","",131,N],[3,"Arbiter","","Event loop controller",N,N],[3,"Addr","","Address of the actor",N,N],[0,"msgs","","Actix system messages",N,N],[3,"StopArbiter","actix_web::actix::actix::msgs","Stop arbiter execution",N,N],[12,"0","","",115,N],[3,"StartActor","","Start actor in arbiter's thread",N,N],[3,"Execute","","Execute function in arbiter's thread",N,N],[8,"WrapStream","actix_web::actix::actix","Helper trait that allows conversion of normal stream into `ActorStream`",N,N],[16,"Stream","","The stream that this type can be converted into.",113,N],[16,"Item","","The item that the future may resolve with.",113,N],[16,"Error","","The error that the future may resolve with.",113,N],[10,"into_actor","","Convert normal stream to a ActorStream",113,N],[0,"fut","","Custom `Future` implementation with `Actix` support",N,N],[8,"IntoActorFuture","actix_web::actix::actix::fut","Class of types which can be converted into an actor future.",N,N],[16,"Future","","The future that this type can be converted into.",111,N],[16,"Item","","The item that the future may resolve with.",111,N],[16,"Error","","The error that the future may resolve with.",111,N],[16,"Actor","","The actor within which this future runs",111,N],[10,"into_future","","Consumes this object and produces a future.",111,N],[3,"FutureWrap","","",N,N],[5,"wrap_future","","Converts normal future into `ActorFuture`",N,[[["f"]],["futurewrap"]]],[3,"StreamWrap","","",N,N],[5,"wrap_stream","","Converts normal stream into `ActorStream`",N,[[["s"]],["streamwrap"]]],[3,"StreamTimeout","","Future for the `timeout` combinator, interrupts computations if it takes more than `timeout`.",N,N],[3,"DropErr","","",N,N],[3,"StreamFinish","","A combinator used to convert stream into a future, future resolves when stream completes.",N,N],[3,"StreamThen","","A stream combinator which chains a computation onto each item produced by a stream.",N,N],[5,"result","","Creates a new \"leaf future\" which will resolve with the given result.",N,[[["result"]],["futureresult"]]],[5,"ok","","Creates a \"leaf future\" from an immediate value of a finished and successful computation.",N,[[["t"]],["futureresult"]]],[3,"Map","","Future for the `map` combinator, changing the type of a future.",N,N],[4,"Either","","Combines two different futures yielding the same item and error types into a single type.",N,N],[13,"A","","First branch of the type",114,N],[13,"B","","Second branch of the type",114,N],[3,"StreamAndThen","","A stream combinator which chains a computation onto values produced by a stream.",N,N],[3,"AndThen","","Future for the `and_then` combinator, chaining a computation onto the end of another future which completes successfully.",N,N],[5,"err","","Creates a \"leaf future\" from an immediate value of a failed computation.",N,[[["e"]],["futureresult"]]],[3,"StreamMapErr","","A stream combinator which will change the error type of a stream from one type to another.",N,N],[3,"FutureResult","","A future representing a value that is immediately ready.",N,N],[3,"StreamMap","","A stream combinator which will change the type of a stream from one type to another.",N,N],[3,"Timeout","","Future for the `timeout` combinator, interrupts computations if it takes more than `timeout`.",N,N],[3,"Then","","Future for the `then` combinator, chaining computations on the end of another future regardless of its outcome.",N,N],[3,"MapErr","","Future for the `map_err` combinator, changing the error type of a future.",N,N],[3,"Finish","","A combinator used to convert stream into a future, future resolves when stream completes.",N,N],[3,"StreamFold","","A future used to collect all the results of a stream into one generic type.",N,N],[3,"FromErr","","Future for the `from_err` combinator, changing the error type of a future.",N,N],[0,"dev","actix_web::actix::actix","The `actix` prelude for library developers",N,N],[8,"AsyncContextParts","actix_web::actix::actix::dev","",N,N],[10,"parts","","",132,[[["self"]],["contextparts"]]],[8,"ResponseChannel","","Trait defines message response channel",N,N],[10,"is_canceled","","",133,[[["self"]],["bool"]]],[10,"send","","",133,N],[8,"ToEnvelope","","Converter trait, packs message to suitable envelope",N,N],[10,"pack","","Pack message into suitable envelope",134,[[["m"],["option",["sender"]]],["envelope"]]],[3,"SystemRegistry","","System wide actors registry",N,N],[8,"MessageResponse","","Trait which defines message response",N,N],[10,"handle","","",135,N],[3,"Envelope","","",N,N],[3,"ContextParts","","",N,N],[3,"Registry","","Actors registry",N,N],[3,"ContextFut","","",N,N],[3,"Mailbox","","",N,N],[5,"run","actix_web::actix","Start the System and execute supplied future.",N,N],[5,"spawn","","Spawns a future on the current arbiter.",N,N],[0,"dev","actix_web","The `actix-web` prelude for library developers",N,N],[3,"Drain","actix_web::dev","Consume a future",N,N],[3,"FormConfig","","Form extractor configuration",N,N],[3,"PayloadConfig","","Payload configuration for request's payload.",N,N],[3,"AsyncResult","","Represents async result",N,N],[3,"MessageBody","","Future that resolves to a complete http message body.",N,N],[3,"UrlEncoded","","Future that resolves to a parsed urlencoded values.",N,N],[3,"HttpResponseBuilder","","An HTTP response builder",N,N],[3,"ConnectionInfo","","`HttpRequest` connection information",N,N],[3,"JsonBody","","Request payload json parser that resolves to a deserialized `T` value.",N,N],[3,"JsonConfig","","Json extractor configuration",N,N],[3,"Params","","Route match information",N,N],[3,"Payload","","Buffered stream of bytes chunks",N,N],[3,"PayloadBuffer","","Payload buffer",N,N],[3,"Resource","","Resource is an entry in route table which corresponds to requested URL.",N,N],[3,"Route","","Resource route definition",N,N],[3,"ResourceDef","","Resource type describes an entry in resources table",N,N],[3,"ResourceInfo","","Information about current resource",N,N],[3,"Router","","Interface for application router.",N,N],[4,"ResourceType","","Resource type",N,N],[13,"Normal","","Normal resource",136,N],[13,"Default","","Resource for application default handler",136,N],[13,"External","","External resource",136,N],[13,"Unset","","Unknown resource type",136,N],[6,"BodyStream","","Type represent streaming body",N,N],[8,"Handler","","Trait defines object that could be registered as route handler",N,N],[16,"Result","","The type of value that handler will return.",137,N],[10,"handle","","Handle request",137,N],[8,"FromParam","","A trait to abstract the idea of creating a new instance of a type from a path parameter.",N,N],[16,"Err","","The associated error which can be returned from parsing.",138,N],[10,"from_param","","Parses a string `s` to return a value of this type.",138,[[["str"]],["result"]]],[0,"http","actix_web","Various HTTP related types",N,N],[3,"Method","actix_web::http","The Request Method (VERB)",N,N],[3,"StatusCode","","An HTTP status code (`status-code` in RFC 7230 et al.).",N,N],[3,"Version","","Represents a version of the HTTP spec.",N,N],[3,"Cookie","","Representation of an HTTP cookie.",N,N],[3,"CookieBuilder","","Structure that follows the builder pattern for building `Cookie` structs.",N,N],[3,"NormalizePath","","Path normalization helper",N,N],[4,"ContentEncoding","","Represents supported types of content encodings",N,N],[13,"Auto","","Automatically select encoding based on encoding negotiation",139,N],[13,"Br","","A format using the Brotli algorithm",139,N],[13,"Deflate","","A format using the zlib structure with deflate algorithm",139,N],[13,"Gzip","","Gzip algorithm",139,N],[13,"Identity","","Indicates the identity function (i.e. no compression, nor modification)",139,N],[4,"ConnectionType","","Represents various types of connection",N,N],[13,"Close","","Close connection after response",140,N],[13,"KeepAlive","","Keep connection alive after response",140,N],[13,"Upgrade","","Connection is upgraded to different type",140,N],[0,"header","","Various http headers",N,N],[17,"AGE","actix_web::http::header","Indicates the time in seconds the object has been in a proxy cache.",N,N],[17,"CONTENT_ENCODING","","Used to compress the media-type.",N,N],[17,"IF_NONE_MATCH","","Makes a request conditional based on the E-Tag.",N,N],[3,"HeaderName","","Represents an HTTP header field name",N,N],[17,"PROXY_AUTHORIZATION","","Contains the credentials to authenticate a user agent to a proxy server.",N,N],[17,"DATE","","Contains the date and time at which the message was originated.",N,N],[17,"ACCEPT_ENCODING","","Advertises which content encoding the client is able to understand.",N,N],[17,"ACCEPT_CHARSET","","Advertises which character set the client is able to understand.",N,N],[3,"Iter","","`HeaderMap` entry iterator.",N,N],[17,"ACCESS_CONTROL_REQUEST_METHOD","","Informs the server know which HTTP method will be used when the actual request is made.",N,N],[3,"OccupiedEntry","","A view into a single occupied location in a `HeaderMap`.",N,N],[17,"CONNECTION","","Controls whether or not the network connection stays open after the current transaction finishes.",N,N],[3,"InvalidHeaderValue","","A possible error when converting a `HeaderValue` from a string or byte slice.",N,N],[17,"ACCESS_CONTROL_ALLOW_ORIGIN","","Indicates whether the response can be shared with resources with the given origin.",N,N],[3,"Drain","","A drain iterator for `HeaderMap`.",N,N],[17,"SEC_WEBSOCKET_PROTOCOL","","The |Sec-WebSocket-Protocol| header field is used in the WebSocket opening handshake. It is sent from the client to the server and back from the server to the client to confirm the subprotocol of the connection. This enables scripts to both select a subprotocol and be sure that the server agreed to serve that subprotocol.",N,N],[3,"HeaderValue","","Represents an HTTP header field value.",N,N],[17,"PRAGMA","","HTTP/1.0 header usually used for backwards compatibility.",N,N],[3,"Values","","`HeaderMap` value iterator.",N,N],[17,"X_DNS_PREFETCH_CONTROL","","Controls DNS prefetching.",N,N],[17,"SEC_WEBSOCKET_ACCEPT","","The |Sec-WebSocket-Accept| header field is used in the WebSocket opening handshake. It is sent from the server to the client to confirm that the server is willing to initiate the WebSocket connection.",N,N],[17,"REFERER","","Contains the address of the previous web page from which a link to the currently requested page was followed.",N,N],[3,"ValueDrain","","An drain iterator of all values associated with a single header name.",N,N],[17,"STRICT_TRANSPORT_SECURITY","","Tells the client to communicate with HTTPS instead of using HTTP.",N,N],[17,"TRANSFER_ENCODING","","Specifies the form of encoding used to safely transfer the entity to the client.",N,N],[17,"SET_COOKIE","","Used to send cookies from the server to the user agent.",N,N],[17,"LOCATION","","Indicates the URL to redirect a page to.",N,N],[17,"AUTHORIZATION","","Contains the credentials to authenticate a user agent with a server.",N,N],[17,"CONTENT_DISPOSITION","","Indicates if the content is expected to be displayed inline.",N,N],[17,"WARNING","","General HTTP header contains information about possible problems with the status of the message.",N,N],[17,"CONTENT_SECURITY_POLICY_REPORT_ONLY","","Allows experimenting with policies by monitoring their effects.",N,N],[17,"ACCESS_CONTROL_ALLOW_HEADERS","","Preflight response indicating permitted HTTP headers.",N,N],[3,"ToStrError","","A possible error when converting a `HeaderValue` to a string representation.",N,N],[17,"CONTENT_SECURITY_POLICY","","Allows controlling resources the user agent is allowed to load for a given page.",N,N],[8,"AsHeaderName","","A marker trait used to identify values that can be used as search keys to a `HeaderMap`.",N,N],[17,"REFRESH","","Informs the web browser that the current page or frame should be refreshed.",N,N],[17,"EXPECT","","Indicates expectations that need to be fulfilled by the server in order to properly handle the request.",N,N],[17,"FROM","","Contains an Internet email address for a human user who controls the requesting user agent.",N,N],[17,"LINK","","Allows the server to point an interested client to another resource containing metadata about the requested resource.",N,N],[17,"ORIGIN","","Indicates where a fetch originates from.",N,N],[17,"LAST_MODIFIED","","Content-Types that are acceptable for the response.",N,N],[17,"CONTENT_LOCATION","","Indicates an alternate location for the returned data.",N,N],[17,"RANGE","","Indicates the part of a document that the server should return.",N,N],[17,"ACCESS_CONTROL_ALLOW_CREDENTIALS","","Preflight response indicating if the response to the request can be exposed to the page.",N,N],[17,"SEC_WEBSOCKET_KEY","","The |Sec-WebSocket-Key| header field is used in the WebSocket opening handshake. It is sent from the client to the server to provide part of the information used by the server to prove that it received a valid WebSocket opening handshake. This helps ensure that the server does not accept connections from non-WebSocket clients (e.g., HTTP clients) that are being abused to send data to unsuspecting WebSocket servers.",N,N],[4,"Entry","","A view into a single location in a `HeaderMap`, which may be vacant or occupied.",N,N],[13,"Occupied","","An occupied entry",141,N],[13,"Vacant","","A vacant entry",141,N],[17,"SERVER","","Contains information about the software used by the origin server to handle the request.",N,N],[17,"FORWARDED","","Contains information from the client-facing side of proxy servers that is altered or lost when a proxy is involved in the path of the request.",N,N],[17,"ACCESS_CONTROL_REQUEST_HEADERS","","Informs the server which HTTP headers will be used when an actual request is made.",N,N],[17,"ALLOW","","Lists the set of methods support by a resource.",N,N],[17,"CONTENT_LANGUAGE","","Used to describe the languages intended for the audience.",N,N],[3,"Keys","","An iterator over `HeaderMap` keys.",N,N],[3,"ValueIter","","An iterator of all values associated with a single header name.",N,N],[17,"UPGRADE_INSECURE_REQUESTS","","Sends a signal to the server expressing the client’s preference for an encrypted and authenticated response.",N,N],[17,"PUBLIC_KEY_PINS","","Associates a specific cryptographic public key with a certain server.",N,N],[17,"ACCESS_CONTROL_EXPOSE_HEADERS","","Indicates which headers can be exposed as part of the response by listing their names.",N,N],[17,"TRAILER","","Allows the sender to include additional fields at the end of chunked messages.",N,N],[17,"SEC_WEBSOCKET_VERSION","","The |Sec-WebSocket-Version| header field is used in the WebSocket opening handshake. It is sent from the client to the server to indicate the protocol version of the connection. This enables servers to correctly interpret the opening handshake and subsequent data being sent from the data, and close the connection if the server cannot interpret that data in a safe manner.",N,N],[17,"IF_MODIFIED_SINCE","","Makes a request conditional based on the modification date.",N,N],[17,"IF_UNMODIFIED_SINCE","","Makes the request conditional based on the last modification date.",N,N],[17,"PROXY_AUTHENTICATE","","Defines the authentication method that should be used to gain access to a proxy.",N,N],[17,"DNT","","Indicates the client's tracking preference.",N,N],[17,"COOKIE","","Contains stored HTTP cookies previously sent by the server with the Set-Cookie header.",N,N],[17,"X_XSS_PROTECTION","","Stop pages from loading when an XSS attack is detected.",N,N],[17,"X_FRAME_OPTIONS","","Indicates whether or not a browser should be allowed to render a page in a frame.",N,N],[17,"ACCEPT","","Advertises which content types the client is able to understand.",N,N],[17,"TE","","Informs the server of transfer encodings willing to be accepted as part of the response.",N,N],[3,"IntoIter","","An owning iterator over the entries of a `HeaderMap`.",N,N],[17,"UPGRADE","","Used as part of the exchange to upgrade the protocol.",N,N],[17,"MAX_FORWARDS","","Indicates the max number of intermediaries the request should be sent through.",N,N],[17,"IF_MATCH","","Makes a request conditional based on the E-Tag.",N,N],[17,"HOST","","Specifies the domain name of the server and (optionally) the TCP port number on which the server is listening.",N,N],[17,"IF_RANGE","","Makes a request conditional based on range.",N,N],[17,"CACHE_CONTROL","","Specifies directives for caching mechanisms in both requests and responses.",N,N],[17,"CONTENT_TYPE","","Used to indicate the media type of the resource.",N,N],[17,"ACCEPT_RANGES","","Marker used by the server to advertise partial request support.",N,N],[17,"ACCESS_CONTROL_ALLOW_METHODS","","Preflight header response indicating permitted access methods.",N,N],[8,"IntoHeaderName","","A marker trait used to identify values that can be used as insert keys to a `HeaderMap`.",N,N],[17,"RETRY_AFTER","","The Retry-After response HTTP header indicates how long the user agent should wait before making a follow-up request. There are two main cases this header is used:",N,N],[17,"CONTENT_RANGE","","Indicates where in a full body message a partial message belongs.",N,N],[17,"ALT_SVC","","Advertises the availability of alternate services to clients.",N,N],[3,"InvalidHeaderNameBytes","","A possible error when converting a `HeaderName` from another type.",N,N],[3,"VacantEntry","","A view into a single empty location in a `HeaderMap`.",N,N],[17,"X_CONTENT_TYPE_OPTIONS","","Marker used by the server to indicate that the MIME types advertised in the `content-type` headers should not be changed and be followed.",N,N],[17,"VIA","","Added by proxies to track routing.",N,N],[17,"WWW_AUTHENTICATE","","Defines the authentication method that should be used to gain access to a resource.",N,N],[17,"REFERRER_POLICY","","Governs which referrer information should be included with requests made.",N,N],[17,"ETAG","","Identifier for a specific version of a resource.",N,N],[3,"ValueIterMut","","A mutable iterator of all values associated with a single header name.",N,N],[3,"InvalidHeaderName","","A possible error when converting a `HeaderName` from another type.",N,N],[3,"InvalidHeaderValueBytes","","A possible error when converting a `HeaderValue` from a string or byte slice.",N,N],[17,"VARY","","Determines how to match future requests with cached responses.",N,N],[17,"USER_AGENT","","Contains a string that allows identifying the requesting client's software.",N,N],[17,"PUBLIC_KEY_PINS_REPORT_ONLY","","Sends reports of pinning violation to the report-uri specified in the header.",N,N],[17,"SEC_WEBSOCKET_EXTENSIONS","","The |Sec-WebSocket-Extensions| header field is used in the WebSocket opening handshake. It is initially sent from the client to the server, and then subsequently sent from the server to the client, to agree on a set of protocol-level extensions to use for the duration of the connection.",N,N],[3,"GetAll","","A view to all values stored in a single entry.",N,N],[17,"CONTENT_LENGTH","","Indicates the size fo the entity-body.",N,N],[17,"ACCEPT_LANGUAGE","","Advertises which languages the client is able to understand.",N,N],[3,"HeaderMap","","A set of HTTP headers",N,N],[17,"EXPIRES","","Contains the date/time after which the response is considered stale.",N,N],[17,"ACCESS_CONTROL_MAX_AGE","","Indicates how long the results of a preflight request can be cached.",N,N],[3,"LanguageTag","","A language tag as described in BCP47.",N,N],[12,"language","","Language subtags are used to indicate the language, ignoring all other aspects such as script, region or spefic invariants.",142,N],[12,"extlangs","","Extended language subtags are used to identify certain specially selected languages that, for various historical and compatibility reasons, are closely identified with or tagged using an existing primary language subtag.",142,N],[12,"script","","Script subtags are used to indicate the script or writing system variations that distinguish the written forms of a language or its dialects.",142,N],[12,"region","","Region subtags are used to indicate linguistic variations associated with or appropriate to a specific country, territory, or region. Typically, a region subtag is used to indicate variations such as regional dialects or usage, or region-specific spelling conventions. It can also be used to indicate that content is expressed in a way that is appropriate for use throughout a region, for instance, Spanish content tailored to be useful throughout Latin America.",142,N],[12,"variants","","Variant subtags are used to indicate additional, well-recognized variations that define a language or its dialects that are not covered by other available subtags.",142,N],[12,"extensions","","Extensions provide a mechanism for extending language tags for use in various applications. They are intended to identify information that is commonly used in association with languages or language tags but that is not part of language identification.",142,N],[12,"privateuse","","Private use subtags are used to indicate distinctions in language that are important in a given context by private agreement.",142,N],[3,"ExtendedValue","","An extended header parameter value (i.e., tagged with a character set and optionally, a language), as defined in RFC 5987.",N,N],[12,"charset","","The character set that is used to encode the `value` to a string.",143,N],[12,"language_tag","","The human language details of the `value`, if available.",143,N],[12,"value","","The parameter value, as expressed in octets.",143,N],[3,"ContentDisposition","","A `Content-Disposition` header, (re)defined in RFC6266.",N,N],[12,"disposition","","The disposition",144,N],[12,"parameters","","Disposition parameters",144,N],[4,"ContentEncoding","","Represents supported types of content encodings",N,N],[13,"Auto","","Automatically select encoding based on encoding negotiation",139,N],[13,"Br","","A format using the Brotli algorithm",139,N],[13,"Deflate","","A format using the zlib structure with deflate algorithm",139,N],[13,"Gzip","","Gzip algorithm",139,N],[13,"Identity","","Indicates the identity function (i.e. no compression, nor modification)",139,N],[4,"DispositionType","","The implied disposition of the content of the HTTP body.",N,N],[13,"Inline","","Inline implies default processing",145,N],[13,"Attachment","","Attachment implies that the recipient should prompt the user to save the response locally, rather than process it normally (as per its media type).",145,N],[13,"Ext","","Extension type. Should be handled by recipients the same way as Attachment",145,N],[4,"DispositionParam","","A parameter to the disposition type.",N,N],[13,"Filename","","A Filename consisting of a Charset, an optional LanguageTag, and finally a sequence of bytes representing the filename",146,N],[13,"Ext","","Extension type consisting of token and value. Recipients should ignore unrecognized parameters.",146,N],[4,"Charset","","A Mime charset.",N,N],[13,"Us_Ascii","","US ASCII",147,N],[13,"Iso_8859_1","","ISO-8859-1",147,N],[13,"Iso_8859_2","","ISO-8859-2",147,N],[13,"Iso_8859_3","","ISO-8859-3",147,N],[13,"Iso_8859_4","","ISO-8859-4",147,N],[13,"Iso_8859_5","","ISO-8859-5",147,N],[13,"Iso_8859_6","","ISO-8859-6",147,N],[13,"Iso_8859_7","","ISO-8859-7",147,N],[13,"Iso_8859_8","","ISO-8859-8",147,N],[13,"Iso_8859_9","","ISO-8859-9",147,N],[13,"Iso_8859_10","","ISO-8859-10",147,N],[13,"Shift_Jis","","Shift_JIS",147,N],[13,"Euc_Jp","","EUC-JP",147,N],[13,"Iso_2022_Kr","","ISO-2022-KR",147,N],[13,"Euc_Kr","","EUC-KR",147,N],[13,"Iso_2022_Jp","","ISO-2022-JP",147,N],[13,"Iso_2022_Jp_2","","ISO-2022-JP-2",147,N],[13,"Iso_8859_6_E","","ISO-8859-6-E",147,N],[13,"Iso_8859_6_I","","ISO-8859-6-I",147,N],[13,"Iso_8859_8_E","","ISO-8859-8-E",147,N],[13,"Iso_8859_8_I","","ISO-8859-8-I",147,N],[13,"Gb2312","","GB2312",147,N],[13,"Big5","","Big5",147,N],[13,"Koi8_R","","KOI8-R",147,N],[13,"Ext","","An arbitrary charset specified as a string",147,N],[5,"parse_extended_value","","Parses extended header parameter values (`ext-value`), as defined in RFC 5987.",N,[[["str"]],["result",["extendedvalue","parseerror"]]]],[5,"http_percent_encode","","Percent encode a sequence of bytes with a character set defined in [https://tools.ietf.org/html/rfc5987#section-3.2][url]",N,N],[6,"FutureResponse","actix_web","Convenience type alias",N,N],[8,"AsyncResponder","","Convenience trait that converts `Future` object to a `Boxed` future",N,N],[10,"responder","","Convert to a boxed future",148,[[["self"]],["box",["future"]]]],[8,"FromRequest","","Trait implemented by types that can be extracted from request.",N,N],[16,"Config","","Configuration for conversion process",149,N],[16,"Result","","Future that resolves to a Self",149,N],[10,"from_request","","Convert request to a Self",149,N],[11,"extract","","Convert request to a Self",149,N],[8,"Responder","","Trait implemented by types that generate responses for clients.",N,N],[16,"Item","","The associated item which can be returned.",150,N],[16,"Error","","The associated error which can be returned.",150,N],[10,"respond_to","","Convert itself to `AsyncResult` or `Error`.",150,[[["self"],["httprequest"]],["result"]]],[8,"HttpMessage","","Trait that implements general purpose operations on http messages",N,N],[16,"Stream","","Type of message payload stream",151,N],[10,"headers","","Read the message headers.",151,[[["self"]],["headermap"]]],[10,"payload","","Message payload stream",151,N],[11,"content_type","","Read the request content type. If request does not contain Content-Type header, empty str get returned.",151,[[["self"]],["str"]]],[11,"encoding","","Get content type encoding",151,[[["self"]],["result",["encodingref","contenttypeerror"]]]],[11,"mime_type","","Convert the request content type to a known mime type.",151,[[["self"]],["result",["option","contenttypeerror"]]]],[11,"chunked","","Check if request has chunked transfer encoding",151,[[["self"]],["result",["bool","parseerror"]]]],[11,"body","","Load http message body.",151,[[["self"]],["messagebody"]]],[11,"urlencoded","","Parse `application/x-www-form-urlencoded` encoded request's body. Return `UrlEncoded` future. Form can be deserialized to any type that implements `Deserialize` trait from serde.",151,[[["self"]],["urlencoded"]]],[11,"json","","Parse `application/json` encoded body. Return `JsonBody<T>` future. It resolves to a `T` value.",151,[[["self"]],["jsonbody"]]],[11,"multipart","","Return stream to http payload processes as multipart.",151,[[["self"]],["multipart"]]],[11,"readlines","","Return stream of lines.",151,[[["self"]],["readlines"]]],[14,"header","","",N,N],[11,"new","actix_web::dev","Create a drain from a future",152,[[["receiver"]],["self"]]],[11,"poll","","",152,N],[11,"limit","","Change max size of payload. By default max size is 256Kb",153,[[["self"],["usize"]],["self"]]],[11,"error_handler","","Set custom error handler",153,[[["self"],["f"]],["self"]]],[11,"default","","",153,[[],["self"]]],[11,"limit","","Change max size of payload. By default max size is 256Kb",154,[[["self"],["usize"]],["self"]]],[11,"mimetype","","Set required mime-type of the request. By default mime type is not enforced.",154,[[["self"],["mime"]],["self"]]],[11,"default","","",154,[[],["self"]]],[11,"extract","actix_web","Convert request to a Self",149,N],[11,"poll","actix_web::dev","",155,[[["self"]],["poll"]]],[11,"async","","Create async response",155,[[["box",["future"]]],["asyncresult"]]],[11,"ok","","Send response",155,[[["r"]],["asyncresult"]]],[11,"err","","Send error",155,[[["r"]],["asyncresult"]]],[11,"respond_to","","",155,[[["self"],["httprequest"]],["result",["asyncresult","error"]]]],[11,"from","","",155,[[["t"]],["asyncresult"]]],[11,"from","","",155,[[["result",["asyncresult"]]],["self"]]],[11,"from","","",155,[[["result"]],["self"]]],[11,"from","","",155,[[["result",["box"]]],["self"]]],[11,"from","","",155,[[["box",["future"]]],["asyncresult"]]],[11,"from_bytes","actix_web::http::header","Converts a slice of bytes to an HTTP header name.",156,N],[11,"from_lowercase","","Converts a slice of bytes to an HTTP header name.",156,N],[11,"from_static","","Converts a static string to a HTTP header name.",156,[[["str"]],["headername"]]],[11,"as_str","","Returns a `str` representation of the header.",156,[[["self"]],["str"]]],[11,"fmt","actix_web::http","Formats the cookie `self` as a `Set-Cookie` header value.",157,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::error","",26,[[["self"],["formatter"]],["result",["error"]]]],[11,"from","","",26,[[["utf8error"]],["parseerror"]]],[11,"eq","","",26,[[["self"],["parseerror"]],["bool"]]],[11,"ne","","",26,[[["self"],["parseerror"]],["bool"]]],[11,"eq","actix_web::http","",157,[[["self"],["cookie"]],["bool"]]],[11,"description","actix_web::error","",26,[[["self"]],["str"]]],[11,"clone","actix_web::http","",157,[[["self"]],["cookie"]]],[11,"clone","","",158,[[["self"]],["cookiebuilder"]]],[11,"clone","actix_web::error","",26,[[["self"]],["parseerror"]]],[11,"from_str","actix_web::http","",157,[[["str"]],["result",["cookie","parseerror"]]]],[11,"fmt","","",158,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::error","",26,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::http","",157,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::error","",25,[[["self"],["formatter"]],["result",["error"]]]],[11,"from","","",25,[[["errors"]],["parseerror"]]],[11,"eq","","",25,[[["self"],["parseerror"]],["bool"]]],[11,"description","","",25,[[["self"]],["str"]]],[11,"clone","","",25,[[["self"]],["parseerror"]]],[11,"fmt","","",25,[[["self"],["formatter"]],["result",["error"]]]],[11,"default","actix_web::http","",159,[[],["statuscode"]]],[11,"default","","",160,[[],["method"]]],[11,"default","actix_web::http::header","",161,[[],["headermap"]]],[11,"default","actix_web::http","",162,[[],["version"]]],[11,"eq","actix_web::http::header","",163,[[["self"],["string"]],["bool"]]],[11,"eq","","",156,[[["self"],["headername"]],["bool"]]],[11,"ne","","",156,[[["self"],["headername"]],["bool"]]],[11,"eq","","",156,[[["self"],["headername"]],["bool"]]],[11,"eq","","",163,[[["self"],["headervalue"]],["bool"]]],[11,"eq","actix_web::http","",159,[[["self"],["statuscode"]],["bool"]]],[11,"ne","","",159,[[["self"],["statuscode"]],["bool"]]],[11,"eq","actix_web::http::header","",164,[[["self"],["getall"]],["bool"]]],[11,"eq","","",163,[[["self"],["t"]],["bool"]]],[11,"eq","actix_web::http","",159,[[["self"],["u16"]],["bool"]]],[11,"eq","","",160,[[["self"],["method"]],["bool"]]],[11,"ne","","",160,[[["self"],["method"]],["bool"]]],[11,"eq","actix_web::http::header","",163,N],[11,"eq","","",161,[[["self"],["headermap"]],["bool"]]],[11,"eq","actix_web::http","",160,[[["self"],["str"]],["bool"]]],[11,"eq","","",160,[[["self"],["str"]],["bool"]]],[11,"eq","","",162,[[["self"],["version"]],["bool"]]],[11,"ne","","",162,[[["self"],["version"]],["bool"]]],[11,"eq","actix_web::http::header","Performs a case-insensitive comparison of the string against the header name",156,[[["self"],["str"]],["bool"]]],[11,"eq","","",163,[[["self"],["str"]],["bool"]]],[11,"eq","","Performs a case-insensitive comparison of the string against the header name",156,[[["self"],["str"]],["bool"]]],[11,"eq","actix_web::http","",160,[[["self"],["method"]],["bool"]]],[11,"hash","actix_web::http::header","",163,N],[11,"hash","actix_web::http","",162,N],[11,"hash","","",159,N],[11,"hash","","",160,N],[11,"hash","actix_web::http::header","",156,N],[11,"from_str","actix_web::http","",159,[[["str"]],["result",["statuscode","invalidstatuscode"]]]],[11,"from_str","actix_web::http::header","",163,[[["str"]],["result",["headervalue"]]]],[11,"from_str","actix_web::http","",160,[[["str"]],["result",["method"]]]],[11,"from_str","actix_web::http::header","",156,[[["str"]],["result",["headername","invalidheadername"]]]],[11,"drop","","",165,N],[11,"drop","","",166,N],[11,"drop","","",167,N],[11,"extend","","Extend a `HeaderMap` with the contents of another `HeaderMap`.",161,N],[11,"extend","","",161,N],[11,"index","","Panics Using the index operator will cause a panic if the header you're querying isn't set.",161,[[["self"],["k"]],["t"]]],[11,"cmp","actix_web::http","",162,[[["self"],["version"]],["ordering"]]],[11,"cmp","actix_web::http::header","",163,[[["self"],["headervalue"]],["ordering"]]],[11,"cmp","actix_web::http","",159,[[["self"],["statuscode"]],["ordering"]]],[11,"partial_cmp","","",159,[[["self"],["statuscode"]],["option",["ordering"]]]],[11,"lt","","",159,[[["self"],["statuscode"]],["bool"]]],[11,"le","","",159,[[["self"],["statuscode"]],["bool"]]],[11,"gt","","",159,[[["self"],["statuscode"]],["bool"]]],[11,"ge","","",159,[[["self"],["statuscode"]],["bool"]]],[11,"partial_cmp","actix_web::http::header","",163,N],[11,"partial_cmp","","",163,[[["self"],["str"]],["option",["ordering"]]]],[11,"partial_cmp","actix_web::http","",162,[[["self"],["version"]],["option",["ordering"]]]],[11,"lt","","",162,[[["self"],["version"]],["bool"]]],[11,"le","","",162,[[["self"],["version"]],["bool"]]],[11,"gt","","",162,[[["self"],["version"]],["bool"]]],[11,"ge","","",162,[[["self"],["version"]],["bool"]]],[11,"partial_cmp","actix_web::http::header","",163,[[["self"],["headervalue"]],["option",["ordering"]]]],[11,"partial_cmp","","",163,[[["self"],["t"]],["option",["ordering"]]]],[11,"partial_cmp","","",163,[[["self"],["string"]],["option",["ordering"]]]],[11,"borrow","","",156,[[["self"]],["str"]]],[11,"next","","",168,[[["self"]],["option"]]],[11,"size_hint","","",168,N],[11,"next","","",169,[[["self"]],["option"]]],[11,"size_hint","","",169,N],[11,"next","","",170,[[["self"]],["option"]]],[11,"size_hint","","",170,N],[11,"next","","",165,[[["self"]],["option"]]],[11,"size_hint","","",165,N],[11,"next","","",171,[[["self"]],["option"]]],[11,"next","","",166,[[["self"]],["option"]]],[11,"size_hint","","",166,N],[11,"next","","",172,[[["self"]],["option"]]],[11,"size_hint","","",172,N],[11,"next","","",167,[[["self"]],["option"]]],[11,"size_hint","","",167,N],[11,"fmt","actix_web::http","",160,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::http::header","",173,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",174,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::http","",159,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::http::header","",175,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",176,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",177,[[["self"],["formatter"]],["result",["error"]]]],[11,"next_back","","",171,[[["self"]],["option"]]],[11,"next_back","","",168,[[["self"]],["option"]]],[11,"from","","",163,[[["i64"]],["headervalue"]]],[11,"from","","",163,[[["isize"]],["headervalue"]]],[11,"from","","",163,[[["i32"]],["headervalue"]]],[11,"from","","",163,[[["u64"]],["headervalue"]]],[11,"from","","",163,[[["i16"]],["headervalue"]]],[11,"from","","",163,[[["u32"]],["headervalue"]]],[11,"from","","",163,[[["usize"]],["headervalue"]]],[11,"from","","",163,[[["u16"]],["headervalue"]]],[11,"from","","",163,[[["headername"]],["headervalue"]]],[11,"from","","",156,[[["headername"]],["headername"]]],[11,"into_iter","","Creates a consuming iterator, that is, one that moves keys and values out of the map in arbitary order. The map cannot be used after calling this.",161,[[["self"]],["intoiter"]]],[11,"into_iter","","",178,[[["self"]],["valueitermut"]]],[11,"into_iter","","",164,[[["self"]],["valueiter"]]],[11,"as_ref","","",156,N],[11,"as_ref","","",163,N],[11,"as_ref","actix_web::http","",160,[[["self"]],["str"]]],[11,"as_ref","actix_web::http::header","",156,[[["self"]],["str"]]],[11,"description","","",176,[[["self"]],["str"]]],[11,"description","","",177,[[["self"]],["str"]]],[11,"description","","",174,[[["self"]],["str"]]],[11,"description","","",173,[[["self"]],["str"]]],[11,"description","","",175,[[["self"]],["str"]]],[11,"clone","","",156,[[["self"]],["headername"]]],[11,"clone","","",163,[[["self"]],["headervalue"]]],[11,"clone","actix_web::http","",160,[[["self"]],["method"]]],[11,"clone","actix_web::http::header","",161,[[["self"]],["headermap"]]],[11,"clone","actix_web::http","",159,[[["self"]],["statuscode"]]],[11,"clone","","",162,[[["self"]],["version"]]],[11,"try_from","actix_web::http::header","",163,[[["i64"]],["result",["headervalue"]]]],[11,"try_from","","",163,[[["i32"]],["result",["headervalue"]]]],[11,"try_from","actix_web::http","",160,N],[11,"try_from","actix_web::http::header","",163,[[["headervalue"]],["result",["headervalue"]]]],[11,"try_from","actix_web::http","",159,[[["statuscode"]],["result",["statuscode"]]]],[11,"try_from","actix_web::http::header","",163,N],[11,"try_from","actix_web::http","",160,[[["str"]],["result",["method"]]]],[11,"try_from","","",159,N],[11,"try_from","actix_web::http::header","",163,[[["i16"]],["result",["headervalue"]]]],[11,"try_from","","",163,[[["usize"]],["result",["headervalue"]]]],[11,"try_from","","",163,[[["u64"]],["result",["headervalue"]]]],[11,"try_from","","",156,[[["str"]],["result",["headername"]]]],[11,"try_from","","",163,[[["isize"]],["result",["headervalue"]]]],[11,"try_from","","",156,[[["bytes"]],["result",["headername"]]]],[11,"try_from","actix_web::http","",160,[[["method"]],["result",["method"]]]],[11,"try_from","actix_web::http::header","",163,[[["headername"]],["result",["headervalue"]]]],[11,"try_from","","",156,[[["headername"]],["result",["headername"]]]],[11,"try_from","","",163,[[["u16"]],["result",["headervalue"]]]],[11,"try_from","","",163,[[["u32"]],["result",["headervalue"]]]],[11,"try_from","","",163,[[["str"]],["result",["headervalue"]]]],[11,"try_from","actix_web::http","",159,[[["str"]],["result",["statuscode"]]]],[11,"try_from","","",159,[[["u16"]],["result",["statuscode"]]]],[11,"try_from","actix_web::http::header","",163,[[["bytes"]],["result",["headervalue"]]]],[11,"try_from","","",156,N],[11,"fmt","actix_web::http","",160,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::http::header","",171,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",179,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",175,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",178,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",165,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",172,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",141,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",161,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",164,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",163,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",170,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",173,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",174,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",168,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",167,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::http","",159,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::http::header","",169,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",156,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",166,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::http","",162,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::http::header","",177,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",176,[[["self"],["formatter"]],["result",["error"]]]],[11,"from_iter","","",161,[[["i"]],["headermap"]]],[11,"fmt","","",142,[[["self"],["formatter"]],["result",["error"]]]],[11,"default","","",142,[[],["languagetag"]]],[11,"eq","","",142,[[["self"],["languagetag"]],["bool"]]],[11,"from_str","","",142,[[["str"]],["result",["languagetag","error"]]]],[11,"clone","","",142,[[["self"]],["languagetag"]]],[11,"fmt","","",142,[[["self"],["formatter"]],["result",["error"]]]],[11,"poll","actix_web::actix::actix::fut","",180,N],[11,"poll","","",181,N],[11,"poll","","",182,N],[11,"poll","","",183,N],[11,"poll","","",184,N],[11,"poll","","",185,N],[11,"stop","actix_web::actix::actix","Stop current actor. SyncContext creates and starts new actor.",186,N],[11,"terminate","","Terminate actor execution. SyncContext creates and starts new actor.",186,N],[11,"state","","Actor execution state",186,[[["self"]],["actorstate"]]],[11,"stop","","",187,N],[11,"terminate","","",187,N],[11,"state","","",187,[[["self"]],["actorstate"]]],[11,"poll","actix_web::actix::actix::fut","",188,N],[11,"poll","","",189,N],[11,"poll","","",190,N],[11,"poll","","",191,N],[11,"poll","","",114,N],[11,"poll","","",192,N],[11,"poll","","",193,N],[11,"poll","actix_web::actix::actix::actors::resolver","",194,[[["self"],["resolver"],["context"]],["result",["async"]]]],[11,"poll","actix_web::actix::actix::fut","",195,N],[11,"poll","","",196,N],[11,"poll","","",197,N],[11,"poll","","",198,N],[11,"poll","","",199,N],[11,"eq","actix_web::actix::actix","",200,[[["self"],["addr"]],["bool"]]],[11,"eq","actix_web::actix::actix::actors::signal","",106,[[["self"],["signaltype"]],["bool"]]],[11,"eq","actix_web::actix::actix::actors::resolver","",104,[[["self"],["connectaddr"]],["bool"]]],[11,"ne","","",104,[[["self"],["connectaddr"]],["bool"]]],[11,"eq","actix_web::actix::actix","",121,[[["self"],["running"]],["bool"]]],[11,"eq","actix_web::actix::actix::actors::resolver","",201,[[["self"],["connect"]],["bool"]]],[11,"ne","","",201,[[["self"],["connect"]],["bool"]]],[11,"eq","","",202,[[["self"],["resolve"]],["bool"]]],[11,"ne","","",202,[[["self"],["resolve"]],["bool"]]],[11,"eq","actix_web::actix::actix","",203,[[["self"],["spawnhandle"]],["bool"]]],[11,"ne","","",203,[[["self"],["spawnhandle"]],["bool"]]],[11,"eq","","",204,[[["self"],["recipient"]],["bool"]]],[11,"eq","","",118,[[["self"],["actorstate"]],["bool"]]],[11,"handle","","",205,[[["self"],["execute"],["context"]],["result"]]],[11,"handle","actix_web::actix::actix::actors::resolver","",206,N],[11,"handle","actix_web::actix::actix","",205,N],[11,"handle","actix_web::actix::actix::actors::signal","",207,N],[11,"handle","actix_web::actix::actix::actors::resolver","",206,N],[11,"handle","actix_web::actix::actix","",205,[[["self"],["startactor"],["context"]],["addr"]]],[11,"handle","actix_web::actix::actix::actors::signal","",208,N],[11,"handle","actix_web::actix::actix::actors::resolver","",206,N],[11,"hash","actix_web::actix::actix","",203,N],[11,"hash","","",204,N],[11,"hash","","",200,N],[11,"drop","","",205,N],[11,"from","actix_web::actix::actix::fut","",198,[[["result"]],["futureresult"]]],[11,"parts","actix_web::actix::actix","",187,[[["self"]],["contextparts"]]],[11,"spawn","","",187,[[["self"],["f"]],["spawnhandle"]]],[11,"wait","","",187,N],[11,"waiting","","",187,[[["self"]],["bool"]]],[11,"cancel_future","","",187,[[["self"],["spawnhandle"]],["bool"]]],[11,"address","","",187,[[["self"]],["addr"]]],[11,"service_started","actix_web::actix::actix::actors::signal","",208,N],[11,"clone","actix_web::actix::actix","",209,[[["self"]],["system"]]],[11,"clone","","",121,[[["self"]],["running"]]],[11,"clone","actix_web::actix::actix::actors::signal","",106,[[["self"]],["signaltype"]]],[11,"clone","actix_web::actix::actix","",118,[[["self"]],["actorstate"]]],[11,"clone","actix_web::actix::actix::dev","",210,[[["self"]],["registry"]]],[11,"clone","actix_web::actix::actix","",203,[[["self"]],["spawnhandle"]]],[11,"clone","","",200,[[["self"]],["addr"]]],[11,"clone","actix_web::actix::actix::dev","",211,[[["self"]],["systemregistry"]]],[11,"clone","actix_web::actix::actix","",204,[[["self"]],["recipient"]]],[11,"fmt","actix_web::actix::actix::actors::resolver","",105,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::fut","",183,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",184,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",189,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",191,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",180,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",182,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::actors::signal","",107,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::fut","",195,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix","",126,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::actors::signal","",106,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::actors::resolver","",202,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::fut","",188,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix","",118,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::fut","",212,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",198,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::actors::resolver","",201,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::fut","",193,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",114,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","","",192,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix","",131,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::fut","",199,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::actors::resolver","",104,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix","",121,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::fut","",185,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix","",203,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::fut","",190,[[["self"],["formatter"]],["result",["error"]]]],[11,"default","actix_web::actix::actix::actors::resolver","",206,[[],["resolver"]]],[11,"default","actix_web::actix::actix","",203,[[],["spawnhandle"]]],[11,"default","actix_web::actix::actix::actors::signal","",207,[[],["defaultsignalshandler"]]],[11,"default","actix_web::actix::actix","",213,[[],["condition"]]],[11,"default","actix_web::actix::actix::actors::signal","",208,[[],["processsignals"]]],[11,"default","actix_web::actix::actix::dev","",214,[[],["mailbox"]]],[11,"poll","actix_web::actix::actix","",215,[[["self"]],["result",["async"]]]],[11,"poll","","",216,[[["self"]],["result",["async"]]]],[11,"poll","actix_web::actix::actix::fut","",212,[[["self"]],["result",["async"]]]],[11,"handle","actix_web::actix::actix","",200,N],[11,"handle","","",117,N],[11,"handle","","",217,N],[11,"handle","","",218,N],[11,"fmt","","",126,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix::actors::resolver","",105,[[["self"],["formatter"]],["result",["error"]]]],[11,"fmt","actix_web::actix::actix","",131,[[["self"],["formatter"]],["result",["error"]]]],[11,"started","actix_web::actix::actix::actors::signal","",207,N],[11,"started","actix_web::actix::actix::actors::resolver","",206,N],[11,"cause","actix_web::actix::actix","",131,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",131,[[["self"]],["option",["backtrace"]]]],[11,"cause","actix_web::actix::actix::actors::resolver","",105,[[["self"]],["option",["fail"]]]],[11,"backtrace","","",105,[[["self"]],["option",["backtrace"]]]],[11,"pack","actix_web::actix::actix","",186,[[["m"],["option",["sender"]]],["envelope"]]],[11,"pack","","",187,[[["m"],["option",["sender"]]],["envelope"]]],[11,"key","actix_web::http::header","Returns a reference to the entry's key.",178,[[["self"]],["headername"]]],[11,"get","","Get a reference to the first value in the entry.",178,[[["self"]],["t"]]],[11,"get_mut","","Get a mutable reference to the first value in the entry.",178,[[["self"]],["t"]]],[11,"into_mut","","Converts the `OccupiedEntry` into a mutable reference to the first value.",178,[[["self"]],["t"]]],[11,"insert","","Sets the value of the entry.",178,[[["self"],["t"]],["t"]]],[11,"insert_mult","","Sets the value of the entry.",178,[[["self"],["t"]],["valuedrain"]]],[11,"append","","Insert the value into the entry.",178,N],[11,"remove","","Remove the entry from the map.",178,[[["self"]],["t"]]],[11,"remove_entry","","Remove the entry from the map.",178,N],[11,"remove_entry_mult","","Remove the entry from the map.",178,N],[11,"iter","","Returns an iterator visiting all values associated with the entry.",178,[[["self"]],["valueiter"]]],[11,"iter_mut","","Returns an iterator mutably visiting all values associated with the entry.",178,[[["self"]],["valueitermut"]]],[11,"from_static","","Convert a static string to a `HeaderValue`.",163,[[["str"]],["headervalue"]]],[11,"from_str","","Attempt to convert a string to a `HeaderValue`.",163,[[["str"]],["result",["headervalue","invalidheadervalue"]]]],[11,"from_name","","Converts a HeaderName into a HeaderValue",163,[[["headername"]],["headervalue"]]],[11,"from_bytes","","Attempt to convert a byte slice to a `HeaderValue`.",163,N],[11,"from_shared","","Attempt to convert a `Bytes` buffer to a `HeaderValue`.",163,[[["bytes"]],["result",["headervalue","invalidheadervaluebytes"]]]],[11,"from_shared_unchecked","","Convert a `Bytes` directly into a `HeaderValue` without validating.",163,[[["bytes"]],["headervalue"]]],[11,"to_str","","Yields a `&str` slice if the `HeaderValue` only contains visible ASCII chars.",163,[[["self"]],["result",["str","tostrerror"]]]],[11,"len","","Returns the length of `self`.",163,[[["self"]],["usize"]]],[11,"is_empty","","Returns true if the `HeaderValue` has a length of zero bytes.",163,[[["self"]],["bool"]]],[11,"as_bytes","","Converts a `HeaderValue` to a byte slice.",163,N],[11,"set_sensitive","","Mark that the header value represents sensitive information.",163,N],[11,"is_sensitive","","Returns `true` if the value represents sensitive data.",163,[[["self"]],["bool"]]],[11,"or_insert","","Ensures a value is in the entry by inserting the default if empty.",141,[[["self"],["t"]],["t"]]],[11,"or_insert_with","","Ensures a value is in the entry by inserting the result of the default function if empty.",141,[[["self"],["f"]],["t"]]],[11,"key","","Returns a reference to the entry's key",141,[[["self"]],["headername"]]],[11,"key","","Returns a reference to the entry's key",179,[[["self"]],["headername"]]],[11,"into_key","","Take ownership of the key",179,[[["self"]],["headername"]]],[11,"insert","","Insert the value into the entry.",179,[[["self"],["t"]],["t"]]],[11,"insert_entry","","Insert the value into the entry.",179,[[["self"],["t"]],["occupiedentry"]]],[11,"iter","","Returns an iterator visiting all values associated with the entry.",164,[[["self"]],["valueiter"]]],[11,"new","","Create an empty `HeaderMap`.",161,[[],["headermap",["headervalue"]]]],[11,"with_capacity","","Create an empty `HeaderMap` with the specified capacity.",161,[[["usize"]],["headermap"]]],[11,"len","","Returns the number of headers stored in the map.",161,[[["self"]],["usize"]]],[11,"keys_len","","Returns the number of keys stored in the map.",161,[[["self"]],["usize"]]],[11,"is_empty","","Returns true if the map contains no elements.",161,[[["self"]],["bool"]]],[11,"clear","","Clears the map, removing all key-value pairs. Keeps the allocated memory for reuse.",161,N],[11,"capacity","","Returns the number of headers the map can hold without reallocating.",161,[[["self"]],["usize"]]],[11,"reserve","","Reserves capacity for at least `additional` more headers to be inserted into the `HeaderMap`.",161,N],[11,"get","","Returns a reference to the value associated with the key.",161,[[["self"],["k"]],["option"]]],[11,"get_mut","","Returns a mutable reference to the value associated with the key.",161,[[["self"],["k"]],["option"]]],[11,"get_all","","Returns a view of all values associated with a key.",161,[[["self"],["k"]],["getall"]]],[11,"contains_key","","Returns true if the map contains a value for the specified key.",161,[[["self"],["k"]],["bool"]]],[11,"iter","","An iterator visiting all key-value pairs.",161,[[["self"]],["iter"]]],[11,"iter_mut","","An iterator visiting all key-value pairs, with mutable value references.",161,[[["self"]],["itermut"]]],[11,"keys","","An iterator visiting all keys.",161,[[["self"]],["keys"]]],[11,"values","","An iterator visiting all values.",161,[[["self"]],["values"]]],[11,"values_mut","","An iterator visiting all values mutably.",161,[[["self"]],["valuesmut"]]],[11,"drain","","Clears the map, returning all entries as an iterator.",161,[[["self"]],["drain"]]],[11,"entry","","Gets the given key's corresponding entry in the map for in-place manipulation.",161,[[["self"],["k"]],["result",["entry","invalidheadername"]]]],[11,"insert","","Inserts a key-value pair into the map.",161,[[["self"],["k"],["t"]],["option"]]],[11,"append","","Inserts a key-value pair into the map.",161,[[["self"],["k"],["t"]],["bool"]]],[11,"remove","","Removes a key from the map, returning the value associated with the key.",161,[[["self"],["k"]],["option"]]],[11,"clone","","",145,[[["self"]],["dispositiontype"]]],[11,"fmt","","",145,[[["self"],["formatter"]],["result"]]],[11,"eq","","",145,[[["self"],["dispositiontype"]],["bool"]]],[11,"ne","","",145,[[["self"],["dispositiontype"]],["bool"]]],[11,"clone","","",146,[[["self"]],["dispositionparam"]]],[11,"fmt","","",146,[[["self"],["formatter"]],["result"]]],[11,"eq","","",146,[[["self"],["dispositionparam"]],["bool"]]],[11,"ne","","",146,[[["self"],["dispositionparam"]],["bool"]]],[11,"clone","","",144,[[["self"]],["contentdisposition"]]],[11,"fmt","","",144,[[["self"],["formatter"]],["result"]]],[11,"eq","","",144,[[["self"],["contentdisposition"]],["bool"]]],[11,"ne","","",144,[[["self"],["contentdisposition"]],["bool"]]],[11,"from_raw","","Parse a raw Content-Disposition header value",144,[[["headervalue"]],["result",["parseerror"]]]],[11,"fmt","","",144,[[["self"],["formatter"]],["result"]]],[11,"matches","","Matches language tags. The first language acts as a language range, the second one is used as a normal language tag. None fields in the language range are ignored. If the language tag has more extlangs than the range these extlangs are ignored. Matches are case-insensitive. `*` in language ranges are represented using `None` values. The language range `*` that matches language tags is created by the default language tag: `let wildcard: LanguageTag = Default::default();.`",142,[[["self"],["languagetag"]],["bool"]]],[11,"is_language_range","","Checks if it is a language range, meaning that there are no extension and privateuse tags.",142,[[["self"]],["bool"]]],[11,"canonicalize","","Returns the canonical version of the language tag.",142,[[["self"]],["languagetag"]]],[11,"clone","","",147,[[["self"]],["charset"]]],[11,"fmt","","",147,[[["self"],["formatter"]],["result"]]],[11,"eq","","",147,[[["self"],["charset"]],["bool"]]],[11,"ne","","",147,[[["self"],["charset"]],["bool"]]],[11,"fmt","","",147,[[["self"],["formatter"]],["result"]]],[11,"from_str","","",147,[[["str"]],["result",["charset"]]]],[11,"clone","actix_web::http","",139,[[["self"]],["contentencoding"]]],[11,"eq","","",139,[[["self"],["contentencoding"]],["bool"]]],[11,"fmt","","",139,[[["self"],["formatter"]],["result"]]],[11,"is_compression","","Is the content compressed?",139,[[["self"]],["bool"]]],[11,"as_str","","Convert content encoding to string",139,[[["self"]],["str"]]],[11,"quality","","default quality value",139,[[["self"]],["f64"]]],[11,"from","","",139,[[["str"]],["contentencoding"]]],[11,"clone","actix_web::http::header","",143,[[["self"]],["extendedvalue"]]],[11,"fmt","","",143,[[["self"],["formatter"]],["result"]]],[11,"eq","","",143,[[["self"],["extendedvalue"]],["bool"]]],[11,"ne","","",143,[[["self"],["extendedvalue"]],["bool"]]],[11,"fmt","","",143,[[["self"],["formatter"]],["result"]]],[11,"default","actix_web::http","Create default `NormalizePath` instance, append is set to true, merge is set to true and redirect is set to `StatusCode::MOVED_PERMANENTLY`",219,[[],["normalizepath"]]],[11,"new","","Create new `NormalizePath` instance",219,[[["bool"],["bool"],["statuscode"]],["normalizepath"]]],[11,"handle","","",219,N],[11,"content_type","actix_web","Read the request content type. If request does not contain Content-Type header, empty str get returned.",151,[[["self"]],["str"]]],[11,"encoding","","Get content type encoding",151,[[["self"]],["result",["encodingref","contenttypeerror"]]]],[11,"mime_type","","Convert the request content type to a known mime type.",151,[[["self"]],["result",["option","contenttypeerror"]]]],[11,"chunked","","Check if request has chunked transfer encoding",151,[[["self"]],["result",["bool","parseerror"]]]],[11,"body","","Load http message body.",151,[[["self"]],["messagebody"]]],[11,"urlencoded","","Parse `application/x-www-form-urlencoded` encoded request's body. Return `UrlEncoded` future. Form can be deserialized to any type that implements `Deserialize` trait from serde.",151,[[["self"]],["urlencoded"]]],[11,"json","","Parse `application/json` encoded body. Return `JsonBody<T>` future. It resolves to a `T` value.",151,[[["self"]],["jsonbody"]]],[11,"multipart","","Return stream to http payload processes as multipart.",151,[[["self"]],["multipart"]]],[11,"readlines","","Return stream of lines.",151,[[["self"]],["readlines"]]],[11,"new","actix_web::dev","Create `MessageBody` for request.",220,[[["t"]],["messagebody"]]],[11,"limit","","Change max size of payload. By default max size is 256Kb",220,[[["self"],["usize"]],["self"]]],[11,"poll","","",220,[[["self"]],["poll"]]],[11,"new","","Create a new future to URL encode a request",221,[[["t"]],["urlencoded"]]],[11,"limit","","Change max size of payload. By default max size is 256Kb",221,[[["self"],["usize"]],["self"]]],[11,"poll","","",221,[[["self"]],["poll"]]],[11,"clone","actix_web::http","",140,[[["self"]],["connectiontype"]]],[11,"eq","","",140,[[["self"],["connectiontype"]],["bool"]]],[11,"fmt","","",140,[[["self"],["formatter"]],["result"]]],[11,"status","actix_web::dev","Set HTTP status code of this response.",222,[[["self"],["statuscode"]],["self"]]],[11,"version","","Set HTTP version of this response.",222,[[["self"],["version"]],["self"]]],[11,"header","","Set a header.",222,[[["self"],["k"],["v"]],["self"]]],[11,"reason","","Set the custom reason for the response.",222,[[["self"],["str"]],["self"]]],[11,"content_encoding","","Set content encoding.",222,[[["self"],["contentencoding"]],["self"]]],[11,"force_close","","Force close connection, even if it is marked as keep-alive",222,[[["self"]],["self"]]],[11,"chunked","","Enables automatic chunked transfer encoding",222,[[["self"]],["self"]]],[11,"no_chunking","","Force disable chunked encoding",222,[[["self"]],["self"]]],[11,"content_type","","Set response content type",222,[[["self"],["v"]],["self"]]],[11,"content_length","","Set content length",222,[[["self"],["u64"]],["self"]]],[11,"cookie","","Set a cookie",222,[[["self"],["cookie"]],["self"]]],[11,"del_cookie","","Remove cookie",222,[[["self"],["cookie"]],["self"]]],[11,"if_true","","This method calls provided closure with builder reference if value is true.",222,[[["self"],["bool"],["f"]],["self"]]],[11,"if_some","","This method calls provided closure with builder reference if value is Some.",222,[[["self"],["option"],["f"]],["self"]]],[11,"write_buffer_capacity","","Set write buffer capacity",222,[[["self"],["usize"]],["self"]]],[11,"body","","Set a body and generate `HttpResponse`.",222,[[["self"],["b"]],["httpresponse"]]],[11,"streaming","","Set a streaming body and generate `HttpResponse`.",222,[[["self"],["s"]],["httpresponse"]]],[11,"json","","Set a json body and generate `HttpResponse`",222,[[["self"],["t"]],["httpresponse"]]],[11,"finish","","Set an empty body and generate `HttpResponse`",222,[[["self"]],["httpresponse"]]],[11,"take","","This method construct new `HttpResponseBuilder`",222,[[["self"]],["httpresponsebuilder"]]],[11,"respond_to","","",222,[[["self"],["httprequest"]],["result",["httpresponse","error"]]]],[11,"from","","",222,[[["clientresponse"]],["httpresponsebuilder"]]],[11,"from","","",222,[[["httprequest"]],["httpresponsebuilder"]]],[11,"clone","","",223,[[["self"]],["connectioninfo"]]],[11,"default","","",223,[[],["connectioninfo"]]],[11,"update","","Create ConnectionInfo instance for a request.",223,[[["self"],["request"]]]],[11,"scheme","","Scheme of the request.",223,[[["self"]],["str"]]],[11,"host","","Hostname of the request.",223,[[["self"]],["str"]]],[11,"remote","","Remote IP of client initiated HTTP request.",223,[[["self"]],["option",["str"]]]],[11,"limit","","Change max size of payload. By default max size is 256Kb",224,[[["self"],["usize"]],["self"]]],[11,"error_handler","","Set custom error handler",224,[[["self"],["f"]],["self"]]],[11,"default","","",224,[[],["self"]]],[11,"new","","Create `JsonBody` for request.",225,[[["t"]],["self"]]],[11,"limit","","Change max size of payload. By default max size is 256Kb",225,[[["self"],["usize"]],["self"]]],[11,"poll","","",225,[[["self"]],["poll",["jsonpayloaderror"]]]],[11,"fmt","","",226,[[["self"],["formatter"]],["result"]]],[11,"clone","","",226,[[["self"]],["params"]]],[11,"is_empty","","Check if there are any matched patterns",226,[[["self"]],["bool"]]],[11,"len","","Check number of extracted parameters",226,[[["self"]],["usize"]]],[11,"get","","Get matched parameter by name without type conversion",226,[[["self"],["str"]],["option",["str"]]]],[11,"unprocessed","","Get unprocessed part of path",226,[[["self"]],["str"]]],[11,"query","","Get matched `FromParam` compatible parameter by name.",226,[[["self"],["str"]],["result"]]],[11,"iter","","Return iterator to items in parameter container",226,[[["self"]],["paramsiter"]]],[11,"index","","",226,[[["self"],["str"]],["str"]]],[11,"index","","",226,[[["self"],["usize"]],["str"]]],[11,"fmt","","",227,[[["self"],["formatter"]],["result"]]],[11,"new","","Create payload stream.",227,N],[11,"unread_data","","Put unused data back to payload",227,[[["self"],["bytes"]]]],[11,"set_read_buffer_capacity","","Set read buffer capacity",227,[[["self"],["usize"]]]],[11,"poll","","",227,[[["self"]],["poll",["option","payloaderror"]]]],[11,"clone","","",227,[[["self"]],["payload"]]],[11,"new","","Create new `PayloadBuffer` instance",228,[[["s"]],["self"]]],[11,"get_mut","","Get mutable reference to an inner stream.",228,[[["self"]],["s"]]],[11,"readany","","Read first available chunk of bytes",228,[[["self"]],["poll",["option","payloaderror"]]]],[11,"can_read","","Check if buffer contains enough bytes",228,[[["self"],["usize"]],["poll",["option","payloaderror"]]]],[11,"get_chunk","","Return reference to the first chunk of data",228,[[["self"]],["poll",["option","payloaderror"]]]],[11,"read_exact","","Read exact number of bytes",228,[[["self"],["usize"]],["poll",["option","payloaderror"]]]],[11,"drop_bytes","","Remove specified amount if bytes from buffer",228,[[["self"],["usize"]]]],[11,"copy","","Copy buffered data",228,[[["self"],["usize"]],["poll",["option","payloaderror"]]]],[11,"read_until","","Read until specified ending",228,N],[11,"readline","","Read bytes until new line delimiter",228,[[["self"]],["poll",["option","payloaderror"]]]],[11,"unprocessed","","Put unprocessed data back to the buffer",228,[[["self"],["bytes"]]]],[11,"remaining","","Get remaining data from the buffer",228,[[["self"]],["bytes"]]],[11,"new","","Create new resource with specified resource definition",229,[[["resourcedef"]],["self"]]],[11,"name","","Set resource name",229,[[["self"],["str"]]]],[11,"rdef","","Resource definition",229,[[["self"]],["resourcedef"]]],[11,"route","","Register a new route and return mutable reference to Route object. Route is used for route configuration, i.e. adding predicates, setting up handler.",229,[[["self"]],["route"]]],[11,"get","","Register a new `GET` route.",229,[[["self"]],["route"]]],[11,"post","","Register a new `POST` route.",229,[[["self"]],["route"]]],[11,"put","","Register a new `PUT` route.",229,[[["self"]],["route"]]],[11,"delete","","Register a new `DELETE` route.",229,[[["self"]],["route"]]],[11,"head","","Register a new `HEAD` route.",229,[[["self"]],["route"]]],[11,"method","","Register a new route and add method check to route.",229,[[["self"],["method"]],["route"]]],[11,"h","","Register a new route and add handler object.",229,[[["self"],["h"]]]],[11,"f","","Register a new route and add handler function.",229,[[["self"],["f"]]]],[11,"with","","Register a new route and add handler.",229,[[["self"],["f"]]]],[11,"with_async","","Register a new route and add async handler.",229,[[["self"],["f"]]]],[11,"middleware","","Register a resource middleware",229,[[["self"],["m"]]]],[11,"default","","",230,[[],["route"]]],[11,"filter","","Add match predicate to route.",230,[[["self"],["t"]],["self"]]],[11,"h","","Set handler object. Usually call to this method is last call during route configuration, so it does not return reference to self.",230,[[["self"],["h"]]]],[11,"f","","Set handler function. Usually call to this method is last call during route configuration, so it does not return reference to self.",230,[[["self"],["f"]]]],[11,"a","","Set async handler function.",230,[[["self"],["h"]]]],[11,"with","","Set handler function, use request extractor for parameters.",230,[[["self"],["f"]]]],[11,"with_config","","Set handler function. Same as `.with()` but it allows to configure extractor.",230,[[["self"],["f"],["c"]]]],[11,"with_async","","Set async handler function, use request extractor for parameters. Also this method needs to be used if your handler function returns `impl Future<>`",230,[[["self"],["f"]]]],[11,"with_async_config","","Set async handler function, use request extractor for parameters. This method allows to configure extractor.",230,[[["self"],["f"],["c"]]]],[11,"clone","","",231,[[["self"]],["resourceinfo"]]],[11,"name","","Name os the resource",231,[[["self"]],["str"]]],[11,"rdef","","This method returns reference to matched `ResourceDef` object.",231,[[["self"]],["option",["resourcedef"]]]],[11,"match_info","","Get a reference to the Params object.",231,[[["self"]],["params"]]],[11,"url_for","","Generate url for named resource",231,[[["self"],["request"],["str"],["u"]],["result",["url","urlgenerationerror"]]]],[11,"has_resource","","Check if application contains matching resource.",231,[[["self"],["str"]],["bool"]]],[11,"has_prefixed_resource","","Check if application contains matching resource.",231,[[["self"],["str"]],["bool"]]],[11,"default","","",232,[[],["self"]]],[11,"handle","","Handle request",232,[[["self"],["httprequest"]],["asyncresult",["httpresponse"]]]],[11,"recognize","","Query for matched resource",232,[[["self"],["request"],["s"],["usize"]],["resourceinfo"]]],[11,"fmt","","",136,[[["self"],["formatter"]],["result"]]],[11,"clone","","",136,[[["self"]],["resourcetype"]]],[11,"eq","","",136,[[["self"],["resourcetype"]],["bool"]]],[11,"clone","","",233,[[["self"]],["resourcedef"]]],[11,"fmt","","",233,[[["self"],["formatter"]],["result"]]],[11,"new","","Parse path pattern and create new `Resource` instance.",233,[[["str"]],["self"]]],[11,"prefix","","Parse path pattern and create new `Resource` instance.",233,[[["str"]],["self"]]],[11,"external","","Construct external resource",233,[[["str"]],["self"]]],[11,"with_prefix","","Parse path pattern and create new `Resource` instance with custom prefix",233,[[["str"],["str"],["bool"]],["self"]]],[11,"rtype","","Resource type",233,[[["self"]],["resourcetype"]]],[11,"name","","Resource name",233,[[["self"]],["str"]]],[11,"pattern","","Path pattern of the resource",233,[[["self"]],["str"]]],[11,"is_match","","Is this path a match against this resource?",233,[[["self"],["str"]],["bool"]]],[11,"match_with_params","","Are the given path and parameters a match against this resource?",233,[[["self"],["request"],["usize"]],["option",["params"]]]],[11,"match_prefix_with_params","","Is the given path a prefix match and do the parameters match against this resource?",233,[[["self"],["request"],["usize"]],["option",["params"]]]],[11,"resource_path","","Build resource path.",233,[[["self"],["u"],["str"]],["result",["string","urlgenerationerror"]]]],[11,"eq","","",233,[[["self"],["resourcedef"]],["bool"]]],[11,"hash","","",233,[[["self"],["h"]]]],[11,"as_str","actix_web::error","Returns a description of this error as a string",26,[[["self"]],["str"]]],[11,"error_response","actix_web::http::header","",173,[[["self"]],["httpresponse"]]],[11,"error_response","","",175,[[["self"]],["httpresponse"]]],[11,"host","actix_web::actix::actix::actors::resolver","",202,[[["t"]],["resolve"]]],[11,"host_and_port","","",202,[[["t"],["u16"]],["resolve"]]],[11,"host","","",201,[[["t"]],["connect"]]],[11,"host_and_port","","",201,[[["t"],["u16"]],["connect"]]],[11,"timeout","","Set connect timeout",201,[[["self"],["duration"]],["connect"]]],[11,"new","","",206,[[["resolverconfig"],["resolveropts"]],["resolver"]]],[11,"new","","",194,[[["vecdeque",["socketaddr"]]],["tcpconnector"]]],[11,"with_timeout","","",194,[[["vecdeque",["socketaddr"]],["duration"]],["tcpconnector"]]],[11,"split","actix_web::actix::actix::fut","Splits out the homogeneous type from an either of tuples.",114,N],[11,"new","","",212,[[["s"]],["finish"]]],[11,"new","actix_web::actix::actix::msgs","",234,[[["f"]],["startactor"]]],[11,"new","","",235,[[["f"]],["execute"]]],[11,"exec","","Execute enclosed function",235,[[["self"]],["result"]]],[11,"alive","actix_web::actix::actix","Indicates if actor is alive",118,[[["self"]],["bool"]]],[11,"stopping","","Indicates if actor is stopped of stopping",118,[[["self"]],["bool"]]],[11,"do_send","","Send message",204,[[["self"],["m"]],["result",["senderror"]]]],[11,"try_send","","Try send message",204,[[["self"],["m"]],["result",["senderror"]]]],[11,"send","","Send message and asynchronously wait for response.",204,[[["self"],["m"]],["recipientrequest"]]],[11,"new","","Create new system.",209,[[["t"]],["systemrunner"]]],[11,"current","","Get current running system.",209,[[],["system"]]],[11,"with_current","","Execute function with system reference.",209,[[["f"]],["r"]]],[11,"stop","","Stop the system",209,N],[11,"arbiter","","System arbiter",209,[[["self"]],["addr"]]],[11,"registry","","Get current system registry.",209,[[["self"]],["systemregistry"]]],[11,"run","","This function will start tokio runtime and will finish once the `System::stop()` message get called. Function `f` get called within tokio runtime context.",209,[[["f"]],["i32"]]],[11,"new","actix_web::actix::actix::io","",236,[[["t"],["c"]],["writer"]]],[11,"close","","Gracefully close sink",236,N],[11,"closed","","Check if sink is closed",236,[[["self"]],["bool"]]],[11,"set_buffer_capacity","","Set write buffer capacity",236,N],[11,"write","","Send item to a sink.",236,N],[11,"handle","","`SpawnHandle` for this writer",236,[[["self"]],["spawnhandle"]]],[11,"new","","",237,[[["t"],["u"],["c"]],["framedwrite"]]],[11,"from_buffer","","",237,[[["t"],["u"],["bytesmut"],["c"]],["framedwrite"]]],[11,"close","","Gracefully close sink",237,N],[11,"closed","","Check if sink is closed",237,[[["self"]],["bool"]]],[11,"set_buffer_capacity","","Set write buffer capacity",237,N],[11,"write","","Write item",237,N],[11,"handle","","`SpawnHandle` for this writer",237,[[["self"]],["spawnhandle"]]],[11,"wait","actix_web::actix::actix","",213,[[["self"]],["receiver"]]],[11,"set","","",213,N],[11,"next","","Get next handle",203,[[["self"]],["spawnhandle"]]],[11,"new","","",215,[[["option",["receiver"]],["option"]],["recipientrequest"]]],[11,"timeout","","Set message delivery timeout",215,[[["self"],["duration"]],["recipientrequest"]]],[11,"into_inner","","",126,[[["self"]],["t"]]],[11,"with_receiver","","",187,[[["addressreceiver"]],["context"]]],[11,"run","","",187,[[["self"],["a"]],["addr"]]],[11,"into_future","","",187,[[["self"],["a"]],["contextfut",["context"]]]],[11,"handle","","Handle of the running future",187,[[["self"]],["spawnhandle"]]],[11,"set_mailbox_capacity","","Set mailbox capacity",187,N],[11,"reply","","Create response",217,[[["result"]],["actorresponse"]]],[11,"async","","Create async response",217,[[["t"]],["actorresponse"]]],[11,"start","","Start new supervised actor in current tokio runtime.",238,[[["f"]],["addr"]]],[11,"start_in_arbiter","","Start new supervised actor in arbiter's thread.",238,[[["addr"],["f"]],["addr"]]],[11,"timeout","","Set message delivery timeout",216,[[["self"],["duration"]],["request"]]],[11,"async","","Create async response",218,[[["t"]],["response"]]],[11,"reply","","Create response",218,[[["result"]],["response"]]],[11,"start","","Start new sync arbiter with specified number of worker threads. Returns address of the started actor.",239,[[["usize"],["f"]],["addr"]]],[11,"builder","","Spawn new thread and run event loop in spawned thread. Returns address of newly created arbiter. Does not stop the system on panic.",205,[[],["builder"]]],[11,"new","","Spawn new thread and run event loop in spawned thread. Returns address of newly created arbiter. Does not stop the system on panic.",205,[[["t"]],["addr",["arbiter"]]]],[11,"name","","Returns current arbiter's name",205,[[],["string"]]],[11,"current","","Returns current arbiter's address",205,[[],["addr",["arbiter"]]]],[11,"registry","","This function returns arbiter's registry,",205,[[],["registry"]]],[11,"spawn","","Executes a future on the current thread.",205,N],[11,"spawn_fn","","Executes a future on the current thread.",205,N],[11,"start","","Start new arbiter and then start actor in created arbiter. Returns `Addr<Syn, A>` of created actor.",205,[[["f"]],["addr"]]],[11,"new","","",200,[[["addresssender"]],["addr"]]],[11,"connected","","Indicates if actor is still alive",200,[[["self"]],["bool"]]],[11,"do_send","","Send message unconditionally",200,N],[11,"try_send","","Try send message",200,[[["self"],["m"]],["result",["senderror"]]]],[11,"send","","Send asynchronous message and wait for response.",200,[[["self"],["m"]],["request"]]],[11,"recipient","","Get `Recipient` for specific message type",200,[[["self"]],["recipient"]]],[11,"get","actix_web::actix::actix::dev","Return address of the service. If service actor is not running it get started in the system.",211,[[["self"]],["addr"]]],[11,"set","","Add new actor to the registry by address, panic if actor is already running",211,N],[11,"new","","",240,[[["m"],["option",["sender"]]],["envelope"]]],[11,"with_proxy","","",240,[[["box",["envelopeproxy"]]],["envelope"]]],[11,"new","","Create new ContextParts instance",241,[[["addresssenderproducer"]],["contextparts"]]],[11,"stop","","Initiate stop process for actor execution",241,N],[11,"terminate","","Terminate actor execution",241,N],[11,"state","","Actor execution state",241,[[["self"]],["actorstate"]]],[11,"waiting","","Is context waiting for future completion",241,[[["self"]],["bool"]]],[11,"curr_handle","","Handle of the running future",241,[[["self"]],["spawnhandle"]]],[11,"spawn","","Spawn new future to this context.",241,[[["self"],["f"]],["spawnhandle"]]],[11,"wait","","Spawn new future to this context and wait future completion.",241,N],[11,"cancel_future","","Cancel previously scheduled future.",241,[[["self"],["spawnhandle"]],["bool"]]],[11,"capacity","","",241,[[["self"]],["usize"]]],[11,"set_mailbox_capacity","","",241,N],[11,"address","","",241,[[["self"]],["addr"]]],[11,"started","","",241,[[["self"]],["bool"]]],[11,"get","","Query registry for specific actor. Returns address of the actor. If actor is not registered, starts new actor and return address of newly created actor.",210,[[["self"]],["addr"]]],[11,"set","","Add new actor to the registry by address, panic if actor is already running",210,N],[11,"new","","",242,[[["c"],["a"],["mailbox"]],["contextfut"]]],[11,"ctx","","",242,[[["self"]],["c"]]],[11,"address","","",242,[[["self"]],["addr"]]],[11,"alive","","",242,[[["self"]],["bool"]]],[11,"new","","",214,[[["addressreceiver"]],["mailbox"]]],[11,"capacity","","",214,[[["self"]],["usize"]]],[11,"set_capacity","","",214,N],[11,"connected","","",214,[[["self"]],["bool"]]],[11,"address","","",214,[[["self"]],["addr"]]],[11,"sender_producer","","",214,[[["self"]],["addresssenderproducer"]]],[11,"poll","","",214,N],[18,"GET","actix_web::http","GET",160,N],[18,"POST","","POST",160,N],[18,"PUT","","PUT",160,N],[18,"DELETE","","DELETE",160,N],[18,"HEAD","","HEAD",160,N],[18,"OPTIONS","","OPTIONS",160,N],[18,"CONNECT","","CONNECT",160,N],[18,"PATCH","","PATCH",160,N],[18,"TRACE","","TRACE",160,N],[11,"from_bytes","","Converts a slice of bytes to an HTTP method.",160,N],[11,"is_safe","","Whether a method is considered \"safe\", meaning the request is essentially read-only.",160,[[["self"]],["bool"]]],[11,"is_idempotent","","Whether a method is considered \"idempotent\", meaning the request has the same result if executed multiple times.",160,[[["self"]],["bool"]]],[11,"as_str","","Return a &str representation of the HTTP method",160,[[["self"]],["str"]]],[11,"from_u16","","Converts a u16 to a status code.",159,[[["u16"]],["result",["statuscode","invalidstatuscode"]]]],[11,"from_bytes","","Converts a &[u8] to a status code",159,N],[11,"as_u16","","Returns the `u16` corresponding to this `StatusCode`.",159,[[["self"]],["u16"]]],[11,"as_str","","Returns a &str representation of the `StatusCode`",159,[[["self"]],["str"]]],[11,"canonical_reason","","Get the standardised `reason-phrase` for this status code.",159,[[["self"]],["option",["str"]]]],[11,"is_informational","","Check if status is within 100-199.",159,[[["self"]],["bool"]]],[11,"is_success","","Check if status is within 200-299.",159,[[["self"]],["bool"]]],[11,"is_redirection","","Check if status is within 300-399.",159,[[["self"]],["bool"]]],[11,"is_client_error","","Check if status is within 400-499.",159,[[["self"]],["bool"]]],[11,"is_server_error","","Check if status is within 500-599.",159,[[["self"]],["bool"]]],[18,"CONTINUE","","100 Continue [RFC7231, Section 6.2.1]",159,N],[18,"SWITCHING_PROTOCOLS","","101 Switching Protocols [RFC7231, Section 6.2.2]",159,N],[18,"PROCESSING","","102 Processing [RFC2518]",159,N],[18,"OK","","200 OK [RFC7231, Section 6.3.1]",159,N],[18,"CREATED","","201 Created [RFC7231, Section 6.3.2]",159,N],[18,"ACCEPTED","","202 Accepted [RFC7231, Section 6.3.3]",159,N],[18,"NON_AUTHORITATIVE_INFORMATION","","203 Non-Authoritative Information [RFC7231, Section 6.3.4]",159,N],[18,"NO_CONTENT","","204 No Content [RFC7231, Section 6.3.5]",159,N],[18,"RESET_CONTENT","","205 Reset Content [RFC7231, Section 6.3.6]",159,N],[18,"PARTIAL_CONTENT","","206 Partial Content [RFC7233, Section 4.1]",159,N],[18,"MULTI_STATUS","","207 Multi-Status [RFC4918]",159,N],[18,"ALREADY_REPORTED","","208 Already Reported [RFC5842]",159,N],[18,"IM_USED","","226 IM Used [RFC3229]",159,N],[18,"MULTIPLE_CHOICES","","300 Multiple Choices [RFC7231, Section 6.4.1]",159,N],[18,"MOVED_PERMANENTLY","","301 Moved Permanently [RFC7231, Section 6.4.2]",159,N],[18,"FOUND","","302 Found [RFC7231, Section 6.4.3]",159,N],[18,"SEE_OTHER","","303 See Other [RFC7231, Section 6.4.4]",159,N],[18,"NOT_MODIFIED","","304 Not Modified [RFC7232, Section 4.1]",159,N],[18,"USE_PROXY","","305 Use Proxy [RFC7231, Section 6.4.5]",159,N],[18,"TEMPORARY_REDIRECT","","307 Temporary Redirect [RFC7231, Section 6.4.7]",159,N],[18,"PERMANENT_REDIRECT","","308 Permanent Redirect [RFC7238]",159,N],[18,"BAD_REQUEST","","400 Bad Request [RFC7231, Section 6.5.1]",159,N],[18,"UNAUTHORIZED","","401 Unauthorized [RFC7235, Section 3.1]",159,N],[18,"PAYMENT_REQUIRED","","402 Payment Required [RFC7231, Section 6.5.2]",159,N],[18,"FORBIDDEN","","403 Forbidden [RFC7231, Section 6.5.3]",159,N],[18,"NOT_FOUND","","404 Not Found [RFC7231, Section 6.5.4]",159,N],[18,"METHOD_NOT_ALLOWED","","405 Method Not Allowed [RFC7231, Section 6.5.5]",159,N],[18,"NOT_ACCEPTABLE","","406 Not Acceptable [RFC7231, Section 6.5.6]",159,N],[18,"PROXY_AUTHENTICATION_REQUIRED","","407 Proxy Authentication Required [RFC7235, Section 3.2]",159,N],[18,"REQUEST_TIMEOUT","","408 Request Timeout [RFC7231, Section 6.5.7]",159,N],[18,"CONFLICT","","409 Conflict [RFC7231, Section 6.5.8]",159,N],[18,"GONE","","410 Gone [RFC7231, Section 6.5.9]",159,N],[18,"LENGTH_REQUIRED","","411 Length Required [RFC7231, Section 6.5.10]",159,N],[18,"PRECONDITION_FAILED","","412 Precondition Failed [RFC7232, Section 4.2]",159,N],[18,"PAYLOAD_TOO_LARGE","","413 Payload Too Large [RFC7231, Section 6.5.11]",159,N],[18,"URI_TOO_LONG","","414 URI Too Long [RFC7231, Section 6.5.12]",159,N],[18,"UNSUPPORTED_MEDIA_TYPE","","415 Unsupported Media Type [RFC7231, Section 6.5.13]",159,N],[18,"RANGE_NOT_SATISFIABLE","","416 Range Not Satisfiable [RFC7233, Section 4.4]",159,N],[18,"EXPECTATION_FAILED","","417 Expectation Failed [RFC7231, Section 6.5.14]",159,N],[18,"IM_A_TEAPOT","","418 I'm a teapot [curiously not registered by IANA but RFC2324]",159,N],[18,"MISDIRECTED_REQUEST","","421 Misdirected Request RFC7540, Section 9.1.2",159,N],[18,"UNPROCESSABLE_ENTITY","","422 Unprocessable Entity [RFC4918]",159,N],[18,"LOCKED","","423 Locked [RFC4918]",159,N],[18,"FAILED_DEPENDENCY","","424 Failed Dependency [RFC4918]",159,N],[18,"UPGRADE_REQUIRED","","426 Upgrade Required [RFC7231, Section 6.5.15]",159,N],[18,"PRECONDITION_REQUIRED","","428 Precondition Required [RFC6585]",159,N],[18,"TOO_MANY_REQUESTS","","429 Too Many Requests [RFC6585]",159,N],[18,"REQUEST_HEADER_FIELDS_TOO_LARGE","","431 Request Header Fields Too Large [RFC6585]",159,N],[18,"UNAVAILABLE_FOR_LEGAL_REASONS","","451 Unavailable For Legal Reasons [RFC7725]",159,N],[18,"INTERNAL_SERVER_ERROR","","500 Internal Server Error [RFC7231, Section 6.6.1]",159,N],[18,"NOT_IMPLEMENTED","","501 Not Implemented [RFC7231, Section 6.6.2]",159,N],[18,"BAD_GATEWAY","","502 Bad Gateway [RFC7231, Section 6.6.3]",159,N],[18,"SERVICE_UNAVAILABLE","","503 Service Unavailable [RFC7231, Section 6.6.4]",159,N],[18,"GATEWAY_TIMEOUT","","504 Gateway Timeout [RFC7231, Section 6.6.5]",159,N],[18,"HTTP_VERSION_NOT_SUPPORTED","","505 HTTP Version Not Supported [RFC7231, Section 6.6.6]",159,N],[18,"VARIANT_ALSO_NEGOTIATES","","506 Variant Also Negotiates [RFC2295]",159,N],[18,"INSUFFICIENT_STORAGE","","507 Insufficient Storage [RFC4918]",159,N],[18,"LOOP_DETECTED","","508 Loop Detected [RFC5842]",159,N],[18,"NOT_EXTENDED","","510 Not Extended [RFC2774]",159,N],[18,"NETWORK_AUTHENTICATION_REQUIRED","","511 Network Authentication Required [RFC6585]",159,N],[18,"HTTP_09","","`HTTP/0.9`",162,N],[18,"HTTP_10","","`HTTP/1.0`",162,N],[18,"HTTP_11","","`HTTP/1.1`",162,N],[18,"HTTP_2","","`HTTP/2.0`",162,N],[11,"new","","Creates a new `Cookie` with the given name and value.",157,[[["n"],["v"]],["cookie"]]],[11,"named","","Creates a new `Cookie` with the given name and an empty value.",157,[[["n"]],["cookie"]]],[11,"build","","Creates a new `CookieBuilder` instance from the given key and value strings.",157,[[["n"],["v"]],["cookiebuilder"]]],[11,"parse","","Parses a `Cookie` from the given HTTP cookie header value string. Does not perform any percent-decoding.",157,[[["s"]],["result",["cookie","parseerror"]]]],[11,"parse_encoded","","Parses a `Cookie` from the given HTTP cookie header value string where the name and value fields are percent-encoded. Percent-decodes the name/value fields.",157,[[["s"]],["result",["cookie","parseerror"]]]],[11,"encoded","","Wraps `self` in an `EncodedCookie`: a cost-free wrapper around `Cookie` whose `Display` implementation percent-encodes the name and value of the wrapped `Cookie`.",157,[[["self"]],["encodedcookie"]]],[11,"into_owned","","Converts `self` into a `Cookie` with a static lifetime. This method results in at most one allocation.",157,[[["self"]],["cookie"]]],[11,"name","","Returns the name of `self`.",157,[[["self"]],["str"]]],[11,"value","","Returns the value of `self`.",157,[[["self"]],["str"]]],[11,"name_value","","Returns the name and value of `self` as a tuple of `(name, value)`.",157,N],[11,"http_only","","Returns whether this cookie was marked `HttpOnly` or not. Returns `Some(true)` when the cookie was explicitly set (manually or parsed) as `HttpOnly`, `Some(false)` when `http_only` was manually set to `false`, and `None` otherwise.",157,[[["self"]],["option",["bool"]]]],[11,"secure","","Returns whether this cookie was marked `Secure` or not. Returns `Some(true)` when the cookie was explicitly set (manually or parsed) as `Secure`, `Some(false)` when `secure` was manually set to `false`, and `None` otherwise.",157,[[["self"]],["option",["bool"]]]],[11,"same_site","","Returns the `SameSite` attribute of this cookie if one was specified.",157,[[["self"]],["option",["samesite"]]]],[11,"max_age","","Returns the specified max-age of the cookie if one was specified.",157,[[["self"]],["option",["duration"]]]],[11,"path","","Returns the `Path` of the cookie if one was specified.",157,[[["self"]],["option",["str"]]]],[11,"domain","","Returns the `Domain` of the cookie if one was specified.",157,[[["self"]],["option",["str"]]]],[11,"expires","","Returns the `Expires` time of the cookie if one was specified.",157,[[["self"]],["option",["tm"]]]],[11,"set_name","","Sets the name of `self` to `name`.",157,N],[11,"set_value","","Sets the value of `self` to `value`.",157,N],[11,"set_http_only","","Sets the value of `http_only` in `self` to `value`.",157,N],[11,"set_secure","","Sets the value of `secure` in `self` to `value`.",157,N],[11,"set_same_site","","Sets the value of `same_site` in `self` to `value`.",157,N],[11,"set_max_age","","Sets the value of `max_age` in `self` to `value`.",157,N],[11,"set_path","","Sets the `path` of `self` to `path`.",157,N],[11,"set_domain","","Sets the `domain` of `self` to `domain`.",157,N],[11,"set_expires","","Sets the expires field of `self` to `time`.",157,N],[11,"make_permanent","","Makes `self` a \"permanent\" cookie by extending its expiration and max age 20 years into the future.",157,N],[11,"name_raw","","Returns the name of `self` as a string slice of the raw string `self` was originally parsed from. If `self` was not originally parsed from a raw string, returns `None`.",157,[[["self"]],["option",["str"]]]],[11,"value_raw","","Returns the value of `self` as a string slice of the raw string `self` was originally parsed from. If `self` was not originally parsed from a raw string, returns `None`.",157,[[["self"]],["option",["str"]]]],[11,"path_raw","","Returns the `Path` of `self` as a string slice of the raw string `self` was originally parsed from. If `self` was not originally parsed from a raw string, or if `self` doesn't contain a `Path`, or if the `Path` has changed since parsing, returns `None`.",157,[[["self"]],["option",["str"]]]],[11,"domain_raw","","Returns the `Domain` of `self` as a string slice of the raw string `self` was originally parsed from. If `self` was not originally parsed from a raw string, or if `self` doesn't contain a `Domain`, or if the `Domain` has changed since parsing, returns `None`.",157,[[["self"]],["option",["str"]]]],[11,"new","","Creates a new `CookieBuilder` instance from the given name and value.",158,[[["n"],["v"]],["cookiebuilder"]]],[11,"expires","","Sets the `expires` field in the cookie being built.",158,[[["self"],["tm"]],["cookiebuilder"]]],[11,"max_age","","Sets the `max_age` field in the cookie being built.",158,[[["self"],["duration"]],["cookiebuilder"]]],[11,"domain","","Sets the `domain` field in the cookie being built.",158,[[["self"],["d"]],["cookiebuilder"]]],[11,"path","","Sets the `path` field in the cookie being built.",158,[[["self"],["p"]],["cookiebuilder"]]],[11,"secure","","Sets the `secure` field in the cookie being built.",158,[[["self"],["bool"]],["cookiebuilder"]]],[11,"http_only","","Sets the `http_only` field in the cookie being built.",158,[[["self"],["bool"]],["cookiebuilder"]]],[11,"same_site","","Sets the `same_site` field in the cookie being built.",158,[[["self"],["samesite"]],["cookiebuilder"]]],[11,"permanent","","Makes the cookie being built 'permanent' by extending its expiration and max age 20 years into the future.",158,[[["self"]],["cookiebuilder"]]],[11,"finish","","Finishes building and returns the built `Cookie`.",158,[[["self"]],["cookie"]]]],"paths":[[3,"Form"],[3,"Json"],[4,"Binary"],[4,"Body"],[4,"Either"],[3,"App"],[3,"HttpContext"],[3,"Extensions"],[3,"Path"],[3,"Query"],[3,"HttpResponse"],[3,"State"],[3,"HttpRequest"],[3,"Scope"],[3,"ClientConnectorStats"],[4,"ClientConnectorError"],[4,"SendRequestError"],[3,"Connect"],[3,"Pause"],[3,"ClientConnector"],[3,"Connection"],[3,"SendRequest"],[3,"ClientRequest"],[3,"ClientRequestBuilder"],[3,"ClientResponse"],[4,"UrlParseError"],[4,"CookieParseError"],[4,"ParseError"],[4,"PayloadError"],[4,"MultipartError"],[4,"ExpectError"],[4,"ContentTypeError"],[4,"UrlencodedError"],[4,"JsonPayloadError"],[4,"ReadlinesError"],[4,"UriSegmentError"],[4,"UrlGenerationError"],[4,"StaticFileError"],[8,"ResponseError"],[3,"Error"],[3,"InternalError"],[3,"Directory"],[8,"StaticFileConfig"],[3,"DefaultConfig"],[3,"NamedFile"],[3,"ChunkedReadFile"],[3,"StaticFiles"],[4,"Started"],[4,"Response"],[4,"Finished"],[3,"Logger"],[4,"CorsError"],[4,"AllOrSome"],[3,"Cors"],[3,"CorsBuilder"],[4,"CsrfError"],[3,"CsrfFilter"],[3,"DefaultHeaders"],[3,"ErrorHandlers"],[8,"RequestIdentity"],[8,"Identity"],[8,"IdentityPolicy"],[3,"IdentityService"],[3,"CookieIdentityPolicy"],[4,"CookieSessionError"],[8,"RequestSession"],[3,"Session"],[3,"SessionStorage"],[3,"CookieSessionBackend"],[8,"Middleware"],[4,"MultipartItem"],[3,"Multipart"],[3,"Field"],[8,"Predicate"],[3,"AnyPredicate"],[3,"AllPredicate"],[3,"StopServer"],[4,"KeepAlive"],[3,"Request"],[3,"ServerSettings"],[3,"HttpServer"],[8,"HttpHandler"],[8,"HttpHandlerTask"],[8,"IntoHttpHandler"],[3,"TestServer"],[3,"TestServerBuilder"],[3,"TestApp"],[3,"TestRequest"],[3,"CloseReason"],[4,"ClientError"],[4,"CloseCode"],[4,"OpCode"],[4,"ProtocolError"],[4,"HandshakeError"],[4,"Message"],[3,"Client"],[3,"ClientHandshake"],[3,"ClientReader"],[3,"ClientWriter"],[3,"WebsocketContext"],[3,"Frame"],[3,"FramedMessage"],[8,"WsWriter"],[3,"WsStream"],[3,"ConnectAddr"],[4,"ResolverError"],[4,"SignalType"],[3,"Signal"],[3,"Subscribe"],[8,"ActorFuture"],[8,"ActorStream"],[8,"IntoActorFuture"],[8,"WrapFuture"],[8,"WrapStream"],[4,"Either"],[3,"StopArbiter"],[8,"StreamHandler"],[3,"MessageResult"],[4,"ActorState"],[8,"Actor"],[8,"ContextFutureSpawner"],[4,"Running"],[8,"Supervised"],[8,"Handler"],[8,"WriteHandler"],[8,"SystemService"],[4,"SendError"],[8,"AsyncContext"],[8,"ArbiterService"],[8,"Message"],[8,"ActorContext"],[4,"MailboxError"],[8,"AsyncContextParts"],[8,"ResponseChannel"],[8,"ToEnvelope"],[8,"MessageResponse"],[4,"ResourceType"],[8,"Handler"],[8,"FromParam"],[4,"ContentEncoding"],[4,"ConnectionType"],[4,"Entry"],[3,"LanguageTag"],[3,"ExtendedValue"],[3,"ContentDisposition"],[4,"DispositionType"],[4,"DispositionParam"],[4,"Charset"],[8,"AsyncResponder"],[8,"FromRequest"],[8,"Responder"],[8,"HttpMessage"],[3,"Drain"],[3,"FormConfig"],[3,"PayloadConfig"],[3,"AsyncResult"],[3,"HeaderName"],[3,"Cookie"],[3,"CookieBuilder"],[3,"StatusCode"],[3,"Method"],[3,"HeaderMap"],[3,"Version"],[3,"HeaderValue"],[3,"GetAll"],[3,"ValueDrain"],[3,"Drain"],[3,"IntoIter"],[3,"ValueIter"],[3,"Keys"],[3,"Iter"],[3,"ValueIterMut"],[3,"Values"],[3,"InvalidHeaderValue"],[3,"InvalidHeaderName"],[3,"InvalidHeaderValueBytes"],[3,"InvalidHeaderNameBytes"],[3,"ToStrError"],[3,"OccupiedEntry"],[3,"VacantEntry"],[3,"StreamMapErr"],[3,"StreamWrap"],[3,"StreamThen"],[3,"StreamTimeout"],[3,"StreamMap"],[3,"StreamAndThen"],[3,"SyncContext"],[3,"Context"],[3,"MapErr"],[3,"FromErr"],[3,"StreamFinish"],[3,"Timeout"],[3,"Map"],[3,"StreamFold"],[3,"TcpConnector"],[3,"Then"],[3,"DropErr"],[3,"FutureWrap"],[3,"FutureResult"],[3,"AndThen"],[3,"Addr"],[3,"Connect"],[3,"Resolve"],[3,"SpawnHandle"],[3,"Recipient"],[3,"Arbiter"],[3,"Resolver"],[3,"DefaultSignalsHandler"],[3,"ProcessSignals"],[3,"System"],[3,"Registry"],[3,"SystemRegistry"],[3,"Finish"],[3,"Condition"],[3,"Mailbox"],[3,"RecipientRequest"],[3,"Request"],[3,"ActorResponse"],[3,"Response"],[3,"NormalizePath"],[3,"MessageBody"],[3,"UrlEncoded"],[3,"HttpResponseBuilder"],[3,"ConnectionInfo"],[3,"JsonConfig"],[3,"JsonBody"],[3,"Params"],[3,"Payload"],[3,"PayloadBuffer"],[3,"Resource"],[3,"Route"],[3,"ResourceInfo"],[3,"Router"],[3,"ResourceDef"],[3,"StartActor"],[3,"Execute"],[3,"Writer"],[3,"FramedWrite"],[3,"Supervisor"],[3,"SyncArbiter"],[3,"Envelope"],[3,"ContextParts"],[3,"ContextFut"]]};
|
||
initSearch(searchIndex);
|