Files
mercator_service/actix_web/dev/index.html

35 lines
10 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `dev` mod in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, dev"><title>actix_web::dev - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../actix_web/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Module dev</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'><a href='../index.html'>actix_web</a></p><script>window.sidebarCurrent = {name: 'dev', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/actix_web/lib.rs.html#127-167' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../index.html'>actix_web</a>::<wbr><a class="mod" href=''>dev</a></span></h1><div class='docblock'><p>The <code>actix-web</code> prelude for library developers</p>
<p>The purpose of this module is to alleviate imports of many common actix
traits by adding a glob import to the top of actix heavy modules:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">actix_web</span>::<span class="ident">dev</span>::<span class="kw-2">*</span>;</pre></div>
</div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.AppConfig.html" title='actix_web::dev::AppConfig struct'>AppConfig</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.AppService.html" title='actix_web::dev::AppService struct'>AppService</a></td><td class='docblock-short'><p>Application configuration</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.ConnectionInfo.html" title='actix_web::dev::ConnectionInfo struct'>ConnectionInfo</a></td><td class='docblock-short'><p><code>HttpRequest</code> connection information</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Decompress.html" title='actix_web::dev::Decompress struct'>Decompress</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Extensions.html" title='actix_web::dev::Extensions struct'>Extensions</a></td><td class='docblock-short'><p>A type map of request extensions.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.HttpResponseBuilder.html" title='actix_web::dev::HttpResponseBuilder struct'>HttpResponseBuilder</a></td><td class='docblock-short'><p>An HTTP response builder</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.JsonBody.html" title='actix_web::dev::JsonBody struct'>JsonBody</a></td><td class='docblock-short'><p>Request's payload json parser, it resolves to a deserialized <code>T</code> value.
This future could be used with <code>ServiceRequest</code> and <code>ServiceFromRequest</code>.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Path.html" title='actix_web::dev::Path struct'>Path</a></td><td class='docblock-short'><p>Resource path match information</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Readlines.html" title='actix_web::dev::Readlines struct'>Readlines</a></td><td class='docblock-short'><p>Stream to read request line by line.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.RequestHead.html" title='actix_web::dev::RequestHead struct'>RequestHead</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.ResourceDef.html" title='actix_web::dev::ResourceDef struct'>ResourceDef</a></td><td class='docblock-short'><p>ResourceDef describes an entry in resources table</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.ResourceMap.html" title='actix_web::dev::ResourceMap struct'>ResourceMap</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.ResponseHead.html" title='actix_web::dev::ResponseHead struct'>ResponseHead</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Server.html" title='actix_web::dev::Server struct'>Server</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.ServiceRequest.html" title='actix_web::dev::ServiceRequest struct'>ServiceRequest</a></td><td class='docblock-short'><p>An service http request</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.ServiceResponse.html" title='actix_web::dev::ServiceResponse struct'>ServiceResponse</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.SizedStream.html" title='actix_web::dev::SizedStream struct'>SizedStream</a></td><td class='docblock-short'><p>Type represent streaming body. This body implementation should be used
if total size of stream is known. Data get sent as is without using transfer encoding.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Url.html" title='actix_web::dev::Url struct'>Url</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.UrlEncoded.html" title='actix_web::dev::UrlEncoded struct'>UrlEncoded</a></td><td class='docblock-short'><p>Future that resolves to a parsed urlencoded values.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.WebService.html" title='actix_web::dev::WebService struct'>WebService</a></td><td class='docblock-short'></td></tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
<table><tr class='module-item'><td><a class="enum" href="enum.Body.html" title='actix_web::dev::Body enum'>Body</a></td><td class='docblock-short'><p>Represents various types of http message body.</p>
</td></tr><tr class='module-item'><td><a class="enum" href="enum.BodySize.html" title='actix_web::dev::BodySize enum'>BodySize</a></td><td class='docblock-short'><p>Body size hint</p>
</td></tr><tr class='module-item'><td><a class="enum" href="enum.Payload.html" title='actix_web::dev::Payload enum'>Payload</a></td><td class='docblock-short'><p>Type represent streaming payload</p>
</td></tr><tr class='module-item'><td><a class="enum" href="enum.ResponseBody.html" title='actix_web::dev::ResponseBody enum'>ResponseBody</a></td><td class='docblock-short'></td></tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
<table><tr class='module-item'><td><a class="trait" href="trait.HttpServiceFactory.html" title='actix_web::dev::HttpServiceFactory trait'>HttpServiceFactory</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="trait" href="trait.MessageBody.html" title='actix_web::dev::MessageBody trait'>MessageBody</a></td><td class='docblock-short'><p>Type that provides this trait can be streamed to a peer.</p>
</td></tr><tr class='module-item'><td><a class="trait" href="trait.ResourcePath.html" title='actix_web::dev::ResourcePath trait'>ResourcePath</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="trait" href="trait.Service.html" title='actix_web::dev::Service trait'>Service</a></td><td class='docblock-short'><p>An asynchronous function from <code>Request</code> to a <code>Response</code>.</p>
</td></tr><tr class='module-item'><td><a class="trait" href="trait.Transform.html" title='actix_web::dev::Transform trait'>Transform</a></td><td class='docblock-short'><p>The <code>Transform</code> trait defines the interface of a Service factory. <code>Transform</code>
is often implemented for middleware, defining how to construct a
middleware Service. A Service that is constructed by the factory takes
the Service that follows it during execution as a parameter, assuming
ownership of the next Service.</p>
</td></tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
<table><tr class='module-item'><td><a class="type" href="type.PayloadStream.html" title='actix_web::dev::PayloadStream type'>PayloadStream</a></td><td class='docblock-short'><p>Type represent boxed payload</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../";window.currentCrate = "actix_web";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>