diff --git a/search-index.js b/search-index.js
index aeb57dbd..8b8c7996 100644
--- a/search-index.js
+++ b/search-index.js
@@ -1,5 +1,5 @@
var searchIndex = new Map(JSON.parse('[\
-["tide_disco",{"doc":"Tide Disco is a web server framework with built-in …","t":"EEIIPPPPPFGEPGPIPPPEEEEEESSFPEPPPPFGOPCOPCHOOPNNNNNNNOPNNNNNNNNNNNNNHNNNNNNNNNNHHHNNNPNNNNNNCNNNNNNNNNNNNNNNNNNNNHNNNNNNOOCHNNENNNNHNNNNNNNNNNNNNNNQCHNCCNNHNNNNNNNNNNNNNCOONNNNNNNNNNNNCNCCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHPFGFPFPPPPPPPPPPONNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNONNNNNNNOOOOOONNNNNNONOOOONNONNNNONNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOPFGFFPKRFKMONNMNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNOONNNNNNNOMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOKFNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNMNONNNNNNPKGPPPPPNNNNNNNNNNNNNNNMNNNNNNFNNNNNNNNNNNNNNNNNNPGPFKPRKNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNMRKMPPPPPPPPPPPPPPPGFGGFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOPPPFPPPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFPPPPPPPPPPPPPGPPPPPPPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNHHHNNNN","n":["Api","App","AppServerState","AppState","Array","Available","Boolean","Boolean","Datetime","DiscoArgs","DiscoKey","Error","Float","HealthStatus","Hexadecimal","Html","Integer","Integer","Literal","Method","RequestError","RequestParam","RequestParamType","RequestParamValue","RequestParams","SERVER_STARTUP_RETRIES","SERVER_STARTUP_SLEEP_MS","ServerState","Starting","StatusCode","Stopping","String","Table","TaggedBase64","Url","UrlSegment","ansi_color","ansi_color","api","api_toml","api_toml","app","app_api_path","app_state","app_state","app_toml","as_ref","as_ref","as_ref","as_str","augment_args","augment_args_for_update","authority","base_url","base_url","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cannot_be_a_base","check_api","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","compare","compose_config_path","compose_settings","configure_router","deserialize","deserialize","deserialize_internal","disco_toml","domain","eq","equivalent","equivalent","equivalent","equivalent","error","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fragment","from","from","from","from","from","from","from_arg_matches","from_arg_matches_mut","from_directory_path","from_file_path","from_str","from_str","get_api_path","group_id","has_authority","has_host","hash","header","header","health_status","health_status","healthcheck","healthcheck","host","host_str","http","index","index","index","index","init_logging","into","into","into","into","into","into","into_client_request","into_client_request","into_client_request","into_client_request","into_resettable","into_string","is_bound","is_special","join","join","listener","load_api","make_relative","method","metrics","new","options","org_data_path","origin","parse","parse_with_params","partial_cmp","password","path","path_segments","path_segments_mut","port","port_or_known_default","query","query_pairs","query_pairs_mut","request","router","router","scheme","serialize","serialize_internal","set_fragment","set_host","set_ip_host","set_password","set_path","set_port","set_query","set_scheme","set_username","socket","socket_addrs","status","testing","to_file_path","to_listener","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","username","vzip","vzip","vzip","vzip","vzip","vzip","wait_for_server","AmbiguousRoutes","Api","ApiError","ApiMetadata","ApiMustBeTable","ApiVersion","CannotReadToml","HandlerAlreadyRegistered","IncorrectMethod","InvalidFormatVersion","InvalidMetaTable","MissingFormatVersion","MissingRoutesTable","Route","RoutesMustBeTable","UndefinedRoute","api_version","as_error_source","at","backtrace","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone","clone_into","clone_into","clone_into","default","delete","description","description","deserialize","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","format_version","from","from","from","from","from_file","get","header","heading_description","heading_entry","heading_parameters","heading_routes","html_bottom","html_top","in_current_span","into","into","into","into","metrics","name","new","parameter_none","parameter_row","parameter_table_close","parameter_table_open","post","put","route_path","serialize","serialize","socket","source","spec_version","stream","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","with_health_check","with_public","with_version","actual","expected","reason","route1","route2","source","source","Api","App","AppError","AppHealth","AppVersion","Dispatch","Listener","Listener","Module","ToListener","accept","app_version","as_error_source","backtrace","bind","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone","clone_into","clone_into","clone_into","deref","deref_mut","description","deserialize","deserialize","disco_version","drop","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","header","health","in_current_span","info","into","into","into","into","into","module","module_health","modules","modules","register","register_module","serialize","serialize","serve","source","status","status","to_listener","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","version","vzip","vzip","vzip","vzip","vzip","with_state","with_version","source","source","Error","ServerError","as_error_source","backtrace","borrow","borrow_mut","catch_all","catch_all","cause","clone","clone_into","description","deserialize","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from","from","from_config_error","from_io_error","from_request_error","from_route_error","from_server_error","from_socket_error","header","in_current_span","into","into_tide_error","message","serialize","source","status","status","status","to_owned","to_string","try_from","try_into","type_id","vzip","Available","HealthCheck","HealthStatus","Initializing","ShuttingDown","TemporarilyUnavailable","Unavailabale","Unhealthy","borrow","borrow_mut","clone","clone_into","default","deserialize","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","into","serialize","status","status","to_owned","try_from","try_into","type_id","vzip","RateLimitListener","accept","bind","borrow","borrow_mut","fmt","fmt","from","header","info","into","new","to_listener","to_string","try_from","try_into","type_id","vzip","with_port","Http","Method","Metrics","ParseMethodError","ReadState","Socket","State","WriteState","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","delete","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from_str","get","header","into","into","is_http","is_mutable","metrics","post","put","read","socket","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","write","Error","Metrics","export","Binary","Boolean","Boolean","Hexadecimal","Hexadecimal","Http","IncorrectParamType","Integer","Integer","IntegerOverflow","InvalidParam","Json","Literal","Literal","MissingParam","RequestError","RequestParam","RequestParamType","RequestParamValue","RequestParams","TagMismatch","TaggedBase64","TaggedBase64","TaggedBase64","UnsupportedContentType","accept","as_blob","as_boolean","as_error_source","as_integer","as_string","as_tagged_base64","backtrace","blob_param","body_auto","body_bytes","body_json","boolean_param","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","description","deserialize","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from_str","header","header","headers","in_current_span","integer_param","into","into","into","into","into","method","name","new","opt_blob_param","opt_boolean_param","opt_integer_param","opt_param","opt_string_param","opt_tagged_base64_param","param","param_type","param_type","parse","remote","serialize","serialize","source","string_param","tagged_base64_param","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","actual","actual","expected","expected","expected","name","param_type","reason","reason","reason","value","AppSpecific","Binary","Closed","Connection","IncorrectMethod","Json","Request","SocketError","UnsupportedMessageType","WebSockets","borrow","borrow","borrow_mut","borrow_mut","code","drop","fmt","fmt","from","from","from","from","from","from","header","into","into","into_stream","map_app_specific","poll_close","poll_flush","poll_next","poll_ready","start_send","status","to_string","try_from","try_from","try_into","try_into","try_poll_next","type_id","type_id","vzip","vzip","actual","expected","Accepted","BadGateway","BadRequest","Conflict","Continue","Created","EarlyHints","ExpectationFailed","FailedDependency","Forbidden","Found","GatewayTimeout","Gone","HttpVersionNotSupported","ImATeapot","ImUsed","InsufficientStorage","InternalServerError","LengthRequired","Locked","LoopDetected","MethodNotAllowed","MisdirectedRequest","MovedPermanently","MultiStatus","MultipleChoice","NetworkAuthenticationRequired","NoContent","NonAuthoritativeInformation","NotAcceptable","NotExtended","NotFound","NotImplemented","NotModified","Ok","OutOfRangeError","PartialContent","PayloadTooLarge","PaymentRequired","PermanentRedirect","PreconditionFailed","PreconditionRequired","ProxyAuthenticationRequired","RequestHeaderFieldsTooLarge","RequestTimeout","RequestedRangeNotSatisfiable","ResetContent","SeeOther","ServiceUnavailable","StatusCode","SwitchingProtocols","TemporaryRedirect","TooEarly","TooManyRequests","Unauthorized","UnavailableForLegalReasons","UnprocessableEntity","UnsupportedMediaType","UpgradeRequired","UriTooLong","VariantAlsoNegotiates","as_error_source","backtrace","borrow","borrow","borrow_mut","borrow_mut","canonical_reason","cause","clone","clone","clone_into","clone_into","description","deserialize","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from_i64","from_u64","hash","header","header","in_current_span","into","into","is_client_error","is_informational","is_redirection","is_server_error","is_success","serialize","source","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Client","borrow","borrow_mut","from","get","into","new","post","request","setup_test","test_ws_client","test_ws_client_with_headers","try_from","try_into","type_id","vzip"],"q":[[0,"tide_disco"],[226,"tide_disco::api"],[340,"tide_disco::api::ApiError"],[347,"tide_disco::app"],[462,"tide_disco::app::AppError"],[464,"tide_disco::error"],[511,"tide_disco::healthcheck"],[541,"tide_disco::listener"],[560,"tide_disco::method"],[608,"tide_disco::metrics"],[611,"tide_disco::request"],[753,"tide_disco::request::RequestError"],[764,"tide_disco::socket"],[809,"tide_disco::socket::SocketError"],[811,"tide_disco::status"],[929,"tide_disco::testing"],[945,"std::path"],[946,"clap_builder::builder::command"],[947,"toml::value"],[948,"core::clone"],[949,"core::cmp"],[950,"config::config"],[951,"config::error"],[952,"core::result"],[953,"routefinder::router"],[954,"alloc::sync"],[955,"serde::de"],[956,"core::option"],[957,"core::fmt"],[958,"core::fmt"],[959,"clap_builder"],[960,"std::path"],[961,"url::parser"],[962,"clap_builder::util::id"],[963,"core::hash"],[964,"color_eyre::section"],[965,"core::fmt"],[966,"core::marker"],[967,"tide::response"],[968,"http_types::error"],[969,"url::host"],[970,"url::slicing"],[971,"core::ops::range"],[972,"core::ops::range"],[973,"tungstenite::error"],[974,"http::request"],[975,"clap_builder::builder::resettable"],[976,"url"],[977,"url::origin"],[978,"core::iter::traits::collect"],[979,"core::str::iter"],[980,"url::path_segments"],[981,"form_urlencoded"],[982,"url"],[983,"core::net::ip_addr"],[984,"core::net::socket_addr"],[985,"alloc::vec"],[986,"std::io::error"],[987,"core::ops::function"],[988,"core::any"],[989,"core::error"],[990,"vbs::version"],[991,"serde::ser"],[992,"std::backtrace"],[993,"alloc::borrow"],[994,"core::convert"],[995,"semver"],[996,"core::future::future"],[997,"alloc::boxed"],[998,"core::pin"],[999,"tide::server"],[1000,"core::convert"],[1001,"std::io::error"],[1002,"core::ops::function"],[1003,"tagged_base64"],[1004,"core::convert"],[1005,"tungstenite::protocol::frame::coding"],[1006,"serde_json::error"],[1007,"anyhow"],[1008,"core::task::wake"],[1009,"core::task::poll"],[1010,"http_types::status_code"],[1011,"http::status"],[1012,"reqwest::async_impl::request"],[1013,"async_tungstenite::async_std"],[1014,"async_tungstenite"],[1015,"http::header::name"]],"d":["","","","","Represents a TOML array","","Represents a TOML boolean","","Represents a TOML datetime","","Configuration keys for Tide Disco settings","","Represents a TOML float","","","","Represents a TOML integer","","","","","","","","","Number of times to poll before failing","Number of milliseconds to sleep between attempts","","","","","Represents a TOML string","Represents a TOML table","","A parsed URL record.","","If true, log in color. Otherwise, no color.","","","HTTP routes","","","","","","","","","","Return the serialization of this URL.","","","Return the authority of this URL as an ASCII string.","Server address","","","","","","","","","","","","","","Return whether this URL is a cannot-be-a-base URL, meaning …","Check api.toml for schema compliance errors","","","","","","","","","","","Compose the path to the application’s configuration file","Get the application configuration","Add routes from api.toml to the routefinder instance in …","","","Serialize with Serde using the internal representation of …","","If this URL has a host and it is a domain name (not an IP …","","","","","","","","","","","","","","Return this URL’s fragment identifier, if any.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Convert a directory name as std::path::Path into an URL in …","Convert a file name as std::path::Path into an URL in the …","","","Get the path to api.toml","","Return whether the URL has an ‘authority’, which can …","Equivalent to url.host().is_some().","","","","","","","Return a JSON expression with status 200 indicating the …","Return the parsed representation of the host for this URL. …","Return the string representation of the host (domain or IP …","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","Return the serialization of this URL.","","Return whether the URL is special (has a special scheme)","Parse a string as an URL, with this URL as the base URL.","","","Load the web API or panic","Creates a relative URL if possible, with this URL as the …","Interfaces for methods of accessing to state.","Support for routes using the Prometheus metrics format.","","Return a default ParseOptions that can fully configure the …","","Return the origin of this URL (…","Parse an absolute URL from a string.","Parse an absolute URL from a string and add params to its …","","Return the password for this URL, if any, as a …","Return the path for this URL, as a percent-encoded ASCII …","Unless this URL is cannot-be-a-base, return an iterator of …","Return an object with methods to manipulate this URL’s …","Return the port number for this URL, if any.","Return the port number for this URL, or the default port …","Return this URL’s query string, if any, as a …","Parse the URL’s query string, if any, as …","Manipulate this URL’s query string, viewed as a sequence …","","","","Return the scheme of this URL, lower-cased, as an ASCII …","","Serialize with Serde using the internal representation of …","Change this URL’s fragment identifier.","Change this URL’s host.","Change this URL’s host to the given IP address.","Change this URL’s password.","Change this URL’s path.","Change this URL’s port number.","Change this URL’s query string.","Change this URL’s scheme.","Change this URL’s username.","An interface for asynchronous communication with clients, …","Resolve a URL’s host and port number to SocketAddr.","","","Assuming the URL is in the file scheme or similar, convert …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the username for this URL (typically the empty …","","","","","","","Wait for the server to respond to a connection request","","A description of an API.","An error encountered when parsing or constructing an Api.","Metadata used for describing and documenting an API.","","Version information about an API.","","","","","","","","","","","The version of this API.","","Register a handler for a route.","","","","","","","","","","","","","","","","","","Register a handler for a DELETE route.","","A description of this API.","","","","","","","","","","","","","","","","","","The version of the Tide Disco API specification format.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create an Api by reading a TOML specification from a file.","Register a handler for a GET route.","","The heading preceding documentation of a route description.","The heading for documentation of a route.","The heading preceding documentation of route parameters.","The heading preceding documentation of all routes in this …","HTML to be appended to automatically generated …","HTML to be prepended to automatically generated …","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Register a handler for a METRICS route.","The name of this API.","Parse an API from a TOML specification.","Documentation to insert in the parameters section of a …","HTML formatting an entry in a table documenting the …","HTML closing a table documenting the parameters of a route.","HTML preceding the contents of a table documenting the …","Register a handler for a POST route.","Register a handler for a PUT route.","HTML formatting the path of a route.","","","Register a handler for a SOCKET route.","","The format version of the TOML specification used to load …","Register a uni-directional handler for a SOCKET route.","","","","","","","","","","","","","","","","","","","","","Set the health check handler for this API.","Serve the contents of dir at the URL /public/{{NAME}}.","Set the API version.","","","","","","","","","A tide-disco server application.","An error encountered while building an App.","The health status of an application.","Version information about an application.","","The Listener trait represents an implementation of http …","What listener are we converting into?","RAII guard to ensure a module is registered after it is …","ToListener represents any type that can be converted into a","Start accepting incoming connections. This method must be …","The version of this application.","","","Bind the listener. This starts the listening process by …","","","","","","","","","","","","","","","","","","","","","","","The version of the Tide Disco server framework.","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Check the health of each registered module in response to …","","Expose information about the connection. This should …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Create and register an API module.","Check the health of the named module.","The status of each registered module, indexed by version.","The supported versions of each module registered with this …","Register this module with the linked app.","Register an API module.","","","Serve the App asynchronously.","","","The status of the overall application.","Transform self into a Listener. Unless self is already …","","","","","","","","","","","","","","","","","","","","Get the version of this application.","","","","","","Create a new App with a given state.","Set the application version.","","","Errors which can be serialized in a response body.","The simplest possible implementation of Error.","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","A response to a healthcheck endpoint.","Common health statuses of an application.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","The status of this health check.","","","","","","","TCP listener which accepts only a limited number of …","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Listen at the given address.","","","","","","","Listen at the given port on all interfaces.","","","","","A state which allows read access.","","The type of state which this type allows a caller to read.","A state which allows exclusive, write access.","","","","","","","The HTTP DELETE method.","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The HTTP GET method.","","Calls U::from(self).","Calls U::from(self).","Check if a method is a standard HTTP method.","Check if a request method implies mutable access to the …","The Tide Disco METRICS method.","The HTTP POST method.","The HTTP PUT method.","Do an operation with immutable access to the state.","The Tide Disco SOCKET method.","","","","","","","","","","","Do an operation with mutable access to the state.","","","","","","","","","","","","","","","","","","","","","","","Parameters passed to a route handler.","","","","","","The Accept header of this request.","","","","","","","","Get the value of a named parameter and convert it to a …","Deserialize the body of a request.","","","Get the value of a named parameter and convert it to a bool…","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","The headers of the incoming request.","","Get the value of a named parameter and convert it to an …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","The Method used to dispatch the request.","","Parse a parameter from a Request.","Get the value of a named optional parameter and convert it …","Get the value of a named optional parameter and convert it …","Get the value of a named optional parameter and convert it …","Get the value of a named optional parameter.","Get the value of a named optional parameter and convert it …","Get the value of a named optional parameter and convert it …","Get the value of a named parameter.","","","","Get the remote address for this request.","","","","Get the value of a named parameter and convert it to a …","Get the value of a named parameter and convert it to …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A connection facilitating bi-directional, asynchronous …","","","","An error returned by a socket handler.","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","202 Accepted","502 Bad Gateway","400 Bad Request","409 Conflict","100 Continue","201 Created","103 Early Hints","417 Expectation Failed","424 Failed Dependency","403 Forbidden","302 Found","504 Gateway Timeout","410 Gone","505 HTTP Version Not Supported","418 I’m a teapot","226 Im Used","507 Insufficient Storage","500 Internal Server Error","411 Length Required","423 Locked","508 Loop Detected","405 Method Not Allowed","421 Misdirected Request","301 Moved Permanently","207 Multi-Status","300 Multiple Choice","511 Network Authentication Required","204 No Content","203 Non Authoritative Information","406 Not Acceptable","510 Not Extended","404 Not Found","501 Not Implemented","304 Not Modified","200 Ok","","206 Partial Content","413 Payload Too Large","402 Payment Required","308 Permanent Redirect","412 Precondition Failed","428 Precondition Required","407 Proxy Authentication Required","431 Request Header Fields Too Large","408 Request Timeout","416 Requested Range Not Satisfiable","205 Reset Content","303 See Other","503 Service Unavailable","Serializable HTTP status code.","101 Switching Protocols","307 Temporary Redirect","425 Too Early","429 Too Many Requests","401 Unauthorized","451 Unavailable For Legal Reasons","422 Unprocessable Entity","415 Unsupported Media Type","426 Upgrade Required","414 URI Too Long","506 Variant Also Negotiates","","","","","","","The canonical reason for a given status code","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","","Calls U::from(self).","Calls U::from(self).","Returns true if the status code is the 4xx range.","Returns true if the status code is 1xx range.","Returns true if the status code is the 3xx range.","Returns true if the status code is the 5xx range.","Returns true if the status code is the 2xx range.","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","",""],"i":[0,0,0,0,146,5,146,11,146,0,0,0,146,0,11,0,146,11,11,0,0,0,0,0,0,0,0,0,5,0,5,146,146,11,0,0,26,4,0,26,4,0,0,39,9,4,3,4,5,3,26,26,3,26,4,3,26,4,5,9,11,3,26,4,5,9,11,3,0,3,5,9,11,3,5,9,11,3,3,0,0,0,3,5,3,4,3,3,3,3,3,3,0,3,3,26,4,5,5,11,3,3,26,4,5,9,11,26,26,3,3,3,11,0,26,3,3,3,3,5,39,9,0,0,3,3,0,3,3,3,3,0,3,26,4,5,9,11,3,3,3,3,3,3,11,3,3,0,0,0,3,0,0,11,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,0,39,9,3,3,3,3,3,3,3,3,3,3,3,3,0,3,0,0,3,3,3,5,9,11,3,5,3,3,26,4,5,9,11,11,3,26,4,5,9,11,3,26,4,5,9,11,26,26,3,3,26,4,5,9,11,0,76,0,0,0,76,0,76,76,76,76,76,76,76,76,76,76,82,76,75,76,76,82,83,75,76,82,83,75,76,76,82,83,76,82,83,83,75,76,83,82,83,76,82,76,76,76,76,82,82,82,82,76,76,82,83,75,83,76,82,83,75,75,75,76,83,83,83,83,83,83,76,76,82,83,75,75,83,75,83,83,83,83,75,75,83,82,83,75,76,82,75,76,82,83,76,76,82,83,75,76,82,83,75,76,82,83,75,76,82,83,75,75,75,75,147,147,148,149,149,150,151,99,0,0,0,0,99,0,110,0,0,95,102,99,99,95,106,99,101,102,103,106,99,101,102,103,99,99,101,102,99,101,102,103,103,99,101,102,102,103,99,101,102,99,99,99,99,101,101,101,101,102,102,102,102,106,99,99,101,102,103,106,99,99,101,102,103,99,106,99,95,106,99,101,102,103,106,106,101,102,103,106,101,102,106,99,101,101,110,99,101,102,99,106,99,101,102,103,106,99,101,102,103,106,99,101,102,103,106,106,99,101,102,103,106,106,152,153,0,0,113,113,113,113,104,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,104,104,104,104,104,104,113,113,113,104,113,113,113,104,113,113,113,113,113,113,113,113,116,0,0,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,93,116,116,116,116,116,116,0,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,118,0,118,0,0,118,85,0,154,118,154,118,118,118,118,118,118,118,118,118,118,118,154,118,118,118,118,118,154,118,118,118,118,118,118,85,118,118,118,154,118,154,118,154,118,154,118,84,86,0,86,114,124,129,124,129,114,114,124,129,114,114,114,124,129,114,0,0,0,0,0,114,114,124,129,114,79,124,124,114,124,124,124,114,79,79,79,79,79,114,79,124,129,130,114,79,124,129,130,114,114,79,124,129,130,114,79,124,129,130,114,114,129,124,129,124,124,124,124,129,129,129,129,114,114,79,124,129,129,130,114,79,124,129,130,129,114,129,79,114,79,114,79,124,129,130,79,130,124,79,79,79,79,79,79,79,124,130,124,79,114,129,114,79,79,114,79,124,129,130,114,129,114,79,124,129,129,130,114,79,124,129,130,114,79,124,129,130,114,79,124,129,130,155,156,155,157,156,158,159,160,161,159,157,115,115,115,0,115,115,115,0,115,115,91,115,91,115,115,91,115,115,91,115,115,115,115,115,115,91,115,91,115,91,91,91,91,91,115,115,91,115,91,115,91,91,115,91,115,162,162,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,0,111,111,111,111,111,111,111,111,111,111,111,111,111,0,111,111,111,111,111,111,111,111,111,111,111,137,137,111,137,111,137,111,137,111,137,111,137,137,111,111,111,111,111,111,111,111,111,111,137,137,111,111,111,137,111,111,111,111,137,137,111,137,111,111,111,111,111,111,137,111,137,111,137,111,111,137,111,137,111,137,111,137,0,141,141,141,141,141,141,141,141,0,0,0,141,141,141,141],"f":"``````````````````````````````````````````{{bb}d}```{fb}{hb}{jb}2{ll}03``{ce{}{}}00000000000{fn}{A`n}{ff}{jj}{{{Ab{c}}}{{Ab{c}}}Ad}{AfAf}{{ce}Ah{}{}}000{{ff}Aj}{{ce}Aj{}{}}>{{bb{An{{Al{bb}}}}}{{Bd{B`Bb}}}}{A`{{Bj{{Bh{Bf}}}}}}{c{{Bd{f}}}Bl}{c{{Bd{j}}}Bl}1`{f{{Bn{b}}}}{{ff}n}{{ce}n{}{}}000`{{fC`}{{Bd{AhCb}}}}0{{CdC`}Cf}{{hC`}Cf}{{jC`}Cf}{{jC`}{{Bd{AhCb}}}}{{AfC`}Cf}8{cc{}}00000{Ch{{Bd{CdCj}}}}0{c{{Bd{fAh}}}{{Cn{Cl}}}}0{b{{Bd{fD`}}}}{b{{Bd{Afc}}}{}}{bd}{{}{{Bn{Db}}}}{fn}0{{fc}AhDd}{{ce}{{Df{eg}}}{}{DhDjDl}{}}0```{{{E`{Dn}}}{{Bd{EbEd}}}}{f{{Bn{{Ef{b}}}}}}{f{{Bn{b}}}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AAj}1{{AAjNnb}AAl}{{}Ah}{f{{AB`{AAn}}}}{{f{An{{Al{ABbb}}}}}{{AB`{AAn}}}}776=","c":[143],"p":[[1,"str"],[5,"PathBuf",945],[5,"Url",0],[6,"DiscoKey",0],[6,"HealthStatus",0],[5,"Command",946],[1,"bool"],[6,"Value",947],[5,"ServerState",0],[10,"Clone",948],[6,"UrlSegment",0],[1,"unit"],[6,"Ordering",949],[1,"tuple"],[1,"slice"],[5,"Config",950],[6,"ConfigError",951],[6,"Result",952],[1,"usize"],[5,"Router",953],[5,"Arc",954],[10,"Deserializer",955],[6,"Option",956],[5,"Formatter",957],[5,"Error",957],[5,"DiscoArgs",0],[8,"Result",957],[5,"ArgMatches",958],[8,"Error",959],[5,"Path",945],[10,"AsRef",960],[6,"ParseError",961],[5,"Id",962],[10,"Hasher",963],[5,"IndentedSection",964],[10,"Display",957],[10,"Send",965],[10,"Sync",965],[8,"AppServerState",0],[5,"Request",966],[5,"Response",967],[5,"Error",968],[6,"Host",969],[6,"Position",970],[5,"RangeFrom",971],[5,"RangeTo",971],[5,"RangeFull",971],[5,"Range",971],[5,"Request",972],[6,"Error",973],[5,"Request",972],[6,"Error",973],[5,"String",974],[6,"Resettable",975],[5,"ParseOptions",976],[6,"Origin",977],[10,"IntoIterator",978],[1,"char"],[5,"Split",979],[5,"PathSegmentsMut",980],[1,"u16"],[5,"Parse",981],[5,"UrlQuery",976],[5,"Serializer",981],[10,"Serializer",982],[6,"IpAddr",983],[6,"SocketAddr",984],[5,"Vec",985],[5,"Error",986],[17,"Output"],[10,"Fn",987],[5,"TypeId",988],[1,"u64"],[10,"Error",989],[5,"Api",226],[6,"ApiError",226],[10,"StaticVersionType",990],[10,"Serialize",982],[5,"RequestParams",611],[8,"BoxFuture",991],[5,"Backtrace",992],[5,"ApiVersion",226],[5,"ApiMetadata",226],[10,"WriteState",560],[10,"ReadState",560],[10,"Metrics",608],[6,"Cow",993],[10,"Into",960],[10,"Sized",965],[10,"DeserializeOwned",955],[5,"Connection",764],[8,"BoxStream",994],[10,"HealthCheck",511],[5,"Version",995],[10,"Listener",347],[10,"Future",996],[5,"Box",997],[5,"Pin",998],[6,"AppError",347],[5,"Server",999],[5,"AppHealth",347],[5,"AppVersion",347],[5,"Module",347],[10,"Error",464],[10,"From",960],[5,"App",347],[10,"Debug",957],[5,"ListenInfo",1000],[8,"Result",986],[10,"ToListener",347],[6,"StatusCode",811],[17,"Listener"],[5,"ServerError",464],[6,"RequestError",611],[6,"SocketError",764],[6,"HealthStatus",511],[5,"RateLimitListener",541],[6,"Method",560],[6,"Method",1001],[17,"State"],[10,"FnOnce",987],[17,"Error"],[5,"Accept",1002],[6,"RequestParamValue",611],[5,"TaggedBase64",1003],[10,"TryFrom",960],[1,"u128"],[1,"u8"],[6,"RequestParamType",611],[5,"RequestParam",611],[5,"Headers",1004],[6,"CloseCode",1005],[5,"Error",1006],[5,"Error",1007],[5,"Context",1008],[6,"Poll",1009],[5,"OutOfRangeError",811],[6,"StatusCode",1010],[5,"StatusCode",1011],[1,"i64"],[5,"Client",929],[5,"RequestBuilder",1012],[8,"ConnectStream",1013],[5,"WebSocketStream",1014],[5,"HeaderName",1015],[8,"AppState",0],[15,"IncorrectMethod",340],[15,"CannotReadToml",340],[15,"AmbiguousRoutes",340],[15,"Route",340],[15,"InvalidMetaTable",340],[15,"Api",462],[15,"Dispatch",462],[5,"ParseMethodError",560],[15,"IncorrectParamType",753],[15,"TagMismatch",753],[15,"IntegerOverflow",753],[15,"MissingParam",753],[15,"InvalidParam",753],[15,"TaggedBase64",753],[15,"Http",753],[15,"IncorrectMethod",809]],"b":[[93,"impl-Display-for-Url"],[94,"impl-Debug-for-Url"],[97,"impl-Debug-for-HealthStatus"],[98,"impl-Display-for-HealthStatus"],[127,"impl-Index%3CRangeFrom%3CPosition%3E%3E-for-Url"],[128,"impl-Index%3CRangeTo%3CPosition%3E%3E-for-Url"],[129,"impl-Index%3CRangeFull%3E-for-Url"],[130,"impl-Index%3CRange%3CPosition%3E%3E-for-Url"],[138,"impl-IntoClientRequest-for-%26Url"],[139,"impl-IntoClientRequest-for-Url"],[140,"impl-IntoClientRequest-for-%26Url"],[141,"impl-IntoClientRequest-for-Url"],[277,"impl-Display-for-ApiError"],[278,"impl-Debug-for-ApiError"],[402,"impl-Display-for-AppError"],[403,"impl-Debug-for-AppError"],[482,"impl-Debug-for-ServerError"],[483,"impl-Display-for-ServerError"],[484,"impl-From%3CError%3E-for-ServerError"],[485,"impl-From%3CRequestError%3E-for-ServerError"],[486,"impl-From%3CConfigError%3E-for-ServerError"],[487,"impl-From%3CSocketError%3CE%3E%3E-for-ServerError"],[546,"impl-Display-for-RateLimitListener%3CState%3E"],[547,"impl-Debug-for-RateLimitListener%3CState%3E"],[580,"impl-Display-for-Method"],[581,"impl-Debug-for-Method"],[683,"impl-Debug-for-RequestError"],[684,"impl-Display-for-RequestError"],[687,"impl-Debug-for-RequestParamType"],[688,"impl-Display-for-RequestParamType"],[780,"impl-Display-for-SocketError%3CE%3E"],[781,"impl-Debug-for-SocketError%3CE%3E"],[783,"impl-From%3CError%3E-for-SocketError%3CE%3E"],[785,"impl-From%3CError%3E-for-SocketError%3CE%3E"],[786,"impl-From%3CRequestError%3E-for-SocketError%3CE%3E"],[787,"impl-From%3CError%3E-for-SocketError%3CE%3E"],[886,"impl-PartialEq%3CStatusCode%3E-for-StatusCode"],[887,"impl-PartialEq-for-StatusCode"],[888,"impl-PartialEq%3CStatusCode%3E-for-StatusCode"],[893,"impl-Debug-for-StatusCode"],[894,"impl-Display-for-StatusCode"],[895,"impl-Debug-for-OutOfRangeError"],[896,"impl-Display-for-OutOfRangeError"],[898,"impl-From%3CStatusCode%3E-for-StatusCode"],[899,"impl-From%3CStatusCode%3E-for-StatusCode"]]}]\
+["tide_disco",{"doc":"Tide Disco is a web server framework with built-in …","t":"EEIIPPPPPFGEPGPIPPPEEEEEESSFPEPPPPFGOPCOPCHOOPNNNNNNNOPNNNNNNNNNNNNNHNNNNNNNNNNHHHNNNPNNNNNNCNNNNNNNNNNNNNNNNNNNNHNNNNNNOOCHNNENNNNHNNNNNNNNNNNNNNNQCHNCCNNHNNNNNNNNNNNNNCOONNNNNNNNNNNNCNCCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHPFGFPFPPPPPPPPPPONNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNONNNNNNNOOOOOONNNNNNONOOOONNONNNNONNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOPFGFFPKRFKMONNMNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNOONNNNNNNOMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOKFNNNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNMNONNNNNNPKGPPPPPNNNNNNNNNNNNNNNMNNNNNNFNNNNNNNNNNNNNNNNNNPGPFKPRKNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNNNNNNNNNNMRKMPPPPPPPPPPPPPPPGFGGFPPPPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOPPPFPPPGPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTFTTTTTTTTTTNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNHHHNNNN","n":["Api","App","AppServerState","AppState","Array","Available","Boolean","Boolean","Datetime","DiscoArgs","DiscoKey","Error","Float","HealthStatus","Hexadecimal","Html","Integer","Integer","Literal","Method","RequestError","RequestParam","RequestParamType","RequestParamValue","RequestParams","SERVER_STARTUP_RETRIES","SERVER_STARTUP_SLEEP_MS","ServerState","Starting","StatusCode","Stopping","String","Table","TaggedBase64","Url","UrlSegment","ansi_color","ansi_color","api","api_toml","api_toml","app","app_api_path","app_state","app_state","app_toml","as_ref","as_ref","as_ref","as_str","augment_args","augment_args_for_update","authority","base_url","base_url","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cannot_be_a_base","check_api","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","compare","compose_config_path","compose_settings","configure_router","deserialize","deserialize","deserialize_internal","disco_toml","domain","eq","equivalent","equivalent","equivalent","equivalent","error","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fragment","from","from","from","from","from","from","from_arg_matches","from_arg_matches_mut","from_directory_path","from_file_path","from_str","from_str","get_api_path","group_id","has_authority","has_host","hash","header","header","health_status","health_status","healthcheck","healthcheck","host","host_str","http","index","index","index","index","init_logging","into","into","into","into","into","into","into_client_request","into_client_request","into_client_request","into_client_request","into_resettable","into_string","is_bound","is_special","join","join","listener","load_api","make_relative","method","metrics","new","options","org_data_path","origin","parse","parse_with_params","partial_cmp","password","path","path_segments","path_segments_mut","port","port_or_known_default","query","query_pairs","query_pairs_mut","request","router","router","scheme","serialize","serialize_internal","set_fragment","set_host","set_ip_host","set_password","set_path","set_port","set_query","set_scheme","set_username","socket","socket_addrs","status","testing","to_file_path","to_listener","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches_mut","username","vzip","vzip","vzip","vzip","vzip","vzip","wait_for_server","AmbiguousRoutes","Api","ApiError","ApiMetadata","ApiMustBeTable","ApiVersion","CannotReadToml","HandlerAlreadyRegistered","IncorrectMethod","InvalidFormatVersion","InvalidMetaTable","MissingFormatVersion","MissingRoutesTable","Route","RoutesMustBeTable","UndefinedRoute","api_version","as_error_source","at","backtrace","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone","clone_into","clone_into","clone_into","default","delete","description","description","deserialize","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","format_version","from","from","from","from","from_file","get","header","heading_description","heading_entry","heading_parameters","heading_routes","html_bottom","html_top","in_current_span","into","into","into","into","metrics","name","new","parameter_none","parameter_row","parameter_table_close","parameter_table_open","post","put","route_path","serialize","serialize","socket","source","spec_version","stream","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","with_health_check","with_public","with_version","actual","expected","reason","route1","route2","source","source","Api","App","AppError","AppHealth","AppVersion","Dispatch","Listener","Listener","Module","ToListener","accept","app_version","as_error_source","backtrace","bind","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone","clone_into","clone_into","clone_into","deref","deref_mut","description","deserialize","deserialize","disco_version","drop","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","header","health","in_current_span","info","into","into","into","into","into","module","module_health","modules","modules","register","register_module","serialize","serialize","serve","source","status","status","to_listener","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","version","vzip","vzip","vzip","vzip","vzip","with_state","with_version","source","source","Error","ServerError","as_error_source","backtrace","borrow","borrow_mut","catch_all","catch_all","cause","clone","clone_into","description","deserialize","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from","from","from_config_error","from_io_error","from_request_error","from_route_error","from_server_error","from_socket_error","header","in_current_span","into","into_tide_error","message","serialize","source","status","status","status","to_owned","to_string","try_from","try_into","type_id","vzip","Available","HealthCheck","HealthStatus","Initializing","ShuttingDown","TemporarilyUnavailable","Unavailabale","Unhealthy","borrow","borrow_mut","clone","clone_into","default","deserialize","eq","equivalent","equivalent","equivalent","equivalent","fmt","from","into","serialize","status","status","to_owned","try_from","try_into","type_id","vzip","RateLimitListener","accept","bind","borrow","borrow_mut","fmt","fmt","from","header","info","into","new","to_listener","to_string","try_from","try_into","type_id","vzip","with_port","Http","Method","Metrics","ParseMethodError","ReadState","Socket","State","WriteState","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","delete","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","from_str","get","header","into","into","is_http","is_mutable","metrics","post","put","read","socket","to_owned","to_string","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","write","Error","Metrics","export","Binary","Boolean","Boolean","Hexadecimal","Hexadecimal","Http","IncorrectParamType","Integer","Integer","IntegerOverflow","InvalidParam","Json","Literal","Literal","MissingParam","RequestError","RequestParam","RequestParamType","RequestParamValue","RequestParams","TagMismatch","TaggedBase64","TaggedBase64","TaggedBase64","UnsupportedContentType","accept","as_blob","as_boolean","as_error_source","as_integer","as_string","as_tagged_base64","backtrace","blob_param","body_auto","body_bytes","body_json","boolean_param","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cause","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","description","deserialize","deserialize","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from_str","header","header","headers","in_current_span","integer_param","into","into","into","into","into","method","name","new","opt_blob_param","opt_boolean_param","opt_integer_param","opt_param","opt_string_param","opt_tagged_base64_param","param","param_type","param_type","parse","remote","serialize","serialize","source","string_param","tagged_base64_param","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","actual","actual","expected","expected","expected","name","param_type","reason","reason","reason","value","AppSpecific","Binary","Closed","Connection","IncorrectMethod","Json","Request","SocketError","UnsupportedMessageType","WebSockets","borrow","borrow","borrow_mut","borrow_mut","code","drop","fmt","fmt","from","from","from","from","from","from","header","into","into","into_stream","map_app_specific","poll_close","poll_flush","poll_next","poll_ready","start_send","status","to_string","try_from","try_from","try_into","try_into","try_poll_next","type_id","type_id","vzip","vzip","actual","expected","ACCEPTED","ALREADY_REPORTED","BAD_GATEWAY","BAD_REQUEST","CONFLICT","CONTINUE","CREATED","EXPECTATION_FAILED","FAILED_DEPENDENCY","FORBIDDEN","FOUND","GATEWAY_TIMEOUT","GONE","HTTP_VERSION_NOT_SUPPORTED","IM_A_TEAPOT","IM_USED","INSUFFICIENT_STORAGE","INTERNAL_SERVER_ERROR","LENGTH_REQUIRED","LOCKED","LOOP_DETECTED","METHOD_NOT_ALLOWED","MISDIRECTED_REQUEST","MOVED_PERMANENTLY","MULTIPLE_CHOICES","MULTI_STATUS","NETWORK_AUTHENTICATION_REQUIRED","NON_AUTHORITATIVE_INFORMATION","NOT_ACCEPTABLE","NOT_EXTENDED","NOT_FOUND","NOT_IMPLEMENTED","NOT_MODIFIED","NO_CONTENT","OK","PARTIAL_CONTENT","PAYLOAD_TOO_LARGE","PAYMENT_REQUIRED","PERMANENT_REDIRECT","PRECONDITION_FAILED","PRECONDITION_REQUIRED","PROCESSING","PROXY_AUTHENTICATION_REQUIRED","RANGE_NOT_SATISFIABLE","REQUEST_HEADER_FIELDS_TOO_LARGE","REQUEST_TIMEOUT","RESET_CONTENT","SEE_OTHER","SERVICE_UNAVAILABLE","SWITCHING_PROTOCOLS","StatusCode","TEMPORARY_REDIRECT","TOO_MANY_REQUESTS","UNAUTHORIZED","UNAVAILABLE_FOR_LEGAL_REASONS","UNPROCESSABLE_ENTITY","UNSUPPORTED_MEDIA_TYPE","UPGRADE_REQUIRED","URI_TOO_LONG","USE_PROXY","VARIANT_ALSO_NEGOTIATES","borrow","borrow_mut","canonical_reason","clone","clone_into","deserialize","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","fmt","fmt","from","from","from","hash","header","into","is_client_error","is_informational","is_redirection","is_server_error","is_success","serialize","to_owned","to_string","try_from","try_from","try_into","type_id","vzip","Client","borrow","borrow_mut","from","get","into","new","post","request","setup_test","test_ws_client","test_ws_client_with_headers","try_from","try_into","type_id","vzip"],"q":[[0,"tide_disco"],[226,"tide_disco::api"],[340,"tide_disco::api::ApiError"],[347,"tide_disco::app"],[462,"tide_disco::app::AppError"],[464,"tide_disco::error"],[511,"tide_disco::healthcheck"],[541,"tide_disco::listener"],[560,"tide_disco::method"],[608,"tide_disco::metrics"],[611,"tide_disco::request"],[753,"tide_disco::request::RequestError"],[764,"tide_disco::socket"],[809,"tide_disco::socket::SocketError"],[811,"tide_disco::status"],[906,"tide_disco::testing"],[922,"std::path"],[923,"clap_builder::builder::command"],[924,"toml::value"],[925,"core::clone"],[926,"core::cmp"],[927,"config::config"],[928,"config::error"],[929,"core::result"],[930,"routefinder::router"],[931,"alloc::sync"],[932,"serde::de"],[933,"core::option"],[934,"core::fmt"],[935,"core::fmt"],[936,"clap_builder"],[937,"std::path"],[938,"url::parser"],[939,"clap_builder::util::id"],[940,"core::hash"],[941,"color_eyre::section"],[942,"core::fmt"],[943,"core::marker"],[944,"tide::response"],[945,"http_types::error"],[946,"url::host"],[947,"url::slicing"],[948,"core::ops::range"],[949,"core::ops::range"],[950,"tungstenite::error"],[951,"http::request"],[952,"clap_builder::builder::resettable"],[953,"url"],[954,"url::origin"],[955,"core::iter::traits::collect"],[956,"core::str::iter"],[957,"url::path_segments"],[958,"form_urlencoded"],[959,"url"],[960,"core::net::ip_addr"],[961,"core::net::socket_addr"],[962,"alloc::vec"],[963,"std::io::error"],[964,"core::ops::function"],[965,"core::any"],[966,"core::error"],[967,"vbs::version"],[968,"serde::ser"],[969,"std::backtrace"],[970,"alloc::borrow"],[971,"core::convert"],[972,"semver"],[973,"core::future::future"],[974,"alloc::boxed"],[975,"core::pin"],[976,"tide::server"],[977,"core::convert"],[978,"std::io::error"],[979,"core::ops::function"],[980,"tagged_base64"],[981,"core::convert"],[982,"tungstenite::protocol::frame::coding"],[983,"anyhow"],[984,"serde_json::error"],[985,"core::task::wake"],[986,"core::task::poll"],[987,"http::status"],[988,"http_types::status_code"],[989,"reqwest::async_impl::request"],[990,"async_tungstenite::async_std"],[991,"async_tungstenite"],[992,"http::header::name"]],"d":["","","","","Represents a TOML array","","Represents a TOML boolean","","Represents a TOML datetime","","Configuration keys for Tide Disco settings","","Represents a TOML float","","","","Represents a TOML integer","","","","","","","","","Number of times to poll before failing","Number of milliseconds to sleep between attempts","","","","","Represents a TOML string","Represents a TOML table","","A parsed URL record.","","If true, log in color. Otherwise, no color.","","","HTTP routes","","","","","","","","","","Return the serialization of this URL.","","","Return the authority of this URL as an ASCII string.","Server address","","","","","","","","","","","","","","Return whether this URL is a cannot-be-a-base URL, meaning …","Check api.toml for schema compliance errors","","","","","","","","","","","Compose the path to the application’s configuration file","Get the application configuration","Add routes from api.toml to the routefinder instance in …","","","Serialize with Serde using the internal representation of …","","If this URL has a host and it is a domain name (not an IP …","","","","","","","","","","","","","","Return this URL’s fragment identifier, if any.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Convert a directory name as std::path::Path into an URL in …","Convert a file name as std::path::Path into an URL in the …","","","Get the path to api.toml","","Return whether the URL has an ‘authority’, which can …","Equivalent to url.host().is_some().","","","","","","","Return a JSON expression with status 200 indicating the …","Return the parsed representation of the host for this URL. …","Return the string representation of the host (domain or IP …","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","Return the serialization of this URL.","","Return whether the URL is special (has a special scheme)","Parse a string as an URL, with this URL as the base URL.","","","Load the web API or panic","Creates a relative URL if possible, with this URL as the …","Interfaces for methods of accessing to state.","Support for routes using the Prometheus metrics format.","","Return a default ParseOptions that can fully configure the …","","Return the origin of this URL (…","Parse an absolute URL from a string.","Parse an absolute URL from a string and add params to its …","","Return the password for this URL, if any, as a …","Return the path for this URL, as a percent-encoded ASCII …","Unless this URL is cannot-be-a-base, return an iterator of …","Return an object with methods to manipulate this URL’s …","Return the port number for this URL, if any.","Return the port number for this URL, or the default port …","Return this URL’s query string, if any, as a …","Parse the URL’s query string, if any, as …","Manipulate this URL’s query string, viewed as a sequence …","","","","Return the scheme of this URL, lower-cased, as an ASCII …","","Serialize with Serde using the internal representation of …","Change this URL’s fragment identifier.","Change this URL’s host.","Change this URL’s host to the given IP address.","Change this URL’s password.","Change this URL’s path.","Change this URL’s port number.","Change this URL’s query string.","Change this URL’s scheme.","Change this URL’s username.","An interface for asynchronous communication with clients, …","Resolve a URL’s host and port number to SocketAddr.","","","Assuming the URL is in the file scheme or similar, convert …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Return the username for this URL (typically the empty …","","","","","","","Wait for the server to respond to a connection request","","A description of an API.","An error encountered when parsing or constructing an Api.","Metadata used for describing and documenting an API.","","Version information about an API.","","","","","","","","","","","The version of this API.","","Register a handler for a route.","","","","","","","","","","","","","","","","","","Register a handler for a DELETE route.","","A description of this API.","","","","","","","","","","","","","","","","","","The version of the Tide Disco API specification format.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create an Api by reading a TOML specification from a file.","Register a handler for a GET route.","","The heading preceding documentation of a route description.","The heading for documentation of a route.","The heading preceding documentation of route parameters.","The heading preceding documentation of all routes in this …","HTML to be appended to automatically generated …","HTML to be prepended to automatically generated …","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Register a handler for a METRICS route.","The name of this API.","Parse an API from a TOML specification.","Documentation to insert in the parameters section of a …","HTML formatting an entry in a table documenting the …","HTML closing a table documenting the parameters of a route.","HTML preceding the contents of a table documenting the …","Register a handler for a POST route.","Register a handler for a PUT route.","HTML formatting the path of a route.","","","Register a handler for a SOCKET route.","","The format version of the TOML specification used to load …","Register a uni-directional handler for a SOCKET route.","","","","","","","","","","","","","","","","","","","","","Set the health check handler for this API.","Serve the contents of dir at the URL /public/{{NAME}}.","Set the API version.","","","","","","","","","A tide-disco server application.","An error encountered while building an App.","The health status of an application.","Version information about an application.","","The Listener trait represents an implementation of http …","What listener are we converting into?","RAII guard to ensure a module is registered after it is …","ToListener represents any type that can be converted into a","Start accepting incoming connections. This method must be …","The version of this application.","","","Bind the listener. This starts the listening process by …","","","","","","","","","","","","","","","","","","","","","","","The version of the Tide Disco server framework.","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Check the health of each registered module in response to …","","Expose information about the connection. This should …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Create and register an API module.","Check the health of the named module.","The status of each registered module, indexed by version.","The supported versions of each module registered with this …","Register this module with the linked app.","Register an API module.","","","Serve the App asynchronously.","","","The status of the overall application.","Transform self into a Listener. Unless self is already …","","","","","","","","","","","","","","","","","","","","Get the version of this application.","","","","","","Create a new App with a given state.","Set the application version.","","","Errors which can be serialized in a response body.","The simplest possible implementation of Error.","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","Calls U::from(self).","","","","","","","","","","","","","","","A response to a healthcheck endpoint.","Common health statuses of an application.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","The status of this health check.","","","","","","","TCP listener which accepts only a limited number of …","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","Listen at the given address.","","","","","","","Listen at the given port on all interfaces.","","","","","A state which allows read access.","","The type of state which this type allows a caller to read.","A state which allows exclusive, write access.","","","","","","","The HTTP DELETE method.","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","The HTTP GET method.","","Calls U::from(self).","Calls U::from(self).","Check if a method is a standard HTTP method.","Check if a request method implies mutable access to the …","The Tide Disco METRICS method.","The HTTP POST method.","The HTTP PUT method.","Do an operation with immutable access to the state.","The Tide Disco SOCKET method.","","","","","","","","","","","Do an operation with mutable access to the state.","","","","","","","","","","","","","","","","","","","","","","","Parameters passed to a route handler.","","","","","","The Accept header of this request.","","","","","","","","Get the value of a named parameter and convert it to a …","Deserialize the body of a request.","","","Get the value of a named parameter and convert it to a bool…","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","The headers of the incoming request.","","Get the value of a named parameter and convert it to an …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","The Method used to dispatch the request.","","Parse a parameter from a Request.","Get the value of a named optional parameter and convert it …","Get the value of a named optional parameter and convert it …","Get the value of a named optional parameter and convert it …","Get the value of a named optional parameter.","Get the value of a named optional parameter and convert it …","Get the value of a named optional parameter and convert it …","Get the value of a named parameter.","","","","Get the remote address for this request.","","","","Get the value of a named parameter and convert it to a …","Get the value of a named parameter and convert it to …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A connection facilitating bi-directional, asynchronous …","","","","An error returned by a socket handler.","","","","","","","","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Serializable HTTP status code.","","","","","","","","","","","","","The canonical reason for a given status code","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Calls U::from(self).","Returns true if the status code is the 4xx range.","Returns true if the status code is 1xx range.","Returns true if the status code is the 3xx range.","Returns true if the status code is the 5xx range.","Returns true if the status code is the 2xx range.","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","",""],"i":[0,0,0,0,144,5,144,11,144,0,0,0,144,0,11,0,144,11,11,0,0,0,0,0,0,0,0,0,5,0,5,144,144,11,0,0,26,4,0,26,4,0,0,39,9,4,3,4,5,3,26,26,3,26,4,3,26,4,5,9,11,3,26,4,5,9,11,3,0,3,5,9,11,3,5,9,11,3,3,0,0,0,3,5,3,4,3,3,3,3,3,3,0,3,3,26,4,5,5,11,3,3,26,4,5,9,11,26,26,3,3,3,11,0,26,3,3,3,3,5,39,9,0,0,3,3,0,3,3,3,3,0,3,26,4,5,9,11,3,3,3,3,3,3,11,3,3,0,0,0,3,0,0,11,3,0,3,3,3,3,3,3,3,3,3,3,3,3,3,0,39,9,3,3,3,3,3,3,3,3,3,3,3,3,0,3,0,0,3,3,3,5,9,11,3,5,3,3,26,4,5,9,11,11,3,26,4,5,9,11,3,26,4,5,9,11,26,26,3,3,26,4,5,9,11,0,76,0,0,0,76,0,76,76,76,76,76,76,76,76,76,76,82,76,75,76,76,82,83,75,76,82,83,75,76,76,82,83,76,82,83,83,75,76,83,82,83,76,82,76,76,76,76,82,82,82,82,76,76,82,83,75,83,76,82,83,75,75,75,76,83,83,83,83,83,83,76,76,82,83,75,75,83,75,83,83,83,83,75,75,83,82,83,75,76,82,75,76,82,83,76,76,82,83,75,76,82,83,75,76,82,83,75,76,82,83,75,75,75,75,145,145,146,147,147,148,149,99,0,0,0,0,99,0,110,0,0,95,102,99,99,95,106,99,101,102,103,106,99,101,102,103,99,99,101,102,99,101,102,103,103,99,101,102,102,103,99,101,102,99,99,99,99,101,101,101,101,102,102,102,102,106,99,99,101,102,103,106,99,99,101,102,103,99,106,99,95,106,99,101,102,103,106,106,101,102,103,106,101,102,106,99,101,101,110,99,101,102,99,106,99,101,102,103,106,99,101,102,103,106,99,101,102,103,106,106,99,101,102,103,106,106,150,151,0,0,113,113,113,113,104,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,104,104,104,104,104,104,113,113,113,104,113,113,113,104,113,113,113,113,113,113,113,113,116,0,0,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,93,116,116,116,116,116,116,0,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,118,0,118,0,0,118,85,0,152,118,152,118,118,118,118,118,118,118,118,118,118,118,152,118,118,118,118,118,152,118,118,118,118,118,118,85,118,118,118,152,118,152,118,152,118,152,118,84,86,0,86,115,124,129,124,129,115,115,124,129,115,115,115,124,129,115,0,0,0,0,0,115,115,124,129,115,79,124,124,115,124,124,124,115,79,79,79,79,79,115,79,124,129,130,115,79,124,129,130,115,115,79,124,129,130,115,79,124,129,130,115,115,129,124,129,124,124,124,124,129,129,129,129,115,115,79,124,129,129,130,115,79,124,129,130,129,115,129,79,115,79,115,79,124,129,130,79,130,124,79,79,79,79,79,79,79,124,130,124,79,115,129,115,79,79,115,79,124,129,130,115,129,115,79,124,129,129,130,115,79,124,129,130,115,79,124,129,130,115,79,124,129,130,153,154,153,155,154,156,157,158,159,157,155,114,114,114,0,114,114,114,0,114,114,91,114,91,114,114,91,114,114,91,114,114,114,114,114,114,91,114,91,114,91,91,91,91,91,114,114,91,114,91,114,91,91,114,91,114,160,160,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,0,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,111,0,139,139,139,139,139,139,139,139,0,0,0,139,139,139,139],"f":"``````````````````````````````````````````{{bb}d}```{fb}{hb}{jb}2{ll}03``{ce{}{}}00000000000{fn}{A`n}{ff}{jj}{{{Ab{c}}}{{Ab{c}}}Ad}{AfAf}{{ce}Ah{}{}}000{{ff}Aj}{{ce}Aj{}{}}>{{bb{An{{Al{bb}}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```````````````````````````````````````````````````````````````00{Mn{{Bn{b}}}}{MnMn}{{ce}Ah{}{}}{c{{Bd{Mn}}}Bl}{{MnAAb}n}{{MnAAd}n}{{MnMn}n}{{ce}n{}{}}000{{MnC`}Cf}0{AAdMn}{cc{}}{AAbMn}{{Mnc}AhDd}{{ce}{{Df{eg}}}{}{DhDjDl}{}}>{Mnn}0000{{Mnc}BdHb}{ce{}{}}{cFj{}}{c{{Bd{e}}}{}{}}{Gj{{Bd{Mnc}}}{}}1{cI`{}}4`44:{{AAfb}AAh}5{fAAf}1{{AAfNnb}AAh}{{}Ah}{f{{AAl{AAj}}}}{{f{An{{Al{AAnb}}}}}{{AAl{AAj}}}}886:","c":[143],"p":[[1,"str"],[5,"PathBuf",922],[5,"Url",0],[6,"DiscoKey",0],[6,"HealthStatus",0],[5,"Command",923],[1,"bool"],[6,"Value",924],[5,"ServerState",0],[10,"Clone",925],[6,"UrlSegment",0],[1,"unit"],[6,"Ordering",926],[1,"tuple"],[1,"slice"],[5,"Config",927],[6,"ConfigError",928],[6,"Result",929],[1,"usize"],[5,"Router",930],[5,"Arc",931],[10,"Deserializer",932],[6,"Option",933],[5,"Formatter",934],[5,"Error",934],[5,"DiscoArgs",0],[8,"Result",934],[5,"ArgMatches",935],[8,"Error",936],[5,"Path",922],[10,"AsRef",937],[6,"ParseError",938],[5,"Id",939],[10,"Hasher",940],[5,"IndentedSection",941],[10,"Display",934],[10,"Send",942],[10,"Sync",942],[8,"AppServerState",0],[5,"Request",943],[5,"Response",944],[5,"Error",945],[6,"Host",946],[6,"Position",947],[5,"Range",948],[5,"RangeFull",948],[5,"RangeTo",948],[5,"RangeFrom",948],[5,"Request",949],[6,"Error",950],[5,"Request",949],[6,"Error",950],[5,"String",951],[6,"Resettable",952],[5,"ParseOptions",953],[6,"Origin",954],[10,"IntoIterator",955],[1,"char"],[5,"Split",956],[5,"PathSegmentsMut",957],[1,"u16"],[5,"Parse",958],[5,"UrlQuery",953],[5,"Serializer",958],[10,"Serializer",959],[6,"IpAddr",960],[6,"SocketAddr",961],[5,"Vec",962],[5,"Error",963],[17,"Output"],[10,"Fn",964],[5,"TypeId",965],[1,"u64"],[10,"Error",966],[5,"Api",226],[6,"ApiError",226],[10,"StaticVersionType",967],[10,"Serialize",959],[5,"RequestParams",611],[8,"BoxFuture",968],[5,"Backtrace",969],[5,"ApiVersion",226],[5,"ApiMetadata",226],[10,"WriteState",560],[10,"ReadState",560],[10,"Metrics",608],[6,"Cow",970],[10,"Into",937],[10,"Sized",942],[10,"DeserializeOwned",932],[5,"Connection",764],[8,"BoxStream",971],[10,"HealthCheck",511],[5,"Version",972],[10,"Listener",347],[10,"Future",973],[5,"Box",974],[5,"Pin",975],[6,"AppError",347],[5,"Server",976],[5,"AppHealth",347],[5,"AppVersion",347],[5,"Module",347],[10,"Error",464],[10,"From",937],[5,"App",347],[10,"Debug",934],[5,"ListenInfo",977],[8,"Result",963],[10,"ToListener",347],[5,"StatusCode",811],[17,"Listener"],[5,"ServerError",464],[6,"SocketError",764],[6,"RequestError",611],[6,"HealthStatus",511],[5,"RateLimitListener",541],[6,"Method",560],[6,"Method",978],[17,"State"],[10,"FnOnce",964],[17,"Error"],[5,"Accept",979],[6,"RequestParamValue",611],[5,"TaggedBase64",980],[10,"TryFrom",937],[1,"u128"],[1,"u8"],[6,"RequestParamType",611],[5,"RequestParam",611],[5,"Headers",981],[6,"CloseCode",982],[5,"Error",983],[5,"Error",984],[5,"Context",985],[6,"Poll",986],[5,"StatusCode",987],[6,"StatusCode",988],[5,"Client",906],[5,"RequestBuilder",989],[8,"ConnectStream",990],[5,"WebSocketStream",991],[5,"HeaderName",992],[8,"AppState",0],[15,"IncorrectMethod",340],[15,"CannotReadToml",340],[15,"AmbiguousRoutes",340],[15,"Route",340],[15,"InvalidMetaTable",340],[15,"Api",462],[15,"Dispatch",462],[5,"ParseMethodError",560],[15,"IncorrectParamType",753],[15,"TagMismatch",753],[15,"IntegerOverflow",753],[15,"MissingParam",753],[15,"InvalidParam",753],[15,"TaggedBase64",753],[15,"Http",753],[15,"IncorrectMethod",809]],"b":[[93,"impl-Display-for-Url"],[94,"impl-Debug-for-Url"],[97,"impl-Debug-for-HealthStatus"],[98,"impl-Display-for-HealthStatus"],[127,"impl-Index%3CRange%3CPosition%3E%3E-for-Url"],[128,"impl-Index%3CRangeFull%3E-for-Url"],[129,"impl-Index%3CRangeTo%3CPosition%3E%3E-for-Url"],[130,"impl-Index%3CRangeFrom%3CPosition%3E%3E-for-Url"],[138,"impl-IntoClientRequest-for-%26Url"],[139,"impl-IntoClientRequest-for-Url"],[140,"impl-IntoClientRequest-for-%26Url"],[141,"impl-IntoClientRequest-for-Url"],[277,"impl-Debug-for-ApiError"],[278,"impl-Display-for-ApiError"],[402,"impl-Debug-for-AppError"],[403,"impl-Display-for-AppError"],[482,"impl-Debug-for-ServerError"],[483,"impl-Display-for-ServerError"],[484,"impl-From%3CError%3E-for-ServerError"],[485,"impl-From%3CConfigError%3E-for-ServerError"],[486,"impl-From%3CSocketError%3CE%3E%3E-for-ServerError"],[487,"impl-From%3CRequestError%3E-for-ServerError"],[546,"impl-Display-for-RateLimitListener%3CState%3E"],[547,"impl-Debug-for-RateLimitListener%3CState%3E"],[580,"impl-Debug-for-Method"],[581,"impl-Display-for-Method"],[683,"impl-Display-for-RequestError"],[684,"impl-Debug-for-RequestError"],[687,"impl-Display-for-RequestParamType"],[688,"impl-Debug-for-RequestParamType"],[780,"impl-Debug-for-SocketError%3CE%3E"],[781,"impl-Display-for-SocketError%3CE%3E"],[783,"impl-From%3CError%3E-for-SocketError%3CE%3E"],[784,"impl-From%3CError%3E-for-SocketError%3CE%3E"],[785,"impl-From%3CError%3E-for-SocketError%3CE%3E"],[786,"impl-From%3CRequestError%3E-for-SocketError%3CE%3E"],[878,"impl-PartialEq%3CStatusCode%3E-for-StatusCode"],[879,"impl-PartialEq%3CStatusCode%3E-for-StatusCode"],[880,"impl-PartialEq-for-StatusCode"],[885,"impl-Debug-for-StatusCode"],[886,"impl-Display-for-StatusCode"],[887,"impl-From%3CStatusCode%3E-for-StatusCode"],[889,"impl-From%3CStatusCode%3E-for-StatusCode"]]}]\
]'));
if (typeof exports !== 'undefined') exports.searchIndex = searchIndex;
else if (window.initSearch) window.initSearch(searchIndex);
diff --git a/src/tide_disco/api.rs.html b/src/tide_disco/api.rs.html
index 748a12ad..faf323b4 100644
--- a/src/tide_disco/api.rs.html
+++ b/src/tide_disco/api.rs.html
@@ -3347,7 +3347,7 @@
// We intentionally return a stream that never terminates, to check that simply
// yielding an error causes the connection to terminate.
repeat(Err(ServerError::catch_all(
- StatusCode::InternalServerError,
+ StatusCode::INTERNAL_SERVER_ERROR,
"an error message".to_string(),
)))
.boxed()
@@ -3539,7 +3539,7 @@
Files
let client = Client::new(url).await;
let res = client.get("/mod/healthcheck").send().await.unwrap();
- assert_eq!(res.status(), StatusCode::Ok);
+ assert_eq!(res.status(), StatusCode::OK);
assert_eq!(
res.json::<HealthStatus>().await.unwrap(),
HealthStatus::Available
@@ -3595,7 +3595,7 @@
Files
tracing::info!("making metrics request {i}");
let expected = format!("# HELP counter count of how many times metrics have been exported\n# TYPE counter counter\ncounter {i}\n");
let res = client.get("mod/metrics").send().await.unwrap();
- assert_eq!(res.status(), StatusCode::Ok);
+ assert_eq!(res.status(), StatusCode::OK);
assert_eq!(res.text().await.unwrap(), expected);
}
}
diff --git a/src/tide_disco/app.rs.html b/src/tide_disco/app.rs.html
index 0e19ebbb..efc672fe 100644
--- a/src/tide_disco/app.rs.html
+++ b/src/tide_disco/app.rs.html
@@ -2027,7 +2027,7 @@
Files
/// Check the health of each registered module in response to a request.
///
- /// The response includes a status code for each module, which will be [StatusCode::Ok] if the
+ /// The response includes a status code for each module, which will be [StatusCode::OK] if the
/// module is healthy. Detailed health status from each module is not included in the response
/// (due to type erasure) but can be queried using [module_health](Self::module_health) or by
/// hitting the endpoint `GET /:module/healthcheck`.
@@ -2038,7 +2038,7 @@
Files
let versions_health = modules_health.entry(module.path()).or_default();
for (version, api) in &module.versions {
let health = StatusCode::from(api.health(req.clone(), state).await.status());
- if health != StatusCode::Ok {
+ if health != StatusCode::OK {
status = HealthStatus::Unhealthy;
}
versions_health.insert(*version, health);
@@ -2052,7 +2052,7 @@
Files
/// Check the health of the named module.
///
- /// The resulting [Response](tide::Response) has a status code which is [StatusCode::Ok] if the
+ /// The resulting [Response](tide::Response) has a status code which is [StatusCode::OK] if the
/// module is healthy. The response body is constructed from the results of the module's
/// registered healthcheck handler. If the module does not have an explicit healthcheck
/// handler, the response will be a [HealthStatus].
@@ -2282,7 +2282,7 @@
// serve documentation listing the available versions.
let Some(module) = req.state().modules.search(&path[1..]) else {
let message = format!("No API matches /{}", path[1..].join("/"));
- return Ok(Self::top_level_error(req, StatusCode::NotFound, message));
+ return Ok(Self::top_level_error(req, StatusCode::NOT_FOUND, message));
};
if !module.versions.contains_key(&version) {
// This version is not supported, list suported versions.
@@ -2506,7 +2506,7 @@
Files
}
let Some(module) = req.state().modules.search(&path) else {
let message = format!("No API matches /{}", path.join("/"));
- return Ok(Self::top_level_error(req, StatusCode::NotFound, message));
+ return Ok(Self::top_level_error(req, StatusCode::NOT_FOUND, message));
};
let latest_version = *module.versions.last_key_value().unwrap().0;
@@ -2794,7 +2794,7 @@
let res = client.get("/test").send().await.unwrap();
assert_eq!(
res.status(),
- StatusCode::Ok,
+ StatusCode::OK,
"{}",
res.text().await.unwrap()
);
@@ -3503,14 +3503,14 @@
Files
// API-level endpoints, so that a singleton API behaves like a normal API, while app-level
// stuff is reserved for non-trivial applications with more than one API.
let res = client.get("/healthcheck").send().await.unwrap();
- assert_eq!(res.status(), StatusCode::Ok);
+ assert_eq!(res.status(), StatusCode::OK);
assert_eq!(
res.json::<HealthStatus>().await.unwrap(),
HealthStatus::Available
);
let res = client.get("/version").send().await.unwrap();
- assert_eq!(res.status(), StatusCode::Ok);
+ assert_eq!(res.status(), StatusCode::OK);
assert_eq!(
res.json::<ApiVersion>().await.unwrap(),
ApiVersion {
@@ -3550,7 +3550,7 @@
Files
// Test an endpoint.
let res = client.get(&format!("api/{api}/test")).send().await.unwrap();
- assert_eq!(res.status(), StatusCode::Ok);
+ assert_eq!(res.status(), StatusCode::OK);
assert_eq!(res.json::<String>().await.unwrap(), api);
// Test healthcheck.
@@ -3559,7 +3559,7 @@
/// A type implementing [HealthCheck] may be returned from a healthcheck endpoint itself (via its
/// [Serialize] implementation) as well as incorporated automatically into the global healthcheck
/// endpoint for an app. The global healthcheck will fail if any of the module healthchecks return
-/// an implementation `h` of [HealthCheck] where `h.status() != StatusCode::Ok`.
+/// an implementation `h` of [HealthCheck] where `h.status() != StatusCode::OK`.
///
/// We provide a standard implementation [HealthStatus] which has variants for common states an
/// application might encounter. We recommend using this implementation as a standard, although it
@@ -80,7 +80,7 @@
Files
pub trait HealthCheck: Serialize {
/// The status of this health check.
///
- /// Should return [StatusCode::Ok] if the status is considered healthy, and some other status
+ /// Should return [StatusCode::OK] if the status is considered healthy, and some other status
/// code if it is not.
fn status(&self) -> StatusCode;
}
@@ -109,8 +109,8 @@
Files
// Return healthy in normal states even if the state is not `Available`, so that load
// balances and health monitors don't kill the service while it is starting up or
// gracefully shutting down.
- Self::Available | Self::Initializing | Self::ShuttingDown => StatusCode::Ok,
- _ => StatusCode::ServiceUnavailable,
+ Self::Available | Self::Initializing | Self::ShuttingDown => StatusCode::OK,
+ _ => StatusCode::SERVICE_UNAVAILABLE,
}
}
}
diff --git a/src/tide_disco/lib.rs.html b/src/tide_disco/lib.rs.html
index c6ca0031..8626b66c 100644
--- a/src/tide_disco/lib.rs.html
+++ b/src/tide_disco/lib.rs.html
@@ -1183,7 +1183,7 @@
/// TCP listener which accepts only a limited number of connections at a time.
///
-/// This listener is based on [`tide::listener::TcpListener`] and should match the semantics of that
+/// This listener is based on `tide::listener::TcpListener` and should match the semantics of that
/// listener in every way, accept that when there are more simultaneous outstanding requests than
/// the configured limit, excess requests will fail immediately with error code 429 (Too Many
/// Requests).
@@ -356,7 +356,7 @@
Files
} else {
// Otherwise, we are rate limited. Respond immediately with an
// error.
- Ok(http::Response::new(StatusCode::TooManyRequests))
+ Ok(http::Response::new(StatusCode::TOO_MANY_REQUESTS))
}
});
@@ -466,11 +466,11 @@
Files
// The next request gets rate limited.
let res = client.get("mod/test").send().await.unwrap();
- assert_eq!(StatusCode::TooManyRequests, res.status());
+ assert_eq!(StatusCode::TOO_MANY_REQUESTS, res.status());
// The other requests eventually complete successfully.
for res in try_join_all(reqs).await.unwrap() {
- assert_eq!(StatusCode::Ok, res.status());
+ assert_eq!(StatusCode::OK, res.status());
}
}
}
diff --git a/src/tide_disco/request.rs.html b/src/tide_disco/request.rs.html
index 4f213aeb..d06a0b5e 100644
--- a/src/tide_disco/request.rs.html
+++ b/src/tide_disco/request.rs.html
@@ -1080,7 +1080,7 @@
/// Print documentation about the route, to aid the developer when the route is not yet
/// implemented.
pub(crate) fn default_handler(&self) -> Result<tide::Response, RouteError<Error>> {
- Ok(tide::Response::builder(StatusCode::NotImplemented)
+ Ok(tide::Response::builder(StatusCode::NOT_IMPLEMENTED)
.body(self.documentation().into_string())
.build())
}
@@ -1351,7 +1351,7 @@
// Copyright (c) 2022 Espresso Systems (espressosys.com)
// This file is part of the tide-disco library.
// You should have received a copy of the MIT License
// along with the tide-disco library. If not, see <https://mit-license.org/>.
-use num_derive::FromPrimitive;
-use num_traits::FromPrimitive;
-use serde::{Deserialize, Serialize};
-use snafu::{OptionExt, Snafu};
+use serde::{Deserialize, Serialize};
use std::fmt::{self, Display, Formatter};
/// Serializable HTTP status code.
-///
-/// The deserialization implementation for [StatusCode] uses `deserialize_any` unnecessarily,
-/// which prevents it from working with [bincode]. We define our own version without this problem.
-#[repr(u16)]
-#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Deserialize, Serialize, FromPrimitive)]
+#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Deserialize, Serialize)]
#[serde(try_from = "u16", into = "u16")]
-pub enum StatusCode {
- /// 100 Continue
- ///
- /// This interim response indicates that everything so far is OK and that
- /// the client should continue the request, or ignore the response if
- /// the request is already finished.
- Continue = 100,
-
- /// 101 Switching Protocols
- ///
- /// This code is sent in response to an Upgrade request header from the
- /// client, and indicates the protocol the server is switching to.
- SwitchingProtocols = 101,
-
- /// 103 Early Hints
- ///
- /// This status code is primarily intended to be used with the Link header,
- /// letting the user agent start preloading resources while the server
- /// prepares a response.
- EarlyHints = 103,
-
- /// 200 Ok
- ///
- /// The request has succeeded
- Ok = 200,
-
- /// 201 Created
- ///
- /// The request has succeeded and a new resource has been created as a
- /// result. This is typically the response sent after POST requests, or
- /// some PUT requests.
- Created = 201,
-
- /// 202 Accepted
- ///
- /// The request has been received but not yet acted upon. It is
- /// noncommittal, since there is no way in HTTP to later send an
- /// asynchronous response indicating the outcome of the request. It is
- /// intended for cases where another process or server handles the request,
- /// or for batch processing.
- Accepted = 202,
-
- /// 203 Non Authoritative Information
- ///
- /// This response code means the returned meta-information is not exactly
- /// the same as is available from the origin server, but is collected
- /// from a local or a third-party copy. This is mostly used for mirrors
- /// or backups of another resource. Except for that specific case, the
- /// "200 OK" response is preferred to this status.
- NonAuthoritativeInformation = 203,
-
- /// 204 No Content
- ///
- /// There is no content to send for this request, but the headers may be
- /// useful. The user-agent may update its cached headers for this
- /// resource with the new ones.
- NoContent = 204,
-
- /// 205 Reset Content
- ///
- /// Tells the user-agent to reset the document which sent this request.
- ResetContent = 205,
-
- /// 206 Partial Content
- ///
- /// This response code is used when the Range header is sent from the client
- /// to request only part of a resource.
- PartialContent = 206,
-
- /// 207 Multi-Status
- ///
- /// A Multi-Status response conveys information about
- /// multiple resources in situations where multiple
- /// status codes might be appropriate.
- MultiStatus = 207,
-
- /// 226 Im Used
- ///
- /// The server has fulfilled a GET request for the resource, and the
- /// response is a representation of the result of one or more
- /// instance-manipulations applied to the current instance.
- ImUsed = 226,
-
- /// 300 Multiple Choice
- ///
- /// The request has more than one possible response. The user-agent or user
- /// should choose one of them. (There is no standardized way of choosing
- /// one of the responses, but HTML links to the possibilities are
- /// recommended so the user can pick.)
- MultipleChoice = 300,
-
- /// 301 Moved Permanently
- ///
- /// The URL of the requested resource has been changed permanently. The new
- /// URL is given in the response.
- MovedPermanently = 301,
-
- /// 302 Found
- ///
- /// This response code means that the URI of requested resource has been
- /// changed temporarily. Further changes in the URI might be made in the
- /// future. Therefore, this same URI should be used by the client in
- /// future requests.
- Found = 302,
-
- /// 303 See Other
- ///
- /// The server sent this response to direct the client to get the requested
- /// resource at another URI with a GET request.
- SeeOther = 303,
-
- /// 304 Not Modified
- ///
- /// This is used for caching purposes. It tells the client that the response
- /// has not been modified, so the client can continue to use the same
- /// cached version of the response.
- NotModified = 304,
-
- /// 307 Temporary Redirect
- ///
- /// The server sends this response to direct the client to get the requested
- /// resource at another URI with same method that was used in the prior
- /// request. This has the same semantics as the 302 Found HTTP response
- /// code, with the exception that the user agent must not change the
- /// HTTP method used: If a POST was used in the first request, a POST must
- /// be used in the second request.
- TemporaryRedirect = 307,
-
- /// 308 Permanent Redirect
- ///
- /// This means that the resource is now permanently located at another URI,
- /// specified by the Location: HTTP Response header. This has the same
- /// semantics as the 301 Moved Permanently HTTP response code, with the
- /// exception that the user agent must not change the HTTP method
- /// used: If a POST was used in the first request, a POST must be used in
- /// the second request.
- PermanentRedirect = 308,
-
- /// 400 Bad Request
- ///
- /// The server could not understand the request due to invalid syntax.
- BadRequest = 400,
-
- /// 401 Unauthorized
- ///
- /// Although the HTTP standard specifies "unauthorized", semantically this
- /// response means "unauthenticated". That is, the client must
- /// authenticate itself to get the requested response.
- Unauthorized = 401,
-
- /// 402 Payment Required
- ///
- /// This response code is reserved for future use. The initial aim for
- /// creating this code was using it for digital payment systems, however
- /// this status code is used very rarely and no standard convention
- /// exists.
- PaymentRequired = 402,
-
- /// 403 Forbidden
- ///
- /// The client does not have access rights to the content; that is, it is
- /// unauthorized, so the server is refusing to give the requested
- /// resource. Unlike 401, the client's identity is known to the server.
- Forbidden = 403,
-
- /// 404 Not Found
- ///
- /// The server can not find requested resource. In the browser, this means
- /// the URL is not recognized. In an API, this can also mean that the
- /// endpoint is valid but the resource itself does not exist. Servers
- /// may also send this response instead of 403 to hide the existence of
- /// a resource from an unauthorized client. This response code is probably
- /// the most famous one due to its frequent occurrence on the web.
- NotFound = 404,
-
- /// 405 Method Not Allowed
- ///
- /// The request method is known by the server but has been disabled and
- /// cannot be used. For example, an API may forbid DELETE-ing a
- /// resource. The two mandatory methods, GET and HEAD, must never be
- /// disabled and should not return this error code.
- MethodNotAllowed = 405,
-
- /// 406 Not Acceptable
- ///
- /// This response is sent when the web server, after performing
- /// server-driven content negotiation, doesn't find any content that
- /// conforms to the criteria given by the user agent.
- NotAcceptable = 406,
-
- /// 407 Proxy Authentication Required
- ///
- /// This is similar to 401 but authentication is needed to be done by a
- /// proxy.
- ProxyAuthenticationRequired = 407,
-
- /// 408 Request Timeout
- ///
- /// This response is sent on an idle connection by some servers, even
- /// without any previous request by the client. It means that the server
- /// would like to shut down this unused connection. This response is
- /// used much more since some browsers, like Chrome, Firefox 27+,
- /// or IE9, use HTTP pre-connection mechanisms to speed up surfing. Also
- /// note that some servers merely shut down the connection without
- /// sending this message.
- RequestTimeout = 408,
-
- /// 409 Conflict
- ///
- /// This response is sent when a request conflicts with the current state of
- /// the server.
- Conflict = 409,
-
- /// 410 Gone
- ///
- /// This response is sent when the requested content has been permanently
- /// deleted from server, with no forwarding address. Clients are
- /// expected to remove their caches and links to the resource. The HTTP
- /// specification intends this status code to be used for "limited-time,
- /// promotional services". APIs should not feel compelled to indicate
- /// resources that have been deleted with this status code.
- Gone = 410,
-
- /// 411 Length Required
- ///
- /// Server rejected the request because the Content-Length header field is
- /// not defined and the server requires it.
- LengthRequired = 411,
-
- /// 412 Precondition Failed
- ///
- /// The client has indicated preconditions in its headers which the server
- /// does not meet.
- PreconditionFailed = 412,
-
- /// 413 Payload Too Large
- ///
- /// Request entity is larger than limits defined by server; the server might
- /// close the connection or return an Retry-After header field.
- PayloadTooLarge = 413,
-
- /// 414 URI Too Long
- ///
- /// The URI requested by the client is longer than the server is willing to
- /// interpret.
- UriTooLong = 414,
-
- /// 415 Unsupported Media Type
- ///
- /// The media format of the requested data is not supported by the server,
- /// so the server is rejecting the request.
- UnsupportedMediaType = 415,
-
- /// 416 Requested Range Not Satisfiable
- ///
- /// The range specified by the Range header field in the request can't be
- /// fulfilled; it's possible that the range is outside the size of the
- /// target URI's data.
- RequestedRangeNotSatisfiable = 416,
-
- /// 417 Expectation Failed
- ///
- /// This response code means the expectation indicated by the Expect request
- /// header field can't be met by the server.
- ExpectationFailed = 417,
- ///
- /// 418 I'm a teapot
- ///
- /// The server refuses the attempt to brew coffee with a teapot.
- ImATeapot = 418,
-
- /// 421 Misdirected Request
- ///
- /// The request was directed at a server that is not able to produce a
- /// response. This can be sent by a server that is not configured to
- /// produce responses for the combination of scheme and authority that
- /// are included in the request URI.
- MisdirectedRequest = 421,
-
- /// 422 Unprocessable Entity
- ///
- /// The request was well-formed but was unable to be followed due to
- /// semantic errors.
- UnprocessableEntity = 422,
-
- /// 423 Locked
- ///
- /// The resource that is being accessed is locked.
- Locked = 423,
-
- /// 424 Failed Dependency
- ///
- /// The request failed because it depended on another request and that
- /// request failed (e.g., a PROPPATCH).
- FailedDependency = 424,
-
- /// 425 Too Early
- ///
- /// Indicates that the server is unwilling to risk processing a request that
- /// might be replayed.
- TooEarly = 425,
-
- /// 426 Upgrade Required
- ///
- /// The server refuses to perform the request using the current protocol but
- /// might be willing to do so after the client upgrades to a different
- /// protocol. The server sends an Upgrade header in a 426 response to
- /// indicate the required protocol(s).
- UpgradeRequired = 426,
-
- /// 428 Precondition Required
- ///
- /// The origin server requires the request to be conditional. This response
- /// is intended to prevent the 'lost update' problem, where a client
- /// GETs a resource's state, modifies it, and PUTs it back to the
- /// server, when meanwhile a third party has modified the state on the
- /// server, leading to a conflict.
- PreconditionRequired = 428,
-
- /// 429 Too Many Requests
- ///
- /// The user has sent too many requests in a given amount of time ("rate
- /// limiting").
- TooManyRequests = 429,
-
- /// 431 Request Header Fields Too Large
- ///
- /// The server is unwilling to process the request because its header fields
- /// are too large. The request may be resubmitted after reducing the
- /// size of the request header fields.
- RequestHeaderFieldsTooLarge = 431,
-
- /// 451 Unavailable For Legal Reasons
- ///
- /// The user-agent requested a resource that cannot legally be provided,
- /// such as a web page censored by a government.
- UnavailableForLegalReasons = 451,
-
- /// 500 Internal Server Error
- ///
- /// The server has encountered a situation it doesn't know how to handle.
- InternalServerError = 500,
-
- /// 501 Not Implemented
- ///
- /// The request method is not supported by the server and cannot be handled.
- /// The only methods that servers are required to support (and therefore
- /// that must not return this code) are GET and HEAD.
- NotImplemented = 501,
-
- /// 502 Bad Gateway
- ///
- /// This error response means that the server, while working as a gateway to
- /// get a response needed to handle the request, got an invalid
- /// response.
- BadGateway = 502,
-
- /// 503 Service Unavailable
- ///
- /// The server is not ready to handle the request. Common causes are a
- /// server that is down for maintenance or that is overloaded. Note that
- /// together with this response, a user-friendly page explaining the
- /// problem should be sent. This responses should be used for temporary
- /// conditions and the Retry-After: HTTP header should, if possible, contain
- /// the estimated time before the recovery of the service. The webmaster
- /// must also take care about the caching-related headers that are sent
- /// along with this response, as these temporary condition responses
- /// should usually not be cached.
- ServiceUnavailable = 503,
-
- /// 504 Gateway Timeout
- ///
- /// This error response is given when the server is acting as a gateway and
- /// cannot get a response in time.
- GatewayTimeout = 504,
-
- /// 505 HTTP Version Not Supported
- ///
- /// The HTTP version used in the request is not supported by the server.
- HttpVersionNotSupported = 505,
-
- /// 506 Variant Also Negotiates
- ///
- /// The server has an internal configuration error: the chosen variant
- /// resource is configured to engage in transparent content negotiation
- /// itself, and is therefore not a proper end point in the negotiation
- /// process.
- VariantAlsoNegotiates = 506,
-
- /// 507 Insufficient Storage
- ///
- /// The server is unable to store the representation needed to complete the
- /// request.
- InsufficientStorage = 507,
-
- /// 508 Loop Detected
- ///
- /// The server detected an infinite loop while processing the request.
- LoopDetected = 508,
-
- /// 510 Not Extended
- ///
- /// Further extensions to the request are required for the server to fulfil
- /// it.
- NotExtended = 510,
-
- /// 511 Network Authentication Required
- ///
- /// The 511 status code indicates that the client needs to authenticate to
- /// gain network access.
- NetworkAuthenticationRequired = 511,
-}
-
-#[derive(Clone, Copy, Debug, Snafu)]
-#[snafu(display("status code out of range"))]
-pub struct OutOfRangeError;
+pub struct StatusCode(reqwest::StatusCode);
impl TryFrom<u16> for StatusCode {
- type Error = OutOfRangeError;
+ type Error = <reqwest::StatusCode as TryFrom<u16>>::Error;
fn try_from(code: u16) -> Result<Self, Self::Error> {
- Self::from_u16(code).context(OutOfRangeSnafu)
+ Ok(reqwest::StatusCode::try_from(code)?.into())
}
}
impl From<StatusCode> for u16 {
fn from(code: StatusCode) -> Self {
- code as u16
+ code.0.as_u16()
}
}
-impl From<StatusCode> for tide::StatusCode {
- fn from(code: StatusCode) -> Self {
- // `StatusCode` and `tide::StatusCode` have the same variants, so converting from one to
- // the other through `u16` cannot fail.
- u16::from(code).try_into().unwrap()
+impl TryFrom<StatusCode> for tide::StatusCode {
+ type Error = <tide::StatusCode as TryFrom<u16>>::Error;
+
+ fn try_from(code: StatusCode) -> Result<Self, Self::Error> {
+ // Tide's status code enum does not represent all possible HTTP status codes, while the
+ // source type (`reqwest::StatusCode`) does, so this conversion may fail.
+ u16::from(code).try_into()
}
}
impl From<tide::StatusCode> for StatusCode {
fn from(code: tide::StatusCode) -> Self {
- // `StatusCode` and `tide::StatusCode` have the same variants, so converting from one to
- // the other through `u16` cannot fail.
+ // The source type, `tide::StatusCode`, only represents valid HTTP status codes, and the
+ // destination type, `reqwest::StatusCode`, can represent all valid HTTP status codes, so
+ // this conversion will never panic.
u16::from(code).try_into().unwrap()
}
}
@@ -1108,19 +336,19 @@
/// If this returns `true` it indicates that the request was received,
/// continuing process.
pub fn is_informational(self) -> bool {
- tide::StatusCode::from(self).is_informational()
+ self.0.is_informational()
}
/// Returns `true` if the status code is the `2xx` range.
@@ -1156,7 +384,7 @@
Files
/// If this returns `true` it indicates that the request was successfully
/// received, understood, and accepted.
pub fn is_success(self) -> bool {
- tide::StatusCode::from(self).is_success()
+ self.0.is_success()
}
/// Returns `true` if the status code is the `3xx` range.
@@ -1164,7 +392,7 @@
Files
/// If this returns `true` it indicates that further action needs to be
/// taken in order to complete the request.
pub fn is_redirection(self) -> bool {
- tide::StatusCode::from(self).is_redirection()
+ self.0.is_redirection()
}
/// Returns `true` if the status code is the `4xx` range.
@@ -1172,7 +400,7 @@
Files
/// If this returns `true` it indicates that the request contains bad syntax
/// or cannot be fulfilled.
pub fn is_client_error(self) -> bool {
- tide::StatusCode::from(self).is_client_error()
+ self.0.is_client_error()
}
/// Returns `true` if the status code is the `5xx` range.
@@ -1180,13 +408,80 @@
type SerializerV01 = Serializer<StaticVersion<0, 1>>;
#[test]
fn test_status_code() {
- for code in 0u16.. {
+ for code in 100u16.. {
// Iterate over all valid status codes, then break.
let Ok(status) = StatusCode::try_from(code) else {
break;
};
// Test type conversions.
- assert_eq!(
- tide::StatusCode::try_from(code).unwrap(),
- tide::StatusCode::from(status)
- );
+ if let Ok(tide_status) = tide::StatusCode::try_from(code) {
+ assert_eq!(tide_status, tide::StatusCode::try_from(status).unwrap());
+ }
assert_eq!(
reqwest::StatusCode::from_u16(code).unwrap(),
reqwest::StatusCode::from(status)
@@ -1226,26 +520,26 @@
Files
let json = serde_json::to_string(&status).unwrap();
assert_eq!(status, serde_json::from_str::<StatusCode>(&json).unwrap());
assert_eq!(json, code.to_string());
- assert_eq!(
- json,
- serde_json::to_string(&tide::StatusCode::from(status)).unwrap()
- );
+ if let Ok(tide_status) = tide::StatusCode::try_from(status) {
+ assert_eq!(json, serde_json::to_string(&tide_status).unwrap());
+ }
// Test display.
assert_eq!(status.to_string(), code.to_string());
- assert_eq!(
- status.to_string(),
- tide::StatusCode::from(status).to_string()
- );
+ if let Ok(tide_status) = tide::StatusCode::try_from(status) {
+ assert_eq!(status.to_string(), tide_status.to_string());
+ }
// Test equality.
- assert_eq!(status, tide::StatusCode::from(status));
+ if let Ok(tide_status) = tide::StatusCode::try_from(status) {
+ assert_eq!(status, tide_status);
+ }
assert_eq!(status, reqwest::StatusCode::from(status));
}
// Now iterate over all valid _Tide_ status codes, and ensure the ycan be converted to our
// `StatusCode`.
- for code in 0u16.. {
+ for code in 100u16.. {
let Ok(status) = tide::StatusCode::try_from(code) else {
break;
};
@@ -1257,7 +551,7 @@
Files
// Now iterate over all valid _reqwest_ status codes, and ensure the ycan be converted to
// our `StatusCode`.
- for code in 0u16.. {
+ for code in 100u16.. {
let Ok(status) = reqwest::StatusCode::from_u16(code) else {
break;
};
diff --git a/tide_disco/all.html b/tide_disco/all.html
index 46c442c2..a5ba28e6 100644
--- a/tide_disco/all.html
+++ b/tide_disco/all.html
@@ -1,2 +1,2 @@
-List of all items in this crate
-
\ No newline at end of file
diff --git a/tide_disco/api/enum.ApiError.html b/tide_disco/api/enum.ApiError.html
index b41f9855..eb15aeff 100644
--- a/tide_disco/api/enum.ApiError.html
+++ b/tide_disco/api/enum.ApiError.html
@@ -1,4 +1,4 @@
-ApiError in tide_disco::api - Rust
+ApiError in tide_disco::api - Rust
An error encountered when parsing or constructing an Api.
\ No newline at end of file
diff --git a/tide_disco/api/struct.Api.html b/tide_disco/api/struct.Api.html
index 77b01091..220f80bf 100644
--- a/tide_disco/api/struct.Api.html
+++ b/tide_disco/api/struct.Api.html
@@ -1,4 +1,4 @@
-Api in tide_disco::api - Rust
+Api in tide_disco::api - Rust
An Api is a structured representation of an api.toml specification. It contains API-level
metadata and descriptions of all of the routes in the specification. It can be parsed from a
diff --git a/tide_disco/api/struct.ApiMetadata.html b/tide_disco/api/struct.ApiMetadata.html
index a7fed481..23baa276 100644
--- a/tide_disco/api/struct.ApiMetadata.html
+++ b/tide_disco/api/struct.ApiMetadata.html
@@ -1,4 +1,4 @@
-
ApiMetadata in tide_disco::api - Rust
+ApiMetadata in tide_disco::api - Rust
The Listener trait represents an implementation of http transport for a tide
application. In order to provide a Listener to tide, you will also need to
implement at least one ToListener that
diff --git a/tide_disco/app/struct.App.html b/tide_disco/app/struct.App.html
index 116d37ff..94d799b3 100644
--- a/tide_disco/app/struct.App.html
+++ b/tide_disco/app/struct.App.html
@@ -1,4 +1,4 @@
-App in tide_disco::app - Rust
+App in tide_disco::app - Rust
An App is a collection of API modules, plus a global State. Modules can be registered by
constructing an Api for each module and calling App::register_module. Once all of the
@@ -71,7 +71,7 @@
Check the health of each registered module in response to a request.
-
The response includes a status code for each module, which will be StatusCode::Ok if the
+
The response includes a status code for each module, which will be StatusCode::OK if the
module is healthy. Detailed health status from each module is not included in the response
(due to type erasure) but can be queried using module_health or by
hitting the endpoint GET /:module/healthcheck.
The resulting Response has a status code which is StatusCode::OK if the
module is healthy. The response body is constructed from the results of the module’s
registered healthcheck handler. If the module does not have an explicit healthcheck
handler, the response will be a HealthStatus.
diff --git a/tide_disco/app/struct.AppHealth.html b/tide_disco/app/struct.AppHealth.html
index 723249d0..c76f783f 100644
--- a/tide_disco/app/struct.AppHealth.html
+++ b/tide_disco/app/struct.AppHealth.html
@@ -1,14 +1,14 @@
-AppHealth in tide_disco::app - Rust
+AppHealth in tide_disco::app - Rust
\ No newline at end of file
diff --git a/tide_disco/constant.SERVER_STARTUP_SLEEP_MS.html b/tide_disco/constant.SERVER_STARTUP_SLEEP_MS.html
index 544541de..ce9e08fa 100644
--- a/tide_disco/constant.SERVER_STARTUP_SLEEP_MS.html
+++ b/tide_disco/constant.SERVER_STARTUP_SLEEP_MS.html
@@ -1,3 +1,3 @@
-SERVER_STARTUP_SLEEP_MS in tide_disco - Rust
+SERVER_STARTUP_SLEEP_MS in tide_disco - Rust
\ No newline at end of file
diff --git a/tide_disco/enum.DiscoKey.html b/tide_disco/enum.DiscoKey.html
index c1ba1f9d..e379f7c8 100644
--- a/tide_disco/enum.DiscoKey.html
+++ b/tide_disco/enum.DiscoKey.html
@@ -1,4 +1,4 @@
-DiscoKey in tide_disco - Rust
+DiscoKey in tide_disco - Rust
Errors which can be serialized in a response body.
\ No newline at end of file
diff --git a/tide_disco/error/struct.ServerError.html b/tide_disco/error/struct.ServerError.html
index 0f00e571..2e55389b 100644
--- a/tide_disco/error/struct.ServerError.html
+++ b/tide_disco/error/struct.ServerError.html
@@ -1,17 +1,17 @@
-ServerError in tide_disco::error - Rust
+ServerError in tide_disco::error - Rust
You can use this to get up and running quickly if you don’t want to create your own error type.
However, we strongly reccommend creating a custom error type and implementing Error for it, so
that you can provide more informative and structured error responses specific to your API.
Returns an iterator for traversing the chain of errors,
starting with the current error
-and continuing with recursive calls to Error::source. Read more
Other errors (those which don’t downcast to the API’s error type, such as errors generated from
the [tide] framework) will be serialized as strings using their Display instance and encoded
as an API error using the catch_all function.
\ No newline at end of file
diff --git a/tide_disco/fn.app_api_path.html b/tide_disco/fn.app_api_path.html
index e48a5dbc..050b3e4d 100644
--- a/tide_disco/fn.app_api_path.html
+++ b/tide_disco/fn.app_api_path.html
@@ -1,2 +1,2 @@
-app_api_path in tide_disco - Rust
+app_api_path in tide_disco - Rust
\ No newline at end of file
diff --git a/tide_disco/fn.check_api.html b/tide_disco/fn.check_api.html
index 55c10f27..f9e326db 100644
--- a/tide_disco/fn.check_api.html
+++ b/tide_disco/fn.check_api.html
@@ -1,4 +1,4 @@
-check_api in tide_disco - Rust
+check_api in tide_disco - Rust
Compose the path to the application’s configuration file
\ No newline at end of file
diff --git a/tide_disco/fn.compose_settings.html b/tide_disco/fn.compose_settings.html
index b5f4dac8..9b9b1411 100644
--- a/tide_disco/fn.compose_settings.html
+++ b/tide_disco/fn.compose_settings.html
@@ -1,4 +1,4 @@
-compose_settings in tide_disco - Rust
+compose_settings in tide_disco - Rust
Add routes from api.toml to the routefinder instance in tide-disco
\ No newline at end of file
diff --git a/tide_disco/fn.get_api_path.html b/tide_disco/fn.get_api_path.html
index 15ad9980..de95dd54 100644
--- a/tide_disco/fn.get_api_path.html
+++ b/tide_disco/fn.get_api_path.html
@@ -1,3 +1,3 @@
-get_api_path in tide_disco - Rust
+get_api_path in tide_disco - Rust
\ No newline at end of file
diff --git a/tide_disco/fn.healthcheck.html b/tide_disco/fn.healthcheck.html
index 9105bc3e..6d5063bb 100644
--- a/tide_disco/fn.healthcheck.html
+++ b/tide_disco/fn.healthcheck.html
@@ -1,4 +1,4 @@
-healthcheck in tide_disco - Rust
+healthcheck in tide_disco - Rust
Return a JSON expression with status 200 indicating the server
diff --git a/tide_disco/fn.init_logging.html b/tide_disco/fn.init_logging.html
index 3f06c0cd..70a180b9 100644
--- a/tide_disco/fn.init_logging.html
+++ b/tide_disco/fn.init_logging.html
@@ -1,2 +1,2 @@
-
init_logging in tide_disco - Rust
+init_logging in tide_disco - Rust
\ No newline at end of file
diff --git a/tide_disco/fn.load_api.html b/tide_disco/fn.load_api.html
index 26f6911a..322e8685 100644
--- a/tide_disco/fn.load_api.html
+++ b/tide_disco/fn.load_api.html
@@ -1,3 +1,3 @@
-load_api in tide_disco - Rust
+load_api in tide_disco - Rust
\ No newline at end of file
diff --git a/tide_disco/fn.org_data_path.html b/tide_disco/fn.org_data_path.html
index f835cbd1..70291cac 100644
--- a/tide_disco/fn.org_data_path.html
+++ b/tide_disco/fn.org_data_path.html
@@ -1,2 +1,2 @@
-org_data_path in tide_disco - Rust
+org_data_path in tide_disco - Rust
\ No newline at end of file
diff --git a/tide_disco/fn.wait_for_server.html b/tide_disco/fn.wait_for_server.html
index d052e58f..4ef248e2 100644
--- a/tide_disco/fn.wait_for_server.html
+++ b/tide_disco/fn.wait_for_server.html
@@ -1,4 +1,4 @@
-wait_for_server in tide_disco - Rust
+wait_for_server in tide_disco - Rust
\ No newline at end of file
diff --git a/tide_disco/healthcheck/trait.HealthCheck.html b/tide_disco/healthcheck/trait.HealthCheck.html
index 815d1ac1..50d9d7d9 100644
--- a/tide_disco/healthcheck/trait.HealthCheck.html
+++ b/tide_disco/healthcheck/trait.HealthCheck.html
@@ -1,17 +1,17 @@
-HealthCheck in tide_disco::healthcheck - Rust
+HealthCheck in tide_disco::healthcheck - Rust
A type implementing HealthCheck may be returned from a healthcheck endpoint itself (via its
Serialize implementation) as well as incorporated automatically into the global healthcheck
endpoint for an app. The global healthcheck will fail if any of the module healthchecks return
-an implementation h of HealthCheck where h.status() != StatusCode::Ok.
+an implementation h of HealthCheck where h.status() != StatusCode::OK.
We provide a standard implementation HealthStatus which has variants for common states an
application might encounter. We recommend using this implementation as a standard, although it
is possible to implement the HealthCheck trait yourself if you desire more information in
your healthcheck response.
\ No newline at end of file
diff --git a/tide_disco/index.html b/tide_disco/index.html
index da4b2981..1c0f4a2a 100644
--- a/tide_disco/index.html
+++ b/tide_disco/index.html
@@ -1,4 +1,4 @@
-tide_disco - Rust