Files
mercator_service/actix_web/dev/trait.Service.html

31 lines
127 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 `Service` trait in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, Service"><title>actix_web::dev::Service - 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 trait"><!--[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'>Trait Service</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#associated-types">Associated Types</a><div class="sidebar-links"><a href="#associatedtype.Request">Request</a><a href="#associatedtype.Response">Response</a><a href="#associatedtype.Error">Error</a><a href="#associatedtype.Future">Future</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.call">call</a><a href="#tymethod.poll_ready">poll_ready</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-Service-for-%26%27a%20mut%20S">&amp;&#39;a mut S</a><a href="#impl-Service-for-AndThen%3CA%2C%20B%3E">AndThen&lt;A, B&gt;</a><a href="#impl-Service-for-Blank%3CR%2C%20E%3E">Blank&lt;R, E&gt;</a><a href="#impl-Service-for-Box%3CS%3E">Box&lt;S&gt;</a><a href="#impl-Service-for-ConnectService%3CT%3E">ConnectService&lt;T&gt;</a><a href="#impl-Service-for-EitherService%3CA%2C%20B%3E">EitherService&lt;A, B&gt;</a><a href="#impl-Service-for-ExpectHandler">ExpectHandler</a><a href="#impl-Service-for-FromErr%3CA%2C%20E%3E">FromErr&lt;A, E&gt;</a><a href="#impl-Service-for-H1ServiceHandler%3CT%2C%20P%2C%20S%2C%20B%2C%20X%2C%20U%3E">H1ServiceHandler&lt;T, P, S, B, X, U&gt;</a><a href="#impl-Service-for-InFlightService%3CT%3E">InFlightService&lt;T&gt;</a><a href="#impl-Service-for-InOrderService%3CS%3E">InOrderService&lt;S&gt;</a><a href="#impl-Service-for-KeepAliveService%3CR%2C%20E%2C%20F%3E">KeepAliveService&lt;R, E, F&gt;</a><a href="#impl-Service-for-LowResTimeService">LowResTimeService</a><a href="#impl-Service-for-Map%3CA%2C%20F%2C%20Response%3E">Map&lt;A, F, Response&gt;</a><a href="#impl-Service-for-MapErr%3CA%2C%20F%2C%20E%3E">MapErr&lt;A, F, E&gt;</a><a href="#impl-Service-for-Rc%3CRefCell%3CS%3E%3E">Rc&lt;RefCell&lt;S&gt;&gt;</a><a href="#impl-Service-for-Resolver%3CT%3E">Resolver&lt;T&gt;</a><a href="#impl-Service-for-ServiceFn%3CF%2C%20Req%2C%20Out%3E">ServiceFn&lt;F, Req, Out&gt;</a><a href="#impl-Service-for-StreamService%3CS%2C%20T%2C%20E%3E">StreamService&lt;S, T, E&gt;</a><a href="#impl-Service-for-TcpConnectService%3CT%3E">TcpConnectService&lt;T&gt;</a><a href="#impl-Service-for-TcpConnector%3CT%3E">TcpConnector&lt;T&gt;</a><a href="#impl-Service-for-Then%3CA%2C%20B%3E">Then&lt;A, B&gt;</a><a href="#impl-Service-for-TimeoutService%3CS%3E">TimeoutService&lt;S&gt;</a><a href="#impl-Service-for-UpgradeHandler%3CT%3E">UpgradeHandler&lt;T&gt;</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../index.html'>actix_web</a>::<wbr><a href='index.html'>dev</a></p><script>window.sidebarCurrent = {name: 'Service', ty: 'trait', 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_service/lib.rs.html#43-77' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../index.html'>actix_web</a>::<wbr><a href='index.html'>dev</a>::<wbr><a class="trait" href=''>Service</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait Service <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a> as <a class="trait" href="../../futures/future/trait.Future.html" title="trait futures::future::Future">Future</a>&gt;::<a class="type" href="../../futures/future/trait.Future.html#associatedtype.Item" title="type futures::future::Future::Item">Item</a> == Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a> as <a class="trait" href="../../futures/future/trait.Future.html" title="trait futures::future::Future">Future</a>&gt;::<a class="type" href="../../futures/future/trait.Future.html#associatedtype.Error" title="type futures::future::Future::Error">Error</a> == Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>,&nbsp;</span>{
type <a href='#associatedtype.Request' class="type">Request</a>;
type <a href='#associatedtype.Response' class="type">Response</a>;
type <a href='#associatedtype.Error' class="type">Error</a>;
type <a href='#associatedtype.Future' class="type">Future</a>: <a class="trait" href="../../futures/future/trait.Future.html" title="trait futures::future::Future">Future</a>;
fn <a href='#tymethod.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;;
<div class='item-spacer'></div> fn <a href='#tymethod.call' class='fnname'>call</a>(&amp;mut self, req: Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a>) -&gt; Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a>;
}</pre></div><div class='docblock'><p>An asynchronous function from <code>Request</code> to a <code>Response</code>.</p>
</div>
<h2 id='associated-types' class='small-section-header'>Associated Types<a href='#associated-types' class='anchor'></a></h2><div class='methods'><h3 id='associatedtype.Request' class='method'><code id='Request.t'>type <a href='#associatedtype.Request' class="type">Request</a></code></h3><div class='docblock'><p>Requests handled by the service.</p>
</div><h3 id='associatedtype.Response' class='method'><code id='Response.t'>type <a href='#associatedtype.Response' class="type">Response</a></code></h3><div class='docblock'><p>Responses given by the service.</p>
</div><h3 id='associatedtype.Error' class='method'><code id='Error.t'>type <a href='#associatedtype.Error' class="type">Error</a></code></h3><div class='docblock'><p>Errors produced by the service.</p>
</div><h3 id='associatedtype.Future' class='method'><code id='Future.t'>type <a href='#associatedtype.Future' class="type">Future</a>: <a class="trait" href="../../futures/future/trait.Future.html" title="trait futures::future::Future">Future</a></code></h3><div class='docblock'><p>The future response value.</p>
</div></div><span class='loading-content'>Loading content...</span>
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.poll_ready' class='method'><code id='poll_ready.v'>fn <a href='#tymethod.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code></h3><div class='docblock'><p>Returns <code>Ready</code> when the service is able to process requests.</p>
<p>If the service is at capacity, then <code>NotReady</code> is returned and the task
is notified when the service becomes ready again. This function is
expected to be called while on a task.</p>
<p>This is a <strong>best effort</strong> implementation. False positives are permitted.
It is permitted for the service to return <code>Ready</code> from a <code>poll_ready</code>
call and the next invocation of <code>call</code> results in an error.</p>
</div><h3 id='tymethod.call' class='method'><code id='call.v'>fn <a href='#tymethod.call' class='fnname'>call</a>(&amp;mut self, req: Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a>) -&gt; Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code></h3><div class='docblock'><p>Process the request and return the response asynchronously.</p>
<p>This function is expected to be callable off task. As such,
implementations should take care to not call <code>poll_ready</code>. If the
service is at capacity and the request is unable to be handled, the
returned <code>Future</code> should resolve to an error.</p>
<p>Calling <code>call</code> without calling <code>poll_ready</code> is permitted. The
implementation must be resilient to this fact.</p>
</div></div><span class='loading-content'>Loading content...</span>
<h2 id='foreign-impls' class='small-section-header'>Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a></h2><h3 id='impl-Service-for-UpgradeHandler%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a>&lt;T&gt;</code><a href='#impl-Service-for-UpgradeHandler%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/actix_http/h1/upgrade.rs.html#29-42' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-1' class="type"><code id='Request.t-1'>type <a href='#associatedtype.Request' class="type">Request</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&lt;Error = <a class="enum" href="../../actix_web/client/enum.PayloadError.html" title="enum actix_web::client::PayloadError">PayloadError</a>, Item = <a class="struct" href="../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a>&gt; + 'static&gt;&gt;, <a class="struct" href="../../actix_codec/framed/struct.Framed.html" title="struct actix_codec::framed::Framed">Framed</a>&lt;T, <a class="struct" href="../../actix_http/h1/codec/struct.Codec.html" title="struct actix_http::h1::codec::Codec">Codec</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></h4><h4 id='associatedtype.Response-1' class="type"><code id='Response.t-1'>type <a href='#associatedtype.Response' class="type">Response</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></h4><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../actix_web/error/struct.Error.html" title="struct actix_web::error::Error">Error</a></code></h4><h4 id='associatedtype.Future-1' class="type"><code id='Future.t-1'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="struct" href="../../futures/future/result_/struct.FutureResult.html" title="struct futures::future::result_::FutureResult">FutureResult</a>&lt;&lt;<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, &lt;<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code></h4><h4 id='method.poll_ready' class="method hidden"><code id='poll_ready.v-1'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_http/h1/upgrade.rs.html#35-37' title='goto source code'>[src]</a></h4><h4 id='method.call' class="method hidden"><code id='call.v-1'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_http/h1/upgrade.rs.html#39-41' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-H1ServiceHandler%3CT%2C%20P%2C%20S%2C%20B%2C%20X%2C%20U%3E' class='impl'><code class='in-band'>impl&lt;T, P, S, B, X, U&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_http/h1/service/struct.H1ServiceHandler.html" title="struct actix_http::h1::service::H1ServiceHandler">H1ServiceHandler</a>&lt;T, P, S, B, X, U&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;B: <a class="trait" href="../../actix_web/dev/trait.MessageBody.html" title="trait actix_web::dev::MessageBody">MessageBody</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&lt;Request = <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&lt;Error = <a class="enum" href="../../actix_web/client/enum.PayloadError.html" title="enum actix_web::client::PayloadError">PayloadError</a>, Item = <a class="struct" href="../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a>&gt; + 'static&gt;&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../../actix_server_config/trait.IoStream.html" title="trait actix_server_config::IoStream">IoStream</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&lt;Request = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&lt;Error = <a class="enum" href="../../actix_web/client/enum.PayloadError.html" title="enum actix_web::client::PayloadError">PayloadError</a>, Item = <a class="struct" href="../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a>&gt; + 'static&gt;&gt;, <a class="struct" href="../../actix_codec/framed/struct.Framed.html" title="struct actix_codec::framed::Framed">Framed</a>&lt;T, <a class="struct" href="../../actix_http/h1/codec/struct.Codec.html" title="struct actix_http::h1::codec::Codec">Codec</a>&gt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, Response = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;X: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&lt;Request = <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&lt;Error = <a class="enum" href="../../actix_web/client/enum.PayloadError.html" title="enum actix_web::client::PayloadError">PayloadError</a>, Item = <a class="struct" href="../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a>&gt; + 'static&gt;&gt;, Response = <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&lt;Error = <a class="enum" href="../../actix_web/client/enum.PayloadError.html" title="enum actix_web::client::PayloadError">PayloadError</a>, Item = <a class="struct" href="../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a>&gt; + 'static&gt;&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../actix_web/error/struct.Error.html" title="struct actix_web::error::Error">Error</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../actix_web/web/struct.HttpResponse.html" title="struct actix_web::web::HttpResponse">Response</a>&lt;B&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;X as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../actix_web/error/struct.Error.html" title="struct actix_web::error::Error">Error</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;U as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>,&nbsp;</span></code><a href='#impl-Service-for-H1ServiceHandler%3CT%2C%20P%2C%20S%2C%20B%2C%20X%2C%20U%3E' class='anchor'></a><a class='srclink' href='../../src/actix_http/h1/service.rs.html#270-334' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-2' class="type"><code id='Request.t-2'>type <a href='#associatedtype.Request' class="type">Request</a> = <a class="struct" href="../../actix_server_config/struct.Io.html" title="struct actix_server_config::Io">Io</a>&lt;T, P&gt;</code></h4><h4 id='associatedtype.Response-2' class="type"><code id='Response.t-2'>type <a href='#associatedtype.Response' class="type">Response</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></h4><h4 id='associatedtype.Error-2' class="type"><code id='Error.t-2'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../actix_web/error/enum.DispatchError.html" title="enum actix_web::error::DispatchError">DispatchError</a></code></h4><h4 id='associatedtype.Future-2' class="type"><code id='Future.t-2'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="struct" href="../../actix_http/h1/dispatcher/struct.Dispatcher.html" title="struct actix_http::h1::dispatcher::Dispatcher">Dispatcher</a>&lt;T, S, B, X, U&gt;</code></h4><h4 id='method.poll_ready-1' class="method hidden"><code id='poll_ready.v-2'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_http/h1/service/struct.H1ServiceHandler.html" title="struct actix_http::h1::service::H1ServiceHandler">H1ServiceHandler</a>&lt;T, P, S, B, X, U&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_http/h1/service.rs.html#287-314' title='goto source code'>[src]</a></h4><h4 id='method.call-1' class="method hidden"><code id='call.v-2'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;req: &lt;<a class="struct" href="../../actix_http/h1/service/struct.H1ServiceHandler.html" title="struct actix_http::h1::service::H1ServiceHandler">H1ServiceHandler</a>&lt;T, P, S, B, X, U&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_http/h1/service/struct.H1ServiceHandler.html" title="struct actix_http::h1::service::H1ServiceHandler">H1ServiceHandler</a>&lt;T, P, S, B, X, U&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_http/h1/service.rs.html#316-333' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-ExpectHandler' class='impl'><code class='in-band'>impl <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_http/h1/expect/struct.ExpectHandler.html" title="struct actix_http::h1::expect::ExpectHandler">ExpectHandler</a></code><a href='#impl-Service-for-ExpectHandler' class='anchor'></a><a class='srclink' href='../../src/actix_http/h1/expect.rs.html#25-38' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-3' class="type"><code id='Request.t-3'>type <a href='#associatedtype.Request' class="type">Request</a> = <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&lt;Error = <a class="enum" href="../../actix_web/client/enum.PayloadError.html" title="enum actix_web::client::PayloadError">PayloadError</a>, Item = <a class="struct" href="../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a>&gt; + 'static&gt;&gt;</code></h4><h4 id='associatedtype.Response-3' class="type"><code id='Response.t-3'>type <a href='#associatedtype.Response' class="type">Response</a> = <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&lt;Error = <a class="enum" href="../../actix_web/client/enum.PayloadError.html" title="enum actix_web::client::PayloadError">PayloadError</a>, Item = <a class="struct" href="../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a>&gt; + 'static&gt;&gt;</code></h4><h4 id='associatedtype.Error-3' class="type"><code id='Error.t-3'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../actix_web/error/struct.Error.html" title="struct actix_web::error::Error">Error</a></code></h4><h4 id='associatedtype.Future-3' class="type"><code id='Future.t-3'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="struct" href="../../futures/future/result_/struct.FutureResult.html" title="struct futures::future::result_::FutureResult">FutureResult</a>&lt;&lt;<a class="struct" href="../../actix_http/h1/expect/struct.ExpectHandler.html" title="struct actix_http::h1::expect::ExpectHandler">ExpectHandler</a> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, &lt;<a class="struct" href="../../actix_http/h1/expect/struct.ExpectHandler.html" title="struct actix_http::h1::expect::ExpectHandler">ExpectHandler</a> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code></h4><h4 id='method.poll_ready-2' class="method hidden"><code id='poll_ready.v-3'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_http/h1/expect/struct.ExpectHandler.html" title="struct actix_http::h1::expect::ExpectHandler">ExpectHandler</a> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_http/h1/expect.rs.html#31-33' title='goto source code'>[src]</a></h4><h4 id='method.call-2' class="method hidden"><code id='call.v-3'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;req: <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&lt;Error = <a class="enum" href="../../actix_web/client/enum.PayloadError.html" title="enum actix_web::client::PayloadError">PayloadError</a>, Item = <a class="struct" href="../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a>&gt; + 'static&gt;&gt;<br>) -&gt; &lt;<a class="struct" href="../../actix_http/h1/expect/struct.ExpectHandler.html" title="struct actix_http::h1::expect::ExpectHandler">ExpectHandler</a> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_http/h1/expect.rs.html#35-37' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-AndThen%3CA%2C%20B%3E' class='impl'><code class='in-band'>impl&lt;A, B&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_service/and_then/struct.AndThen.html" title="struct actix_service::and_then::AndThen">AndThen</a>&lt;A, B&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;B: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&lt;Request = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, Error = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;,&nbsp;</span></code><a href='#impl-Service-for-AndThen%3CA%2C%20B%3E' class='anchor'></a><a class='srclink' href='../../src/actix_service/and_then.rs.html#38-60' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-4' class="type"><code id='Request.t-4'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-4' class="type"><code id='Response.t-4'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-4' class="type"><code id='Error.t-4'>type <a href='#associatedtype.Error' class="type">Error</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a></code></h4><h4 id='associatedtype.Future-4' class="type"><code id='Future.t-4'>type <a href='#associatedtype.Future' class="type">Future</a> = AndThenFuture&lt;A, B&gt;</code></h4><h4 id='method.poll_ready-3' class="method hidden"><code id='poll_ready.v-4'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_service/and_then/struct.AndThen.html" title="struct actix_service::and_then::AndThen">AndThen</a>&lt;A, B&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_service/and_then.rs.html#48-55' title='goto source code'>[src]</a></h4><h4 id='method.call-3' class="method hidden"><code id='call.v-4'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;req: &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_service/and_then/struct.AndThen.html" title="struct actix_service::and_then::AndThen">AndThen</a>&lt;A, B&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/and_then.rs.html#57-59' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-Map%3CA%2C%20F%2C%20Response%3E' class='impl'><code class='in-band'>impl&lt;A, F, Response&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_service/map/struct.Map.html" title="struct actix_service::map::Map">Map</a>&lt;A, F, Response&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>) -&gt; Response + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-Service-for-Map%3CA%2C%20F%2C%20Response%3E' class='anchor'></a><a class='srclink' href='../../src/actix_service/map.rs.html#45-62' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-5' class="type"><code id='Request.t-5'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-5' class="type"><code id='Response.t-5'>type <a href='#associatedtype.Response' class="type">Response</a> = Response</code></h4><h4 id='associatedtype.Error-5' class="type"><code id='Error.t-5'>type <a href='#associatedtype.Error' class="type">Error</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a></code></h4><h4 id='associatedtype.Future-5' class="type"><code id='Future.t-5'>type <a href='#associatedtype.Future' class="type">Future</a> = MapFuture&lt;A, F, Response&gt;</code></h4><h4 id='method.poll_ready-4' class="method hidden"><code id='poll_ready.v-5'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_service/map/struct.Map.html" title="struct actix_service::map::Map">Map</a>&lt;A, F, Response&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_service/map.rs.html#55-57' title='goto source code'>[src]</a></h4><h4 id='method.call-4' class="method hidden"><code id='call.v-5'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;req: &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_service/map/struct.Map.html" title="struct actix_service::map::Map">Map</a>&lt;A, F, Response&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/map.rs.html#59-61' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-%26%27a%20mut%20S' class='impl'><code class='in-band'>impl&lt;'a, S&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a mut </a>S <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> + 'a,&nbsp;</span></code><a href='#impl-Service-for-%26%27a%20mut%20S' class='anchor'></a><a class='srclink' href='../../src/actix_service/lib.rs.html#337-353' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-6' class="type"><code id='Request.t-6'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-6' class="type"><code id='Response.t-6'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-6' class="type"><code id='Error.t-6'>type <a href='#associatedtype.Error' class="type">Error</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a></code></h4><h4 id='associatedtype.Future-6' class="type"><code id='Future.t-6'>type <a href='#associatedtype.Future' class="type">Future</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code></h4><h4 id='method.poll_ready-5' class="method hidden"><code id='poll_ready.v-6'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_service/lib.rs.html#346-348' title='goto source code'>[src]</a></h4><h4 id='method.call-5' class="method hidden"><code id='call.v-6'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;request: &lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a mut </a>S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/lib.rs.html#350-352' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-Rc%3CRefCell%3CS%3E%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a>&lt;S&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,&nbsp;</span></code><a href='#impl-Service-for-Rc%3CRefCell%3CS%3E%3E' class='anchor'></a><a class='srclink' href='../../src/actix_service/lib.rs.html#373-389' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-7' class="type"><code id='Request.t-7'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-7' class="type"><code id='Response.t-7'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-7' class="type"><code id='Error.t-7'>type <a href='#associatedtype.Error' class="type">Error</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a></code></h4><h4 id='associatedtype.Future-7' class="type"><code id='Future.t-7'>type <a href='#associatedtype.Future' class="type">Future</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code></h4><h4 id='method.poll_ready-6' class="method hidden"><code id='poll_ready.v-7'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_service/lib.rs.html#382-384' title='goto source code'>[src]</a></h4><h4 id='method.call-6' class="method hidden"><code id='call.v-7'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;request: &lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a>&lt;S&gt;&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/lib.rs.html#386-388' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-MapErr%3CA%2C%20F%2C%20E%3E' class='impl'><code class='in-band'>impl&lt;A, F, E&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_service/map_err/struct.MapErr.html" title="struct actix_service::map_err::MapErr">MapErr</a>&lt;A, F, E&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>) -&gt; E + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-Service-for-MapErr%3CA%2C%20F%2C%20E%3E' class='anchor'></a><a class='srclink' href='../../src/actix_service/map_err.rs.html#46-63' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-8' class="type"><code id='Request.t-8'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-8' class="type"><code id='Response.t-8'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-8' class="type"><code id='Error.t-8'>type <a href='#associatedtype.Error' class="type">Error</a> = E</code></h4><h4 id='associatedtype.Future-8' class="type"><code id='Future.t-8'>type <a href='#associatedtype.Future' class="type">Future</a> = MapErrFuture&lt;A, F, E&gt;</code></h4><h4 id='method.poll_ready-7' class="method hidden"><code id='poll_ready.v-8'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_service/map_err/struct.MapErr.html" title="struct actix_service::map_err::MapErr">MapErr</a>&lt;A, F, E&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_service/map_err.rs.html#56-58' title='goto source code'>[src]</a></h4><h4 id='method.call-7' class="method hidden"><code id='call.v-8'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;req: &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_service/map_err/struct.MapErr.html" title="struct actix_service::map_err::MapErr">MapErr</a>&lt;A, F, E&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/map_err.rs.html#60-62' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-Blank%3CR%2C%20E%3E' class='impl'><code class='in-band'>impl&lt;R, E&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_service/blank/struct.Blank.html" title="struct actix_service::blank::Blank">Blank</a>&lt;R, E&gt;</code><a href='#impl-Service-for-Blank%3CR%2C%20E%3E' class='anchor'></a><a class='srclink' href='../../src/actix_service/blank.rs.html#33-46' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-9' class="type"><code id='Request.t-9'>type <a href='#associatedtype.Request' class="type">Request</a> = R</code></h4><h4 id='associatedtype.Response-9' class="type"><code id='Response.t-9'>type <a href='#associatedtype.Response' class="type">Response</a> = R</code></h4><h4 id='associatedtype.Error-9' class="type"><code id='Error.t-9'>type <a href='#associatedtype.Error' class="type">Error</a> = E</code></h4><h4 id='associatedtype.Future-9' class="type"><code id='Future.t-9'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="struct" href="../../futures/future/result_/struct.FutureResult.html" title="struct futures::future::result_::FutureResult">FutureResult</a>&lt;R, E&gt;</code></h4><h4 id='method.poll_ready-8' class="method hidden"><code id='poll_ready.v-9'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_service/blank/struct.Blank.html" title="struct actix_service::blank::Blank">Blank</a>&lt;R, E&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_service/blank.rs.html#39-41' title='goto source code'>[src]</a></h4><h4 id='method.call-8' class="method hidden"><code id='call.v-9'>fn <a href='#method.call' class='fnname'>call</a>(&amp;mut self, req: R) -&gt; &lt;<a class="struct" href="../../actix_service/blank/struct.Blank.html" title="struct actix_service::blank::Blank">Blank</a>&lt;R, E&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/blank.rs.html#43-45' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-Then%3CA%2C%20B%3E' class='impl'><code class='in-band'>impl&lt;A, B&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_service/then/struct.Then.html" title="struct actix_service::then::Then">Then</a>&lt;A, B&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;B: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&lt;Request = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;, Error = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;,&nbsp;</span></code><a href='#impl-Service-for-Then%3CA%2C%20B%3E' class='anchor'></a><a class='srclink' href='../../src/actix_service/then.rs.html#38-60' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-10' class="type"><code id='Request.t-10'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-10' class="type"><code id='Response.t-10'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-10' class="type"><code id='Error.t-10'>type <a href='#associatedtype.Error' class="type">Error</a> = &lt;B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a></code></h4><h4 id='associatedtype.Future-10' class="type"><code id='Future.t-10'>type <a href='#associatedtype.Future' class="type">Future</a> = ThenFuture&lt;A, B&gt;</code></h4><h4 id='method.poll_ready-9' class="method hidden"><code id='poll_ready.v-10'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_service/then/struct.Then.html" title="struct actix_service::then::Then">Then</a>&lt;A, B&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_service/then.rs.html#48-55' title='goto source code'>[src]</a></h4><h4 id='method.call-9' class="method hidden"><code id='call.v-10'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;req: &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_service/then/struct.Then.html" title="struct actix_service::then::Then">Then</a>&lt;A, B&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/then.rs.html#57-59' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-Box%3CS%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;S&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Service-for-Box%3CS%3E' class='anchor'></a><a class='srclink' href='../../src/actix_service/lib.rs.html#355-371' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-11' class="type"><code id='Request.t-11'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-11' class="type"><code id='Response.t-11'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-11' class="type"><code id='Error.t-11'>type <a href='#associatedtype.Error' class="type">Error</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a></code></h4><h4 id='associatedtype.Future-11' class="type"><code id='Future.t-11'>type <a href='#associatedtype.Future' class="type">Future</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code></h4><h4 id='method.poll_ready-10' class="method hidden"><code id='poll_ready.v-11'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_service/lib.rs.html#364-366' title='goto source code'>[src]</a></h4><h4 id='method.call-10' class="method hidden"><code id='call.v-11'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;request: &lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;S&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/lib.rs.html#368-370' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-FromErr%3CA%2C%20E%3E' class='impl'><code class='in-band'>impl&lt;A, E&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_service/from_err/struct.FromErr.html" title="struct actix_service::from_err::FromErr">FromErr</a>&lt;A, E&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;&lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;,&nbsp;</span></code><a href='#impl-Service-for-FromErr%3CA%2C%20E%3E' class='anchor'></a><a class='srclink' href='../../src/actix_service/from_err.rs.html#40-60' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-12' class="type"><code id='Request.t-12'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-12' class="type"><code id='Response.t-12'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-12' class="type"><code id='Error.t-12'>type <a href='#associatedtype.Error' class="type">Error</a> = E</code></h4><h4 id='associatedtype.Future-12' class="type"><code id='Future.t-12'>type <a href='#associatedtype.Future' class="type">Future</a> = FromErrFuture&lt;A, E&gt;</code></h4><h4 id='method.poll_ready-11' class="method hidden"><code id='poll_ready.v-12'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, E&gt;</code><a class='srclink' href='../../src/actix_service/from_err.rs.html#50-52' title='goto source code'>[src]</a></h4><h4 id='method.call-11' class="method hidden"><code id='call.v-12'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;req: &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_service/from_err/struct.FromErr.html" title="struct actix_service::from_err::FromErr">FromErr</a>&lt;A, E&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/from_err.rs.html#54-59' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-ServiceFn%3CF%2C%20Req%2C%20Out%3E' class='impl'><code class='in-band'>impl&lt;F, Req, Out&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_service/fn_service/struct.ServiceFn.html" title="struct actix_service::fn_service::ServiceFn">ServiceFn</a>&lt;F, Req, Out&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(Req) -&gt; Out,<br>&nbsp;&nbsp;&nbsp;&nbsp;Out: <a class="trait" href="../../futures/future/trait.IntoFuture.html" title="trait futures::future::IntoFuture">IntoFuture</a>,&nbsp;</span></code><a href='#impl-Service-for-ServiceFn%3CF%2C%20Req%2C%20Out%3E' class='anchor'></a><a class='srclink' href='../../src/actix_service/fn_service.rs.html#68-85' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-13' class="type"><code id='Request.t-13'>type <a href='#associatedtype.Request' class="type">Request</a> = Req</code></h4><h4 id='associatedtype.Response-13' class="type"><code id='Response.t-13'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;Out as <a class="trait" href="../../futures/future/trait.IntoFuture.html" title="trait futures::future::IntoFuture">IntoFuture</a>&gt;::<a class="type" href="../../futures/future/trait.IntoFuture.html#associatedtype.Item" title="type futures::future::IntoFuture::Item">Item</a></code></h4><h4 id='associatedtype.Error-13' class="type"><code id='Error.t-13'>type <a href='#associatedtype.Error' class="type">Error</a> = &lt;Out as <a class="trait" href="../../futures/future/trait.IntoFuture.html" title="trait futures::future::IntoFuture">IntoFuture</a>&gt;::<a class="type" href="../../futures/future/trait.IntoFuture.html#associatedtype.Error" title="type futures::future::IntoFuture::Error">Error</a></code></h4><h4 id='associatedtype.Future-13' class="type"><code id='Future.t-13'>type <a href='#associatedtype.Future' class="type">Future</a> = &lt;Out as <a class="trait" href="../../futures/future/trait.IntoFuture.html" title="trait futures::future::IntoFuture">IntoFuture</a>&gt;::<a class="type" href="../../futures/future/trait.IntoFuture.html#associatedtype.Future" title="type futures::future::IntoFuture::Future">Future</a></code></h4><h4 id='method.poll_ready-12' class="method hidden"><code id='poll_ready.v-13'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_service/fn_service/struct.ServiceFn.html" title="struct actix_service::fn_service::ServiceFn">ServiceFn</a>&lt;F, Req, Out&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_service/fn_service.rs.html#78-80' title='goto source code'>[src]</a></h4><h4 id='method.call-12' class="method hidden"><code id='call.v-13'>fn <a href='#method.call' class='fnname'>call</a>(&amp;mut self, req: Req) -&gt; &lt;<a class="struct" href="../../actix_service/fn_service/struct.ServiceFn.html" title="struct actix_service::fn_service::ServiceFn">ServiceFn</a>&lt;F, Req, Out&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_service/fn_service.rs.html#82-84' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-Resolver%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_connect/resolver/struct.Resolver.html" title="struct actix_connect::resolver::Resolver">Resolver</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../../actix_connect/connect/trait.Address.html" title="trait actix_connect::connect::Address">Address</a>,&nbsp;</span></code><a href='#impl-Service-for-Resolver%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/actix_connect/resolver.rs.html#103-127' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-14' class="type"><code id='Request.t-14'>type <a href='#associatedtype.Request' class="type">Request</a> = <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;</code></h4><h4 id='associatedtype.Response-14' class="type"><code id='Response.t-14'>type <a href='#associatedtype.Response' class="type">Response</a> = <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;</code></h4><h4 id='associatedtype.Error-14' class="type"><code id='Error.t-14'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../actix_connect/error/enum.ConnectError.html" title="enum actix_connect::error::ConnectError">ConnectError</a></code></h4><h4 id='associatedtype.Future-14' class="type"><code id='Future.t-14'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="enum" href="../../futures/future/either/enum.Either.html" title="enum futures::future::either::Either">Either</a>&lt;ResolverFuture&lt;T&gt;, <a class="struct" href="../../futures/future/result_/struct.FutureResult.html" title="struct futures::future::result_::FutureResult">FutureResult</a>&lt;<a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;, &lt;<a class="struct" href="../../actix_connect/resolver/struct.Resolver.html" title="struct actix_connect::resolver::Resolver">Resolver</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;&gt;</code></h4><h4 id='method.poll_ready-13' class="method hidden"><code id='poll_ready.v-14'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_connect/resolver/struct.Resolver.html" title="struct actix_connect::resolver::Resolver">Resolver</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_connect/resolver.rs.html#109-111' title='goto source code'>[src]</a></h4><h4 id='method.call-13' class="method hidden"><code id='call.v-14'>fn <a href='#method.call' class='fnname'>call</a>(&amp;mut self, req: <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;) -&gt; &lt;<a class="struct" href="../../actix_connect/resolver/struct.Resolver.html" title="struct actix_connect::resolver::Resolver">Resolver</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_connect/resolver.rs.html#113-126' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-ConnectService%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_connect/service/struct.ConnectService.html" title="struct actix_connect::service::ConnectService">ConnectService</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../../actix_connect/connect/trait.Address.html" title="trait actix_connect::connect::Address">Address</a>,&nbsp;</span></code><a href='#impl-Service-for-ConnectService%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/actix_connect/service.rs.html#89-106' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-15' class="type"><code id='Request.t-15'>type <a href='#associatedtype.Request' class="type">Request</a> = <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;</code></h4><h4 id='associatedtype.Response-15' class="type"><code id='Response.t-15'>type <a href='#associatedtype.Response' class="type">Response</a> = <a class="struct" href="../../actix_connect/connect/struct.Connection.html" title="struct actix_connect::connect::Connection">Connection</a>&lt;T, <a class="struct" href="../../tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>&gt;</code></h4><h4 id='associatedtype.Error-15' class="type"><code id='Error.t-15'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../actix_connect/error/enum.ConnectError.html" title="enum actix_connect::error::ConnectError">ConnectError</a></code></h4><h4 id='associatedtype.Future-15' class="type"><code id='Future.t-15'>type <a href='#associatedtype.Future' class="type">Future</a> = ConnectServiceResponse&lt;T&gt;</code></h4><h4 id='method.poll_ready-14' class="method hidden"><code id='poll_ready.v-15'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_connect/service/struct.ConnectService.html" title="struct actix_connect::service::ConnectService">ConnectService</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_connect/service.rs.html#95-97' title='goto source code'>[src]</a></h4><h4 id='method.call-14' class="method hidden"><code id='call.v-15'>fn <a href='#method.call' class='fnname'>call</a>(&amp;mut self, req: <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;) -&gt; &lt;<a class="struct" href="../../actix_connect/service/struct.ConnectService.html" title="struct actix_connect::service::ConnectService">ConnectService</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_connect/service.rs.html#99-105' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-TcpConnector%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_connect/connector/struct.TcpConnector.html" title="struct actix_connect::connector::TcpConnector">TcpConnector</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../../actix_connect/connect/trait.Address.html" title="trait actix_connect::connect::Address">Address</a>,&nbsp;</span></code><a href='#impl-Service-for-TcpConnector%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/actix_connect/connector.rs.html#70-91' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-16' class="type"><code id='Request.t-16'>type <a href='#associatedtype.Request' class="type">Request</a> = <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;</code></h4><h4 id='associatedtype.Response-16' class="type"><code id='Response.t-16'>type <a href='#associatedtype.Response' class="type">Response</a> = <a class="struct" href="../../actix_connect/connect/struct.Connection.html" title="struct actix_connect::connect::Connection">Connection</a>&lt;T, <a class="struct" href="../../tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>&gt;</code></h4><h4 id='associatedtype.Error-16' class="type"><code id='Error.t-16'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../actix_connect/error/enum.ConnectError.html" title="enum actix_connect::error::ConnectError">ConnectError</a></code></h4><h4 id='associatedtype.Future-16' class="type"><code id='Future.t-16'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="enum" href="../../futures/future/either/enum.Either.html" title="enum futures::future::either::Either">Either</a>&lt;TcpConnectorResponse&lt;T&gt;, <a class="struct" href="../../futures/future/result_/struct.FutureResult.html" title="struct futures::future::result_::FutureResult">FutureResult</a>&lt;&lt;<a class="struct" href="../../actix_connect/connector/struct.TcpConnector.html" title="struct actix_connect::connector::TcpConnector">TcpConnector</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, &lt;<a class="struct" href="../../actix_connect/connector/struct.TcpConnector.html" title="struct actix_connect::connector::TcpConnector">TcpConnector</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;&gt;</code></h4><h4 id='method.poll_ready-15' class="method hidden"><code id='poll_ready.v-16'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_connect/connector/struct.TcpConnector.html" title="struct actix_connect::connector::TcpConnector">TcpConnector</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_connect/connector.rs.html#76-78' title='goto source code'>[src]</a></h4><h4 id='method.call-15' class="method hidden"><code id='call.v-16'>fn <a href='#method.call' class='fnname'>call</a>(&amp;mut self, req: <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;) -&gt; &lt;<a class="struct" href="../../actix_connect/connector/struct.TcpConnector.html" title="struct actix_connect::connector::TcpConnector">TcpConnector</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_connect/connector.rs.html#80-90' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-TcpConnectService%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_connect/service/struct.TcpConnectService.html" title="struct actix_connect::service::TcpConnectService">TcpConnectService</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../../actix_connect/connect/trait.Address.html" title="trait actix_connect::connect::Address">Address</a>,&nbsp;</span></code><a href='#impl-Service-for-TcpConnectService%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/actix_connect/service.rs.html#139-156' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-17' class="type"><code id='Request.t-17'>type <a href='#associatedtype.Request' class="type">Request</a> = <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;</code></h4><h4 id='associatedtype.Response-17' class="type"><code id='Response.t-17'>type <a href='#associatedtype.Response' class="type">Response</a> = <a class="struct" href="../../tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a></code></h4><h4 id='associatedtype.Error-17' class="type"><code id='Error.t-17'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../actix_connect/error/enum.ConnectError.html" title="enum actix_connect::error::ConnectError">ConnectError</a></code></h4><h4 id='associatedtype.Future-17' class="type"><code id='Future.t-17'>type <a href='#associatedtype.Future' class="type">Future</a> = TcpConnectServiceResponse&lt;T&gt;</code></h4><h4 id='method.poll_ready-16' class="method hidden"><code id='poll_ready.v-17'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_connect/service/struct.TcpConnectService.html" title="struct actix_connect::service::TcpConnectService">TcpConnectService</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_connect/service.rs.html#145-147' title='goto source code'>[src]</a></h4><h4 id='method.call-16' class="method hidden"><code id='call.v-17'>fn <a href='#method.call' class='fnname'>call</a>(&amp;mut self, req: <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a>&lt;T&gt;) -&gt; &lt;<a class="struct" href="../../actix_connect/service/struct.TcpConnectService.html" title="struct actix_connect::service::TcpConnectService">TcpConnectService</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_connect/service.rs.html#149-155' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-LowResTimeService' class='impl'><code class='in-band'>impl <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_utils/time/struct.LowResTimeService.html" title="struct actix_utils::time::LowResTimeService">LowResTimeService</a></code><a href='#impl-Service-for-LowResTimeService' class='anchor'></a><a class='srclink' href='../../src/actix_utils/time.rs.html#93-106' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-18' class="type"><code id='Request.t-18'>type <a href='#associatedtype.Request' class="type">Request</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></h4><h4 id='associatedtype.Response-18' class="type"><code id='Response.t-18'>type <a href='#associatedtype.Response' class="type">Response</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a></code></h4><h4 id='associatedtype.Error-18' class="type"><code id='Error.t-18'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><h4 id='associatedtype.Future-18' class="type"><code id='Future.t-18'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="struct" href="../../futures/future/result_/struct.FutureResult.html" title="struct futures::future::result_::FutureResult">FutureResult</a>&lt;&lt;<a class="struct" href="../../actix_utils/time/struct.LowResTimeService.html" title="struct actix_utils::time::LowResTimeService">LowResTimeService</a> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, &lt;<a class="struct" href="../../actix_utils/time/struct.LowResTimeService.html" title="struct actix_utils::time::LowResTimeService">LowResTimeService</a> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code></h4><h4 id='method.poll_ready-17' class="method hidden"><code id='poll_ready.v-18'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_utils/time/struct.LowResTimeService.html" title="struct actix_utils::time::LowResTimeService">LowResTimeService</a> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_utils/time.rs.html#99-101' title='goto source code'>[src]</a></h4><h4 id='method.call-17' class="method hidden"><code id='call.v-18'>fn <a href='#method.call' class='fnname'>call</a>(&amp;mut self, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -&gt; &lt;<a class="struct" href="../../actix_utils/time/struct.LowResTimeService.html" title="struct actix_utils::time::LowResTimeService">LowResTimeService</a> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_utils/time.rs.html#103-105' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-TimeoutService%3CS%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_utils/timeout/struct.TimeoutService.html" title="struct actix_utils::timeout::TimeoutService">TimeoutService</a>&lt;S&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,&nbsp;</span></code><a href='#impl-Service-for-TimeoutService%3CS%3E' class='anchor'></a><a class='srclink' href='../../src/actix_utils/timeout.rs.html#124-143' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-19' class="type"><code id='Request.t-19'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-19' class="type"><code id='Response.t-19'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-19' class="type"><code id='Error.t-19'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../actix_utils/timeout/enum.TimeoutError.html" title="enum actix_utils::timeout::TimeoutError">TimeoutError</a>&lt;&lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code></h4><h4 id='associatedtype.Future-19' class="type"><code id='Future.t-19'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="struct" href="../../actix_utils/timeout/struct.TimeoutServiceResponse.html" title="struct actix_utils::timeout::TimeoutServiceResponse">TimeoutServiceResponse</a>&lt;S&gt;</code></h4><h4 id='method.poll_ready-18' class="method hidden"><code id='poll_ready.v-19'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_utils/timeout/struct.TimeoutService.html" title="struct actix_utils::timeout::TimeoutService">TimeoutService</a>&lt;S&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_utils/timeout.rs.html#133-135' title='goto source code'>[src]</a></h4><h4 id='method.call-18' class="method hidden"><code id='call.v-19'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;request: &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_utils/timeout/struct.TimeoutService.html" title="struct actix_utils::timeout::TimeoutService">TimeoutService</a>&lt;S&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_utils/timeout.rs.html#137-142' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-InOrderService%3CS%3E' class='impl'><code class='in-band'>impl&lt;S&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_utils/order/struct.InOrderService.html" title="struct actix_utils::order::InOrderService">InOrderService</a>&lt;S&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>: 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a>: 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>: 'static,&nbsp;</span></code><a href='#impl-Service-for-InOrderService%3CS%3E' class='anchor'></a><a class='srclink' href='../../src/actix_utils/order.rs.html#128-179' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-20' class="type"><code id='Request.t-20'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-20' class="type"><code id='Response.t-20'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-20' class="type"><code id='Error.t-20'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="enum" href="../../actix_utils/order/enum.InOrderError.html" title="enum actix_utils::order::InOrderError">InOrderError</a>&lt;&lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code></h4><h4 id='associatedtype.Future-20' class="type"><code id='Future.t-20'>type <a href='#associatedtype.Future' class="type">Future</a> = InOrderServiceResponse&lt;S&gt;</code></h4><h4 id='method.poll_ready-19' class="method hidden"><code id='poll_ready.v-20'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_utils/order/struct.InOrderService.html" title="struct actix_utils::order::InOrderService">InOrderService</a>&lt;S&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_utils/order.rs.html#140-163' title='goto source code'>[src]</a></h4><h4 id='method.call-19' class="method hidden"><code id='call.v-20'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;request: &lt;S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_utils/order/struct.InOrderService.html" title="struct actix_utils::order::InOrderService">InOrderService</a>&lt;S&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_utils/order.rs.html#165-178' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-InFlightService%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_utils/inflight/struct.InFlightService.html" title="struct actix_utils::inflight::InFlightService">InFlightService</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,&nbsp;</span></code><a href='#impl-Service-for-InFlightService%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/actix_utils/inflight.rs.html#62-88' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-21' class="type"><code id='Request.t-21'>type <a href='#associatedtype.Request' class="type">Request</a> = &lt;T as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a></code></h4><h4 id='associatedtype.Response-21' class="type"><code id='Response.t-21'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;T as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-21' class="type"><code id='Error.t-21'>type <a href='#associatedtype.Error' class="type">Error</a> = &lt;T as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a></code></h4><h4 id='associatedtype.Future-21' class="type"><code id='Future.t-21'>type <a href='#associatedtype.Future' class="type">Future</a> = InFlightServiceResponse&lt;T&gt;</code></h4><h4 id='method.poll_ready-20' class="method hidden"><code id='poll_ready.v-21'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_utils/inflight/struct.InFlightService.html" title="struct actix_utils::inflight::InFlightService">InFlightService</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_utils/inflight.rs.html#71-80' title='goto source code'>[src]</a></h4><h4 id='method.call-20' class="method hidden"><code id='call.v-21'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;req: &lt;T as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -&gt; &lt;<a class="struct" href="../../actix_utils/inflight/struct.InFlightService.html" title="struct actix_utils::inflight::InFlightService">InFlightService</a>&lt;T&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_utils/inflight.rs.html#82-87' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-StreamService%3CS%2C%20T%2C%20E%3E' class='impl'><code class='in-band'>impl&lt;S, T, E&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_utils/stream/struct.StreamService.html" title="struct actix_utils::stream::StreamService">StreamService</a>&lt;S, T, E&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: 'static + <a class="trait" href="../../actix_utils/stream/trait.IntoStream.html" title="trait actix_utils::stream::IntoStream">IntoStream</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../../actix_service/trait.NewService.html" title="trait actix_service::NewService">NewService</a>&lt;Request = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&lt;S as <a class="trait" href="../../actix_utils/stream/trait.IntoStream.html" title="trait actix_utils::stream::IntoStream">IntoStream</a>&gt;::<a class="type" href="../../actix_utils/stream/trait.IntoStream.html#associatedtype.Item" title="type actix_utils::stream::IntoStream::Item">Item</a>, &lt;S as <a class="trait" href="../../actix_utils/stream/trait.IntoStream.html" title="trait actix_utils::stream::IntoStream">IntoStream</a>&gt;::<a class="type" href="../../actix_utils/stream/trait.IntoStream.html#associatedtype.Error" title="type actix_utils::stream::IntoStream::Error">Error</a>&gt;, Response = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = E, InitError = E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;T as <a class="trait" href="../../actix_service/trait.NewService.html" title="trait actix_service::NewService">NewService</a>&gt;::<a class="type" href="../../actix_service/trait.NewService.html#associatedtype.Future" title="type actix_service::NewService::Future">Future</a>: 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;T as <a class="trait" href="../../actix_service/trait.NewService.html" title="trait actix_service::NewService">NewService</a>&gt;::<a class="type" href="../../actix_service/trait.NewService.html#associatedtype.Service" title="type actix_service::NewService::Service">Service</a>: 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;&lt;T as <a class="trait" href="../../actix_service/trait.NewService.html" title="trait actix_service::NewService">NewService</a>&gt;::<a class="type" href="../../actix_service/trait.NewService.html#associatedtype.Service" title="type actix_service::NewService::Service">Service</a> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a>: 'static,&nbsp;</span></code><a href='#impl-Service-for-StreamService%3CS%2C%20T%2C%20E%3E' class='anchor'></a><a class='srclink' href='../../src/actix_utils/stream.rs.html#37-61' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-22' class="type"><code id='Request.t-22'>type <a href='#associatedtype.Request' class="type">Request</a> = S</code></h4><h4 id='associatedtype.Response-22' class="type"><code id='Response.t-22'>type <a href='#associatedtype.Response' class="type">Response</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></h4><h4 id='associatedtype.Error-22' class="type"><code id='Error.t-22'>type <a href='#associatedtype.Error' class="type">Error</a> = E</code></h4><h4 id='associatedtype.Future-22' class="type"><code id='Future.t-22'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../../futures/future/trait.Future.html" title="trait futures::future::Future">Future</a>&lt;Error = E, Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt; + 'static&gt;</code></h4><h4 id='method.poll_ready-21' class="method hidden"><code id='poll_ready.v-22'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_utils/stream/struct.StreamService.html" title="struct actix_utils::stream::StreamService">StreamService</a>&lt;S, T, E&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_utils/stream.rs.html#50-52' title='goto source code'>[src]</a></h4><h4 id='method.call-21' class="method hidden"><code id='call.v-22'>fn <a href='#method.call' class='fnname'>call</a>(&amp;mut self, req: S) -&gt; &lt;<a class="struct" href="../../actix_utils/stream/struct.StreamService.html" title="struct actix_utils::stream::StreamService">StreamService</a>&lt;S, T, E&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_utils/stream.rs.html#54-60' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-KeepAliveService%3CR%2C%20E%2C%20F%3E' class='impl'><code class='in-band'>impl&lt;R, E, F&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_utils/keepalive/struct.KeepAliveService.html" title="struct actix_utils::keepalive::KeepAliveService">KeepAliveService</a>&lt;R, E, F&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -&gt; E,&nbsp;</span></code><a href='#impl-Service-for-KeepAliveService%3CR%2C%20E%2C%20F%3E' class='anchor'></a><a class='srclink' href='../../src/actix_utils/keepalive.rs.html#94-124' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-23' class="type"><code id='Request.t-23'>type <a href='#associatedtype.Request' class="type">Request</a> = R</code></h4><h4 id='associatedtype.Response-23' class="type"><code id='Response.t-23'>type <a href='#associatedtype.Response' class="type">Response</a> = R</code></h4><h4 id='associatedtype.Error-23' class="type"><code id='Error.t-23'>type <a href='#associatedtype.Error' class="type">Error</a> = E</code></h4><h4 id='associatedtype.Future-23' class="type"><code id='Future.t-23'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="struct" href="../../futures/future/result_/struct.FutureResult.html" title="struct futures::future::result_::FutureResult">FutureResult</a>&lt;R, E&gt;</code></h4><h4 id='method.poll_ready-22' class="method hidden"><code id='poll_ready.v-23'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_utils/keepalive/struct.KeepAliveService.html" title="struct actix_utils::keepalive::KeepAliveService">KeepAliveService</a>&lt;R, E, F&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_utils/keepalive.rs.html#103-118' title='goto source code'>[src]</a></h4><h4 id='method.call-22' class="method hidden"><code id='call.v-23'>fn <a href='#method.call' class='fnname'>call</a>(&amp;mut self, req: R) -&gt; &lt;<a class="struct" href="../../actix_utils/keepalive/struct.KeepAliveService.html" title="struct actix_utils::keepalive::KeepAliveService">KeepAliveService</a>&lt;R, E, F&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_utils/keepalive.rs.html#120-123' title='goto source code'>[src]</a></h4></div><h3 id='impl-Service-for-EitherService%3CA%2C%20B%3E' class='impl'><code class='in-band'>impl&lt;A, B&gt; <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> for <a class="struct" href="../../actix_utils/either/struct.EitherService.html" title="struct actix_utils::either::EitherService">EitherService</a>&lt;A, B&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;B: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&lt;Response = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, Error = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;,&nbsp;</span></code><a href='#impl-Service-for-EitherService%3CA%2C%20B%3E' class='anchor'></a><a class='srclink' href='../../src/actix_utils/either.rs.html#24-51' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Request-24' class="type"><code id='Request.t-24'>type <a href='#associatedtype.Request' class="type">Request</a> = <a class="enum" href="../../either/enum.Either.html" title="enum either::Either">Either</a>&lt;&lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a>, &lt;B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a>&gt;</code></h4><h4 id='associatedtype.Response-24' class="type"><code id='Response.t-24'>type <a href='#associatedtype.Response' class="type">Response</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a></code></h4><h4 id='associatedtype.Error-24' class="type"><code id='Error.t-24'>type <a href='#associatedtype.Error' class="type">Error</a> = &lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a></code></h4><h4 id='associatedtype.Future-24' class="type"><code id='Future.t-24'>type <a href='#associatedtype.Future' class="type">Future</a> = <a class="enum" href="../../futures/future/either/enum.Either.html" title="enum futures::future::either::Either">Either</a>&lt;&lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a>, &lt;B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a>&gt;</code></h4><h4 id='method.poll_ready-23' class="method hidden"><code id='poll_ready.v-24'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;, &lt;<a class="struct" href="../../actix_utils/either/struct.EitherService.html" title="struct actix_utils::either::EitherService">EitherService</a>&lt;A, B&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>&gt;</code><a class='srclink' href='../../src/actix_utils/either.rs.html#34-43' title='goto source code'>[src]</a></h4><h4 id='method.call-23' class="method hidden"><code id='call.v-24'>fn <a href='#method.call' class='fnname'>call</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;req: <a class="enum" href="../../either/enum.Either.html" title="enum either::Either">Either</a>&lt;&lt;A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a>, &lt;B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a>&gt;<br>) -&gt; &lt;<a class="struct" href="../../actix_utils/either/struct.EitherService.html" title="struct actix_utils::either::EitherService">EitherService</a>&lt;A, B&gt; as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>&gt;::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a></code><a class='srclink' href='../../src/actix_utils/either.rs.html#45-50' title='goto source code'>[src]</a></h4></div><span class='loading-content'>Loading content...</span>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'></div><span class='loading-content'>Loading content...</span><script type="text/javascript" src="../../implementors/actix_service/trait.Service.js" async></script></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>