31 lines
127 KiB
HTML
31 lines
127 KiB
HTML
<!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">☰</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">&'a mut S</a><a href="#impl-Service-for-AndThen%3CA%2C%20B%3E">AndThen<A, B></a><a href="#impl-Service-for-Blank%3CR%2C%20E%3E">Blank<R, E></a><a href="#impl-Service-for-Box%3CS%3E">Box<S></a><a href="#impl-Service-for-ConnectService%3CT%3E">ConnectService<T></a><a href="#impl-Service-for-EitherService%3CA%2C%20B%3E">EitherService<A, B></a><a href="#impl-Service-for-ExpectHandler">ExpectHandler</a><a href="#impl-Service-for-FromErr%3CA%2C%20E%3E">FromErr<A, E></a><a href="#impl-Service-for-H1ServiceHandler%3CT%2C%20P%2C%20S%2C%20B%2C%20X%2C%20U%3E">H1ServiceHandler<T, P, S, B, X, U></a><a href="#impl-Service-for-InFlightService%3CT%3E">InFlightService<T></a><a href="#impl-Service-for-InOrderService%3CS%3E">InOrderService<S></a><a href="#impl-Service-for-KeepAliveService%3CR%2C%20E%2C%20F%3E">KeepAliveService<R, E, F></a><a href="#impl-Service-for-LowResTimeService">LowResTimeService</a><a href="#impl-Service-for-Map%3CA%2C%20F%2C%20Response%3E">Map<A, F, Response></a><a href="#impl-Service-for-MapErr%3CA%2C%20F%2C%20E%3E">MapErr<A, F, E></a><a href="#impl-Service-for-Rc%3CRefCell%3CS%3E%3E">Rc<RefCell<S>></a><a href="#impl-Service-for-Resolver%3CT%3E">Resolver<T></a><a href="#impl-Service-for-ServiceFn%3CF%2C%20Req%2C%20Out%3E">ServiceFn<F, Req, Out></a><a href="#impl-Service-for-StreamService%3CS%2C%20T%2C%20E%3E">StreamService<S, T, E></a><a href="#impl-Service-for-TcpConnectService%3CT%3E">TcpConnectService<T></a><a href="#impl-Service-for-TcpConnector%3CT%3E">TcpConnector<T></a><a href="#impl-Service-for-Then%3CA%2C%20B%3E">Then<A, B></a><a href="#impl-Service-for-TimeoutService%3CS%3E">TimeoutService<S></a><a href="#impl-Service-for-UpgradeHandler%3CT%3E">UpgradeHandler<T></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'>−</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> <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>>::<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> <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>>::<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>, </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>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>>;
|
||
<div class='item-spacer'></div> fn <a href='#tymethod.call' class='fnname'>call</a>(&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>) -> 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>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, Self::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&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>) -> 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<T> <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><T></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><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><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>> + 'static>>, <a class="struct" href="../../actix_codec/framed/struct.Framed.html" title="struct actix_codec::framed::Framed">Framed</a><T, <a class="struct" href="../../actix_http/h1/codec/struct.Codec.html" title="struct actix_http::h1::codec::Codec">Codec</a>><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><<<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, <<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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='method.poll_ready' class="method hidden"><code id='poll_ready.v-1'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> <<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_http/h1/upgrade/struct.UpgradeHandler.html" title="struct actix_http::h1::upgrade::UpgradeHandler">UpgradeHandler</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<T, P, S, B, X, U> <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><T, P, S, B, X, U> <span class="where fmt-newline">where<br> B: <a class="trait" href="../../actix_web/dev/trait.MessageBody.html" title="trait actix_web::dev::MessageBody">MessageBody</a>,<br> S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a><Request = <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><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>> + 'static>>>,<br> T: <a class="trait" href="../../actix_server_config/trait.IoStream.html" title="trait actix_server_config::IoStream">IoStream</a>,<br> U: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a><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><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><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>> + 'static>>, <a class="struct" href="../../actix_codec/framed/struct.Framed.html" title="struct actix_codec::framed::Framed">Framed</a><T, <a class="struct" href="../../actix_http/h1/codec/struct.Codec.html" title="struct actix_http::h1::codec::Codec">Codec</a>><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>>,<br> X: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a><Request = <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><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>> + 'static>>, Response = <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><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>> + 'static>>>,<br> <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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><<a class="struct" href="../../actix_web/error/struct.Error.html" title="struct actix_web::error::Error">Error</a>>,<br> <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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><<a class="struct" href="../../actix_web/web/struct.HttpResponse.html" title="struct actix_web::web::HttpResponse">Response</a><B>>,<br> <X as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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><<a class="struct" href="../../actix_web/error/struct.Error.html" title="struct actix_web::error::Error">Error</a>>,<br> <U as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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>, </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><T, P></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><T, S, B, X, U></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_http/h1/service/struct.H1ServiceHandler.html" title="struct actix_http::h1::service::H1ServiceHandler">H1ServiceHandler</a><T, P, S, B, X, U> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> req: <<a class="struct" href="../../actix_http/h1/service/struct.H1ServiceHandler.html" title="struct actix_http::h1::service::H1ServiceHandler">H1ServiceHandler</a><T, P, S, B, X, U> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_http/h1/service/struct.H1ServiceHandler.html" title="struct actix_http::h1::service::H1ServiceHandler">H1ServiceHandler</a><T, P, S, B, X, U> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><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>> + 'static>></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><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><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>> + 'static>></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><<<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>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, <<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>>::<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='method.poll_ready-2' class="method hidden"><code id='poll_ready.v-3'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<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>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> req: <a class="struct" href="../../actix_http/request/struct.Request.html" title="struct actix_http::request::Request">Request</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="../../futures/stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><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>> + 'static>><br>) -> <<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>>::<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<A, B> <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><A, B> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br> B: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a><Request = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, Error = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>>, </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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, B></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>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_service/and_then/struct.AndThen.html" title="struct actix_service::and_then::AndThen">AndThen</a><A, B> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> req: <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_service/and_then/struct.AndThen.html" title="struct actix_service::and_then::AndThen">AndThen</a><A, B> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, F, Response> <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><A, F, Response> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br> 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>(<A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>) -> Response + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, F, Response></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_service/map/struct.Map.html" title="struct actix_service::map::Map">Map</a><A, F, Response> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> req: <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_service/map/struct.Map.html" title="struct actix_service::map::Map">Map</a><A, F, Response> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<'a, S> <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">&'a mut </a>S <span class="where fmt-newline">where<br> S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a> + 'a, </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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> request: <<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<S> <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><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><S>> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>, </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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> request: <<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><S>> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, F, E> <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><A, F, E> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br> 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>(<A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>) -> E + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, F, E></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_service/map_err/struct.MapErr.html" title="struct actix_service::map_err::MapErr">MapErr</a><A, F, E> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> req: <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_service/map_err/struct.MapErr.html" title="struct actix_service::map_err::MapErr">MapErr</a><A, F, E> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<R, E> <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><R, E></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><R, E></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>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_service/blank/struct.Blank.html" title="struct actix_service::blank::Blank">Blank</a><R, E> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&mut self, req: R) -> <<a class="struct" href="../../actix_service/blank/struct.Blank.html" title="struct actix_service::blank::Blank">Blank</a><R, E> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, B> <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><A, B> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br> B: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a><Request = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>>, Error = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>>, </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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, B></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>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_service/then/struct.Then.html" title="struct actix_service::then::Then">Then</a><A, B> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> req: <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_service/then/struct.Then.html" title="struct actix_service::then::Then">Then</a><A, B> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<S> <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><S> <span class="where fmt-newline">where<br> 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>, </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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> request: <<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, E> <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><A, E> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>>, </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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, E></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>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, E></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> &mut self, <br> req: <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_service/from_err/struct.FromErr.html" title="struct actix_service::from_err::FromErr">FromErr</a><A, E> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<F, Req, Out> <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><F, Req, Out> <span class="where fmt-newline">where<br> 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) -> Out,<br> Out: <a class="trait" href="../../futures/future/trait.IntoFuture.html" title="trait futures::future::IntoFuture">IntoFuture</a>, </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> = <Out as <a class="trait" href="../../futures/future/trait.IntoFuture.html" title="trait futures::future::IntoFuture">IntoFuture</a>>::<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> = <Out as <a class="trait" href="../../futures/future/trait.IntoFuture.html" title="trait futures::future::IntoFuture">IntoFuture</a>>::<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> = <Out as <a class="trait" href="../../futures/future/trait.IntoFuture.html" title="trait futures::future::IntoFuture">IntoFuture</a>>::<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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_service/fn_service/struct.ServiceFn.html" title="struct actix_service::fn_service::ServiceFn">ServiceFn</a><F, Req, Out> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&mut self, req: Req) -> <<a class="struct" href="../../actix_service/fn_service/struct.ServiceFn.html" title="struct actix_service::fn_service::ServiceFn">ServiceFn</a><F, Req, Out> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<T> <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><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../actix_connect/connect/trait.Address.html" title="trait actix_connect::connect::Address">Address</a>, </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><T></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><T></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><ResolverFuture<T>, <a class="struct" href="../../futures/future/result_/struct.FutureResult.html" title="struct futures::future::result_::FutureResult">FutureResult</a><<a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a><T>, <<a class="struct" href="../../actix_connect/resolver/struct.Resolver.html" title="struct actix_connect::resolver::Resolver">Resolver</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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='method.poll_ready-13' class="method hidden"><code id='poll_ready.v-14'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_connect/resolver/struct.Resolver.html" title="struct actix_connect::resolver::Resolver">Resolver</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&mut self, req: <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a><T>) -> <<a class="struct" href="../../actix_connect/resolver/struct.Resolver.html" title="struct actix_connect::resolver::Resolver">Resolver</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<T> <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><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../actix_connect/connect/trait.Address.html" title="trait actix_connect::connect::Address">Address</a>, </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><T></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><T, <a class="struct" href="../../tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>></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<T></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_connect/service/struct.ConnectService.html" title="struct actix_connect::service::ConnectService">ConnectService</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&mut self, req: <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a><T>) -> <<a class="struct" href="../../actix_connect/service/struct.ConnectService.html" title="struct actix_connect::service::ConnectService">ConnectService</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<T> <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><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../actix_connect/connect/trait.Address.html" title="trait actix_connect::connect::Address">Address</a>, </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><T></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><T, <a class="struct" href="../../tokio_tcp/stream/struct.TcpStream.html" title="struct tokio_tcp::stream::TcpStream">TcpStream</a>></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><TcpConnectorResponse<T>, <a class="struct" href="../../futures/future/result_/struct.FutureResult.html" title="struct futures::future::result_::FutureResult">FutureResult</a><<<a class="struct" href="../../actix_connect/connector/struct.TcpConnector.html" title="struct actix_connect::connector::TcpConnector">TcpConnector</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, <<a class="struct" href="../../actix_connect/connector/struct.TcpConnector.html" title="struct actix_connect::connector::TcpConnector">TcpConnector</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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='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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_connect/connector/struct.TcpConnector.html" title="struct actix_connect::connector::TcpConnector">TcpConnector</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&mut self, req: <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a><T>) -> <<a class="struct" href="../../actix_connect/connector/struct.TcpConnector.html" title="struct actix_connect::connector::TcpConnector">TcpConnector</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<T> <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><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../actix_connect/connect/trait.Address.html" title="trait actix_connect::connect::Address">Address</a>, </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><T></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<T></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_connect/service/struct.TcpConnectService.html" title="struct actix_connect::service::TcpConnectService">TcpConnectService</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&mut self, req: <a class="struct" href="../../actix_connect/connect/struct.Connect.html" title="struct actix_connect::connect::Connect">Connect</a><T>) -> <<a class="struct" href="../../actix_connect/service/struct.TcpConnectService.html" title="struct actix_connect::service::TcpConnectService">TcpConnectService</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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><<<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>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, <<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>>::<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='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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<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>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&mut self, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -> <<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>>::<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<S> <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><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>, </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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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><<S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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-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><S></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_utils/timeout/struct.TimeoutService.html" title="struct actix_utils::timeout::TimeoutService">TimeoutService</a><S> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> request: <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_utils/timeout/struct.TimeoutService.html" title="struct actix_utils::timeout::TimeoutService">TimeoutService</a><S> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<S> <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><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br> <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>: 'static,<br> <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a>: 'static,<br> <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>: 'static, </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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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><<S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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-20' class="type"><code id='Future.t-20'>type <a href='#associatedtype.Future' class="type">Future</a> = InOrderServiceResponse<S></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_utils/order/struct.InOrderService.html" title="struct actix_utils::order::InOrderService">InOrderService</a><S> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> request: <S as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_utils/order/struct.InOrderService.html" title="struct actix_utils::order::InOrderService">InOrderService</a><S> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<T> <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><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>, </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> = <T as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <T as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <T as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<T></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_utils/inflight/struct.InFlightService.html" title="struct actix_utils::inflight::InFlightService">InFlightService</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> req: <T as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a><br>) -> <<a class="struct" href="../../actix_utils/inflight/struct.InFlightService.html" title="struct actix_utils::inflight::InFlightService">InFlightService</a><T> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<S, T, E> <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><S, T, E> <span class="where fmt-newline">where<br> S: 'static + <a class="trait" href="../../actix_utils/stream/trait.IntoStream.html" title="trait actix_utils::stream::IntoStream">IntoStream</a>,<br> T: <a class="trait" href="../../actix_service/trait.NewService.html" title="trait actix_service::NewService">NewService</a><Request = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../actix_utils/stream/trait.IntoStream.html" title="trait actix_utils::stream::IntoStream">IntoStream</a>>::<a class="type" href="../../actix_utils/stream/trait.IntoStream.html#associatedtype.Item" title="type actix_utils::stream::IntoStream::Item">Item</a>, <S as <a class="trait" href="../../actix_utils/stream/trait.IntoStream.html" title="trait actix_utils::stream::IntoStream">IntoStream</a>>::<a class="type" href="../../actix_utils/stream/trait.IntoStream.html#associatedtype.Error" title="type actix_utils::stream::IntoStream::Error">Error</a>>, Response = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = E, InitError = E>,<br> <T as <a class="trait" href="../../actix_service/trait.NewService.html" title="trait actix_service::NewService">NewService</a>>::<a class="type" href="../../actix_service/trait.NewService.html#associatedtype.Future" title="type actix_service::NewService::Future">Future</a>: 'static,<br> <T as <a class="trait" href="../../actix_service/trait.NewService.html" title="trait actix_service::NewService">NewService</a>>::<a class="type" href="../../actix_service/trait.NewService.html#associatedtype.Service" title="type actix_service::NewService::Service">Service</a>: 'static,<br> <<T as <a class="trait" href="../../actix_service/trait.NewService.html" title="trait actix_service::NewService">NewService</a>>::<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>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a>: 'static, </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><dyn <a class="trait" href="../../futures/future/trait.Future.html" title="trait futures::future::Future">Future</a><Error = E, Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>> + 'static></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_utils/stream/struct.StreamService.html" title="struct actix_utils::stream::StreamService">StreamService</a><S, T, E> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&mut self, req: S) -> <<a class="struct" href="../../actix_utils/stream/struct.StreamService.html" title="struct actix_utils::stream::StreamService">StreamService</a><S, T, E> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<R, E, F> <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><R, E, F> <span class="where fmt-newline">where<br> 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>() -> E, </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><R, E></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> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_utils/keepalive/struct.KeepAliveService.html" title="struct actix_utils::keepalive::KeepAliveService">KeepAliveService</a><R, E, F> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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>(&mut self, req: R) -> <<a class="struct" href="../../actix_utils/keepalive/struct.KeepAliveService.html" title="struct actix_utils::keepalive::KeepAliveService">KeepAliveService</a><R, E, F> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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<A, B> <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><A, B> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>,<br> B: <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a><Response = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Response" title="type actix_web::dev::Service::Response">Response</a>, Error = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>>, </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><<A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a>, <B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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-24' class="type"><code id='Response.t-24'>type <a href='#associatedtype.Response' class="type">Response</a> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> = <A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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><<A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Future" title="type actix_web::dev::Service::Future">Future</a>, <B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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-23' class="method hidden"><code id='poll_ready.v-24'>fn <a href='#method.poll_ready' class='fnname'>poll_ready</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../futures/poll/enum.Async.html" title="enum futures::poll::Async">Async</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>, <<a class="struct" href="../../actix_utils/either/struct.EitherService.html" title="struct actix_utils::either::EitherService">EitherService</a><A, B> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Error" title="type actix_web::dev::Service::Error">Error</a>></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> &mut self, <br> req: <a class="enum" href="../../either/enum.Either.html" title="enum either::Either">Either</a><<A as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a>, <B as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<a class="type" href="../../actix_web/dev/trait.Service.html#associatedtype.Request" title="type actix_web::dev::Service::Request">Request</a>><br>) -> <<a class="struct" href="../../actix_utils/either/struct.EitherService.html" title="struct actix_utils::either::EitherService">EitherService</a><A, B> as <a class="trait" href="../../actix_web/dev/trait.Service.html" title="trait actix_web::dev::Service">Service</a>>::<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> |