Auto Generated Documentation
This commit is contained in:
@@ -265,14 +265,17 @@ return type of the passed in function.</p>
|
||||
<span class="ident">b</span>.<span class="ident">as_bytes</span>()
|
||||
});
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">mapped_request</span>.<span class="ident">body</span>(), <span class="kw-2">&</span><span class="string">"some string"</span>.<span class="ident">as_bytes</span>());</pre></div>
|
||||
</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Body" class="impl"><code class="in-band">impl<B> <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> for <a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B> <span class="where fmt-newline">where<br> B: <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>, </span></code><a href="#impl-Body" class="anchor"></a><a class="srclink" href="../src/http_body/lib.rs.html#173-204" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data" class="type"><code>type <a href="../hyper/body/trait.HttpBody.html#associatedtype.Data" class="type">Data</a> = <B as <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>>::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Data" title="type hyper::body::HttpBody::Data">Data</a></code></h4><div class='docblock'><p>Values yielded by the <code>Body</code>.</p>
|
||||
</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Body" class="impl"><code class="in-band">impl<B> <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> for <a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B> <span class="where fmt-newline">where<br> B: <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>, </span></code><a href="#impl-Body" class="anchor"></a><a class="srclink" href="../src/http_body/lib.rs.html#210-241" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data" class="type"><code>type <a href="../hyper/body/trait.HttpBody.html#associatedtype.Data" class="type">Data</a> = <B as <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>>::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Data" title="type hyper::body::HttpBody::Data">Data</a></code></h4><div class='docblock'><p>Values yielded by the <code>Body</code>.</p>
|
||||
</div><h4 id="associatedtype.Error" class="type"><code>type <a href="../hyper/body/trait.HttpBody.html#associatedtype.Error" class="type">Error</a> = <B as <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>>::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Error" title="type hyper::body::HttpBody::Error">Error</a></code></h4><div class='docblock'><p>The error type this <code>Body</code> might generate.</p>
|
||||
</div><h4 id="method.poll_data" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#tymethod.poll_data" class="fnname">poll_data</a>(<br> self: <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B>>, <br> cx: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B> as <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>>::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Data" title="type hyper::body::HttpBody::Data">Data</a>, <<a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B> as <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>>::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Error" title="type hyper::body::HttpBody::Error">Error</a>>>></code><a class="srclink" href="../src/http_body/lib.rs.html#177-185" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Attempt to pull out the next data buffer of this stream.</p>
|
||||
</div><h4 id="method.poll_trailers" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#tymethod.poll_trailers" class="fnname">poll_trailers</a>(<br> self: <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B>>, <br> cx: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<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="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../hyper/struct.HeaderMap.html" title="struct hyper::HeaderMap">HeaderMap</a><<a class="struct" href="../hyper/header/struct.HeaderValue.html" title="struct hyper::header::HeaderValue">HeaderValue</a>>>, <<a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B> as <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>>::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Error" title="type hyper::body::HttpBody::Error">Error</a>>></code><a class="srclink" href="../src/http_body/lib.rs.html#187-195" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Poll for an optional <strong>single</strong> <code>HeaderMap</code> of trailers. <a href="../hyper/body/trait.HttpBody.html#tymethod.poll_trailers">Read more</a></p>
|
||||
</div><h4 id="method.is_end_stream" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.is_end_stream" class="fnname">is_end_stream</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class="srclink" href="../src/http_body/lib.rs.html#197-199" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns <code>true</code> when the end of stream has been reached. <a href="../hyper/body/trait.HttpBody.html#method.is_end_stream">Read more</a></p>
|
||||
</div><h4 id="method.size_hint" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.size_hint" class="fnname">size_hint</a>(&self) -> <a class="struct" href="../hyper/body/struct.SizeHint.html" title="struct hyper::body::SizeHint">SizeHint</a></code><a class="srclink" href="../src/http_body/lib.rs.html#201-203" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns the bounds on the remaining length of the stream. <a href="../hyper/body/trait.HttpBody.html#method.size_hint">Read more</a></p>
|
||||
</div><h4 id="method.data" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.data" class="fnname">data</a>(&mut self) -> <a class="struct" href="../http_body/next/struct.Data.html" title="struct http_body::next::Data">Data</a><'_, Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>, </span></code><a class="srclink" href="../src/http_body/lib.rs.html#72-77" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns future that resolves to next data chunk, if any.</p>
|
||||
</div><h4 id="method.trailers" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.trailers" class="fnname">trailers</a>(&mut self) -> <a class="struct" href="../http_body/next/struct.Trailers.html" title="struct http_body::next::Trailers">Trailers</a><'_, Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>, </span></code><a class="srclink" href="../src/http_body/lib.rs.html#80-85" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns future that resolves to trailers, if any.</p>
|
||||
</div><h4 id="method.poll_data" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#tymethod.poll_data" class="fnname">poll_data</a>(<br> self: <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B>>, <br> cx: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<<a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B> as <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>>::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Data" title="type hyper::body::HttpBody::Data">Data</a>, <<a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B> as <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>>::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Error" title="type hyper::body::HttpBody::Error">Error</a>>>></code><a class="srclink" href="../src/http_body/lib.rs.html#214-222" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Attempt to pull out the next data buffer of this stream.</p>
|
||||
</div><h4 id="method.poll_trailers" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#tymethod.poll_trailers" class="fnname">poll_trailers</a>(<br> self: <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B>>, <br> cx: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/task/wake/struct.Context.html" title="struct core::task::wake::Context">Context</a><'_><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/task/poll/enum.Poll.html" title="enum core::task::poll::Poll">Poll</a><<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="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../hyper/struct.HeaderMap.html" title="struct hyper::HeaderMap">HeaderMap</a><<a class="struct" href="../hyper/header/struct.HeaderValue.html" title="struct hyper::header::HeaderValue">HeaderValue</a>>>, <<a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B> as <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>>::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Error" title="type hyper::body::HttpBody::Error">Error</a>>></code><a class="srclink" href="../src/http_body/lib.rs.html#224-232" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Poll for an optional <strong>single</strong> <code>HeaderMap</code> of trailers. <a href="../hyper/body/trait.HttpBody.html#tymethod.poll_trailers">Read more</a></p>
|
||||
</div><h4 id="method.is_end_stream" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.is_end_stream" class="fnname">is_end_stream</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class="srclink" href="../src/http_body/lib.rs.html#234-236" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns <code>true</code> when the end of stream has been reached. <a href="../hyper/body/trait.HttpBody.html#method.is_end_stream">Read more</a></p>
|
||||
</div><h4 id="method.size_hint" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.size_hint" class="fnname">size_hint</a>(&self) -> <a class="struct" href="../hyper/body/struct.SizeHint.html" title="struct hyper::body::SizeHint">SizeHint</a></code><a class="srclink" href="../src/http_body/lib.rs.html#238-240" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns the bounds on the remaining length of the stream. <a href="../hyper/body/trait.HttpBody.html#method.size_hint">Read more</a></p>
|
||||
</div><h4 id="method.data" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.data" class="fnname">data</a>(&mut self) -> <a class="struct" href="../http_body/next/struct.Data.html" title="struct http_body::next::Data">Data</a><'_, Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>, </span></code><a class="srclink" href="../src/http_body/lib.rs.html#82-87" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns future that resolves to next data chunk, if any.</p>
|
||||
</div><h4 id="method.trailers" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.trailers" class="fnname">trailers</a>(&mut self) -> <a class="struct" href="../http_body/next/struct.Trailers.html" title="struct http_body::next::Trailers">Trailers</a><'_, Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>, </span></code><a class="srclink" href="../src/http_body/lib.rs.html#90-95" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns future that resolves to trailers, if any.</p>
|
||||
</div><h4 id="method.map_data" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.map_data" class="fnname">map_data</a><F, B>(self, f: F) -> <a class="struct" href="../http_body/combinators/map_data/struct.MapData.html" title="struct http_body::combinators::map_data::MapData">MapData</a><Self, F> <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>(Self::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Data" title="type hyper::body::HttpBody::Data">Data</a>) -> B,<br> B: <a class="trait" href="../hyper/body/trait.Buf.html" title="trait hyper::body::Buf">Buf</a>, </span></code><a class="srclink" href="../src/http_body/lib.rs.html#98-105" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Maps this body's data value to a different value.</p>
|
||||
</div><h4 id="method.map_err" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.map_err" class="fnname">map_err</a><F, E>(self, f: F) -> <a class="struct" href="../http_body/combinators/map_err/struct.MapErr.html" title="struct http_body::combinators::map_err::MapErr">MapErr</a><Self, F> <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>(Self::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Error" title="type hyper::body::HttpBody::Error">Error</a>) -> E, </span></code><a class="srclink" href="../src/http_body/lib.rs.html#108-114" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Maps this body's error value to a different value.</p>
|
||||
</div><h4 id="method.boxed" class="method hidden"><code>pub fn <a href="../hyper/body/trait.HttpBody.html#method.boxed" class="fnname">boxed</a>(self) -> <a class="struct" href="../http_body/combinators/box_body/struct.BoxBody.html" title="struct http_body::combinators::box_body::BoxBody">BoxBody</a><Self::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Data" title="type hyper::body::HttpBody::Data">Data</a>, Self::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Error" title="type hyper::body::HttpBody::Error">Error</a>> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static, </span></code><a class="srclink" href="../src/http_body/lib.rs.html#117-122" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Turn this body into a boxed trait object.</p>
|
||||
</div></div><h3 id="impl-Debug" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>, </span></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../src/http/request.rs.html#704-715" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code><a class="srclink" href="../src/http/request.rs.html#705-714" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
||||
</div></div><h3 id="impl-Default" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code><a href="#impl-Default" class="anchor"></a><a class="srclink" href="../src/http/request.rs.html#698-702" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.default" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> <a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><T></code><a class="srclink" href="../src/http/request.rs.html#699-701" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns the "default value" for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
|
||||
</div></div><h3 id="impl-Service%3CRequest%3CB%3E%3E" class="impl"><code class="in-band">impl<C, B> <a class="trait" href="../hyper/service/trait.Service.html" title="trait hyper::service::Service">Service</a><<a class="struct" href="../hyper/struct.Request.html" title="struct hyper::Request">Request</a><B>> for <a class="struct" href="../hyper/client/struct.Client.html" title="struct hyper::client::Client">Client</a><C, B> <span class="where fmt-newline">where<br> C: <a class="trait" href="../hyper/client/connect/trait.Connect.html" title="trait hyper::client::connect::Connect">Connect</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,<br> B: <a class="trait" href="../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">HttpBody</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static,<br> B::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Data" title="type hyper::body::HttpBody::Data">Data</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,<br> B::<a class="type" href="../hyper/body/trait.HttpBody.html#associatedtype.Error" title="type hyper::body::HttpBody::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="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">StdError</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>>>, </span></code><a href="#impl-Service%3CRequest%3CB%3E%3E" class="anchor"></a><a class="srclink" href="../src/hyper/client/client.rs.html#506-524" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Response" class="type"><code>type <a href="../hyper/service/trait.Service.html#associatedtype.Response" class="type">Response</a> = <a class="struct" href="../hyper/struct.Response.html" title="struct hyper::Response">Response</a><<a class="struct" href="../hyper/body/struct.Body.html" title="struct hyper::body::Body">Body</a>></code></h4><div class='docblock'><p>Responses given by the service.</p>
|
||||
|
||||
Reference in New Issue
Block a user