mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-27 20:30:52 +01:00
46 lines
80 KiB
HTML
46 lines
80 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 `HttpBody` trait in crate `hyper`."><meta name="keywords" content="rust, rustlang, rust-lang, HttpBody"><title>hyper::body::HttpBody - 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="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><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='../../hyper/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Trait HttpBody</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.Error">Error</a><a href="#associatedtype.Data">Data</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.poll_data">poll_data</a><a href="#tymethod.poll_trailers">poll_trailers</a></div><a class="sidebar-title" href="#provided-methods">Provided Methods</a><div class="sidebar-links"><a href="#method.data">data</a><a href="#method.map_err">map_err</a><a href="#method.is_end_stream">is_end_stream</a><a href="#method.size_hint">size_hint</a><a href="#method.trailers">trailers</a><a href="#method.boxed">boxed</a><a href="#method.map_data">map_data</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-Body-for-%26%27_%20mut%20T">&'_ mut T</a><a href="#impl-Body-for-Box%3CT%2C%20Global%3E">Box<T, Global></a><a href="#impl-Body-for-BoxBody%3CD%2C%20E%3E">BoxBody<D, E></a><a href="#impl-Body-for-Empty%3CD%3E">Empty<D></a><a href="#impl-Body-for-MapData%3CB%2C%20F%3E">MapData<B, F></a><a href="#impl-Body-for-MapErr%3CB%2C%20F%3E">MapErr<B, F></a><a href="#impl-Body-for-Pin%3CP%3E">Pin<P></a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class="location"><a href="../index.html">hyper</a>::<wbr><a href="index.html">body</a></p><div id="sidebar-vars" data-name="HttpBody" data-ty="trait" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></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><button type="button" class="help-button">?</button>
|
||
<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="in-band">Trait <a href="../index.html">hyper</a>::<wbr><a href="index.html">body</a>::<wbr><a class="trait" href="">HttpBody</a></span><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/http_body/lib.rs.html#41-123" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust trait">pub trait HttpBody {
|
||
type <a href="#associatedtype.Data" class="type">Data</a>: <a class="trait" href="../../hyper/body/trait.Buf.html" title="trait hyper::body::Buf">Buf</a>;
|
||
type <a href="#associatedtype.Error" class="type">Error</a>;
|
||
pub fn <a href="#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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self>, <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><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>>>>;
|
||
<div class="item-spacer"></div> pub fn <a href="#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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self>, <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>>>, Self::<a class="type" href="../../hyper/body/trait.HttpBody.html#associatedtype.Error" title="type hyper::body::HttpBody::Error">Error</a>>>;
|
||
|
||
pub fn <a href="#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> { ... }
|
||
<div class="item-spacer"></div> pub fn <a href="#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> { ... }
|
||
<div class="item-spacer"></div> pub fn <a href="#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><br> <span class="where">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>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> pub fn <a href="#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><br> <span class="where">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>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> pub fn <a href="#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><br> <span class="where">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>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> pub fn <a href="#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><br> <span class="where">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>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> pub fn <a href="#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>><br> <span class="where">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>,
|
||
{ ... }
|
||
}</pre></div><div class="docblock"><p>Trait representing a streaming body of a Request or Response.</p>
|
||
<p>Data is streamed via the <code>poll_data</code> function, which asynchronously yields <code>T: Buf</code> values. The
|
||
<code>size_hint</code> function provides insight into the total number of bytes that will be streamed.</p>
|
||
<p>The <code>poll_trailers</code> function returns an optional set of trailers used to finalize the request /
|
||
response exchange. This is mostly used when using the HTTP/2.0 protocol.</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.Data" class="method"><code>type <a href="#associatedtype.Data" class="type">Data</a>: <a class="trait" href="../../hyper/body/trait.Buf.html" title="trait hyper::body::Buf">Buf</a></code><a class="srclink" href="../../src/http_body/lib.rs.html#43" title="goto source code">[src]</a></h3><div class="docblock"><p>Values yielded by the <code>Body</code>.</p>
|
||
</div><h3 id="associatedtype.Error" class="method"><code>type <a href="#associatedtype.Error" class="type">Error</a></code><a class="srclink" href="../../src/http_body/lib.rs.html#46" title="goto source code">[src]</a></h3><div class="docblock"><p>The error type this <code>Body</code> might generate.</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_data" class="method"><code>pub fn <a href="#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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self>, <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><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>>>></code><a class="srclink" href="../../src/http_body/lib.rs.html#49-52" title="goto source code">[src]</a></h3><div class="docblock"><p>Attempt to pull out the next data buffer of this stream.</p>
|
||
</div><h3 id="tymethod.poll_trailers" class="method"><code>pub fn <a href="#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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self>, <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>>>, Self::<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#57-60" title="goto source code">[src]</a></h3><div class="docblock"><p>Poll for an optional <strong>single</strong> <code>HeaderMap</code> of trailers.</p>
|
||
<p>This function should only be called once <code>poll_data</code> returns <code>None</code>.</p>
|
||
</div></div><span class="loading-content">Loading content...</span><h2 id="provided-methods" class="small-section-header">Provided methods<a href="#provided-methods" class="anchor"></a></h2><div class="methods"><h3 id="method.is_end_stream" class="method"><code>pub fn <a href="#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#69" title="goto source code">[src]</a></h3><div class="docblock"><p>Returns <code>true</code> when the end of stream has been reached.</p>
|
||
<p>An end of stream means that both <code>poll_data</code> and <code>poll_trailers</code> will
|
||
return <code>None</code>.</p>
|
||
<p>A return value of <code>false</code> <strong>does not</strong> guarantee that a value will be
|
||
returned from <code>poll_stream</code> or <code>poll_trailers</code>.</p>
|
||
</div><h3 id="method.size_hint" class="method"><code>pub fn <a href="#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#77" title="goto source code">[src]</a></h3><div class="docblock"><p>Returns the bounds on the remaining length of the stream.</p>
|
||
<p>When the <strong>exact</strong> remaining length of the stream is known, the upper bound will be set and
|
||
will equal the lower bound.</p>
|
||
</div><h3 id="method.data" class="method"><code>pub fn <a href="#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-84" title="goto source code">[src]</a></h3><div class="docblock"><p>Returns future that resolves to next data chunk, if any.</p>
|
||
</div><h3 id="method.trailers" class="method"><code>pub fn <a href="#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-92" title="goto source code">[src]</a></h3><div class="docblock"><p>Returns future that resolves to trailers, if any.</p>
|
||
</div><h3 id="method.map_data" class="method"><code>pub fn <a href="#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-102" title="goto source code">[src]</a></h3><div class="docblock"><p>Maps this body's data value to a different value.</p>
|
||
</div><h3 id="method.map_err" class="method"><code>pub fn <a href="#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-111" title="goto source code">[src]</a></h3><div class="docblock"><p>Maps this body's error value to a different value.</p>
|
||
</div><h3 id="method.boxed" class="method"><code>pub fn <a href="#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-119" title="goto source code">[src]</a></h3><div class="docblock"><p>Turn this body into a boxed trait object.</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-Body-for-MapData%3CB%2C%20F%3E" class="impl"><code class="in-band">impl<B, F, B2> <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> for <a class="struct" href="../../http_body/combinators/map_data/struct.MapData.html" title="struct http_body::combinators::map_data::MapData">MapData</a><B, 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>(<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>) -> B2,<br> B: <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>,<br> B2: <a class="trait" href="../../hyper/body/trait.Buf.html" title="trait hyper::body::Buf">Buf</a>, </span></code><a href="#impl-Body-for-MapData%3CB%2C%20F%3E" class="anchor"></a><a class="srclink" href="../../src/http_body/combinators/map_data.rs.html#48-80" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data-1" class="type"><code>type <a href="#associatedtype.Data" class="type">Data</a> = B2</code></h4><h4 id="associatedtype.Error-1" class="type"><code>type <a href="#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><h4 id="method.poll_data" class="method hidden"><code>pub fn <a href="#method.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="../../http_body/combinators/map_data/struct.MapData.html" title="struct http_body::combinators::map_data::MapData">MapData</a><B, F>>, <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="../../http_body/combinators/map_data/struct.MapData.html" title="struct http_body::combinators::map_data::MapData">MapData</a><B, F> 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="../../http_body/combinators/map_data/struct.MapData.html" title="struct http_body::combinators::map_data::MapData">MapData</a><B, F> 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/combinators/map_data.rs.html#57-60" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers" class="method hidden"><code>pub fn <a href="#method.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="../../http_body/combinators/map_data/struct.MapData.html" title="struct http_body::combinators::map_data::MapData">MapData</a><B, F>>, <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="../../http_body/combinators/map_data/struct.MapData.html" title="struct http_body::combinators::map_data::MapData">MapData</a><B, F> 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/combinators/map_data.rs.html#70-73" title="goto source code">[src]</a></h4><h4 id="method.is_end_stream-1" class="method hidden"><code>pub fn <a href="#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/combinators/map_data.rs.html#77" title="goto source code">[src]</a></h4></div><h3 id="impl-Body-for-Box%3CT%2C%20Global%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</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-Body-for-Box%3CT%2C%20Global%3E" class="anchor"></a><a class="srclink" href="../../src/http_body/lib.rs.html#183-208" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data-2" class="type"><code>type <a href="#associatedtype.Data" class="type">Data</a> = <T 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><h4 id="associatedtype.Error-2" class="type"><code>type <a href="#associatedtype.Error" class="type">Error</a> = <T 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><h4 id="method.poll_data-1" class="method hidden"><code>pub fn <a href="#method.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="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>>, <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="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>> 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="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>> 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-190" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers-1" class="method hidden"><code>pub fn <a href="#method.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="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>>>, <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="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>> 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#194-197" title="goto source code">[src]</a></h4><h4 id="method.is_end_stream-2" class="method hidden"><code>pub fn <a href="#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#201" title="goto source code">[src]</a></h4><h4 id="method.size_hint-1" class="method hidden"><code>pub fn <a href="#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#205" title="goto source code">[src]</a></h4></div><h3 id="impl-Body-for-%26%27_%20mut%20T" class="impl"><code class="in-band">impl<'_, T> <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>T <span class="where fmt-newline">where<br> T: <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</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-Body-for-%26%27_%20mut%20T" class="anchor"></a><a class="srclink" href="../../src/http_body/lib.rs.html#125-150" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data-3" class="type"><code>type <a href="#associatedtype.Data" class="type">Data</a> = <T 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><h4 id="associatedtype.Error-3" class="type"><code>type <a href="#associatedtype.Error" class="type">Error</a> = <T 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><h4 id="method.poll_data-2" class="method hidden"><code>pub fn <a href="#method.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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>T>, <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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>T 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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>T 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#129-132" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers-2" class="method hidden"><code>pub fn <a href="#method.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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>T>, <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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'_ mut </a>T 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#136-139" title="goto source code">[src]</a></h4><h4 id="method.is_end_stream-3" class="method hidden"><code>pub fn <a href="#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#143" title="goto source code">[src]</a></h4><h4 id="method.size_hint-2" class="method hidden"><code>pub fn <a href="#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#147" title="goto source code">[src]</a></h4></div><h3 id="impl-Body-for-BoxBody%3CD%2C%20E%3E" class="impl"><code class="in-band">impl<D, E> <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> for <a class="struct" href="../../http_body/combinators/box_body/struct.BoxBody.html" title="struct http_body::combinators::box_body::BoxBody">BoxBody</a><D, E> <span class="where fmt-newline">where<br> D: <a class="trait" href="../../hyper/body/trait.Buf.html" title="trait hyper::body::Buf">Buf</a>, </span></code><a href="#impl-Body-for-BoxBody%3CD%2C%20E%3E" class="anchor"></a><a class="srclink" href="../../src/http_body/combinators/box_body.rs.html#33-61" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data-4" class="type"><code>type <a href="#associatedtype.Data" class="type">Data</a> = D</code></h4><h4 id="associatedtype.Error-4" class="type"><code>type <a href="#associatedtype.Error" class="type">Error</a> = E</code></h4><h4 id="method.poll_data-3" class="method hidden"><code>pub fn <a href="#method.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="../../http_body/combinators/box_body/struct.BoxBody.html" title="struct http_body::combinators::box_body::BoxBody">BoxBody</a><D, E>>, <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="../../http_body/combinators/box_body/struct.BoxBody.html" title="struct http_body::combinators::box_body::BoxBody">BoxBody</a><D, E> 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="../../http_body/combinators/box_body/struct.BoxBody.html" title="struct http_body::combinators::box_body::BoxBody">BoxBody</a><D, E> 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/combinators/box_body.rs.html#40-43" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers-3" class="method hidden"><code>pub fn <a href="#method.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="../../http_body/combinators/box_body/struct.BoxBody.html" title="struct http_body::combinators::box_body::BoxBody">BoxBody</a><D, E>>, <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="../../http_body/combinators/box_body/struct.BoxBody.html" title="struct http_body::combinators::box_body::BoxBody">BoxBody</a><D, E> 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/combinators/box_body.rs.html#47-50" title="goto source code">[src]</a></h4><h4 id="method.is_end_stream-4" class="method hidden"><code>pub fn <a href="#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/combinators/box_body.rs.html#54" title="goto source code">[src]</a></h4><h4 id="method.size_hint-3" class="method hidden"><code>pub fn <a href="#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/combinators/box_body.rs.html#58" title="goto source code">[src]</a></h4></div><h3 id="impl-Body-for-MapErr%3CB%2C%20F%3E" class="impl"><code class="in-band">impl<B, F, E> <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> for <a class="struct" href="../../http_body/combinators/map_err/struct.MapErr.html" title="struct http_body::combinators::map_err::MapErr">MapErr</a><B, 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>(<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>) -> E,<br> B: <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>, </span></code><a href="#impl-Body-for-MapErr%3CB%2C%20F%3E" class="anchor"></a><a class="srclink" href="../../src/http_body/combinators/map_err.rs.html#47-83" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data-5" class="type"><code>type <a href="#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><h4 id="associatedtype.Error-5" class="type"><code>type <a href="#associatedtype.Error" class="type">Error</a> = E</code></h4><h4 id="method.poll_data-4" class="method hidden"><code>pub fn <a href="#method.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="../../http_body/combinators/map_err/struct.MapErr.html" title="struct http_body::combinators::map_err::MapErr">MapErr</a><B, F>>, <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="../../http_body/combinators/map_err/struct.MapErr.html" title="struct http_body::combinators::map_err::MapErr">MapErr</a><B, F> 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="../../http_body/combinators/map_err/struct.MapErr.html" title="struct http_body::combinators::map_err::MapErr">MapErr</a><B, F> 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/combinators/map_err.rs.html#55-58" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers-4" class="method hidden"><code>pub fn <a href="#method.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="../../http_body/combinators/map_err/struct.MapErr.html" title="struct http_body::combinators::map_err::MapErr">MapErr</a><B, F>>, <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="../../http_body/combinators/map_err/struct.MapErr.html" title="struct http_body::combinators::map_err::MapErr">MapErr</a><B, F> 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/combinators/map_err.rs.html#68-71" title="goto source code">[src]</a></h4><h4 id="method.is_end_stream-5" class="method hidden"><code>pub fn <a href="#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/combinators/map_err.rs.html#76" title="goto source code">[src]</a></h4><h4 id="method.size_hint-4" class="method hidden"><code>pub fn <a href="#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/combinators/map_err.rs.html#80" title="goto source code">[src]</a></h4></div><h3 id="impl-Body-for-Empty%3CD%3E" class="impl"><code class="in-band">impl<D> <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> for <a class="struct" href="../../http_body/empty/struct.Empty.html" title="struct http_body::empty::Empty">Empty</a><D> <span class="where fmt-newline">where<br> D: <a class="trait" href="../../hyper/body/trait.Buf.html" title="trait hyper::body::Buf">Buf</a>, </span></code><a href="#impl-Body-for-Empty%3CD%3E" class="anchor"></a><a class="srclink" href="../../src/http_body/empty.rs.html#24-43" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data-6" class="type"><code>type <a href="#associatedtype.Data" class="type">Data</a> = D</code></h4><h4 id="associatedtype.Error-6" class="type"><code>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="method.poll_data-5" class="method hidden"><code>pub fn <a href="#method.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="../../http_body/empty/struct.Empty.html" title="struct http_body::empty::Empty">Empty</a><D>>, <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="../../http_body/empty/struct.Empty.html" title="struct http_body::empty::Empty">Empty</a><D> 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="../../http_body/empty/struct.Empty.html" title="struct http_body::empty::Empty">Empty</a><D> 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/empty.rs.html#29-32" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers-5" class="method hidden"><code>pub fn <a href="#method.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="../../http_body/empty/struct.Empty.html" title="struct http_body::empty::Empty">Empty</a><D>>, <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="../../http_body/empty/struct.Empty.html" title="struct http_body::empty::Empty">Empty</a><D> 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/empty.rs.html#37-40" title="goto source code">[src]</a></h4></div><h3 id="impl-Body-for-Pin%3CP%3E" class="impl"><code class="in-band">impl<P> <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a>,<br> <P as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a>: <a class="trait" href="../../hyper/body/trait.HttpBody.html" title="trait hyper::body::HttpBody">Body</a>, </span></code><a href="#impl-Body-for-Pin%3CP%3E" class="anchor"></a><a class="srclink" href="../../src/http_body/lib.rs.html#152-181" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data-7" class="type"><code>type <a href="#associatedtype.Data" class="type">Data</a> = <<P as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a> 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><h4 id="associatedtype.Error-7" class="type"><code>type <a href="#associatedtype.Error" class="type">Error</a> = <<P as <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a> 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><h4 id="method.poll_data-6" class="method hidden"><code>pub fn <a href="#method.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="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P>>, <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="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P> 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="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P> 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#160-163" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers-6" class="method hidden"><code>pub fn <a href="#method.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="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P>>, <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="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P> 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#167-170" title="goto source code">[src]</a></h4><h4 id="method.is_end_stream-6" class="method hidden"><code>pub fn <a href="#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#174" title="goto source code">[src]</a></h4><h4 id="method.size_hint-5" class="method hidden"><code>pub fn <a href="#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#178" 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"><h3 id="impl-Body" class="impl"><code class="in-band">impl Body for <a class="struct" href="../../hyper/body/struct.Body.html" title="struct hyper::body::Body">Body</a></code><a href="#impl-Body" class="anchor"></a><a class="srclink" href="../../src/hyper/body/body.rs.html#354-433" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data-8" class="type"><code>type <a href="#associatedtype.Data-8" class="type">Data</a> = <a class="struct" href="../../hyper/body/struct.Bytes.html" title="struct hyper::body::Bytes">Bytes</a></code></h4><h4 id="associatedtype.Error-8" class="type"><code>type <a href="#associatedtype.Error-8" class="type">Error</a> = <a class="struct" href="../../hyper/struct.Error.html" title="struct hyper::Error">Error</a></code></h4><h4 id="method.poll_data-7" class="method hidden"><code>fn <a href="#method.poll_data-7" 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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self>, <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><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>>>></code><a class="srclink" href="../../src/hyper/body/body.rs.html#358-363" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers-7" class="method hidden"><code>fn <a href="#method.poll_trailers-7" 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><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self>, <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>>, Self::<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/hyper/body/body.rs.html#365-393" title="goto source code">[src]</a></h4><h4 id="method.is_end_stream-7" class="method hidden"><code>fn <a href="#method.is_end_stream-7" 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/hyper/body/body.rs.html#395-406" title="goto source code">[src]</a></h4><h4 id="method.size_hint-6" class="method hidden"><code>fn <a href="#method.size_hint-6" 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/hyper/body/body.rs.html#408-432" title="goto source code">[src]</a></h4></div><h3 id="impl-Body-1" class="impl"><code class="in-band">impl<B> Body 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-1" 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-9" class="type"><code>type <a href="#associatedtype.Data-9" 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><h4 id="associatedtype.Error-9" class="type"><code>type <a href="#associatedtype.Error-9" 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><h4 id="method.poll_data-8" class="method hidden"><code>pub fn <a href="#method.poll_data-8" 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-217" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers-8" class="method hidden"><code>pub fn <a href="#method.poll_trailers-8" 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-227" title="goto source code">[src]</a></h4><h4 id="method.is_end_stream-8" class="method hidden"><code>pub fn <a href="#method.is_end_stream-8" 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" title="goto source code">[src]</a></h4><h4 id="method.size_hint-7" class="method hidden"><code>pub fn <a href="#method.size_hint-7" 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" title="goto source code">[src]</a></h4></div><h3 id="impl-Body-2" class="impl"><code class="in-band">impl<B> Body for <a class="struct" href="../../hyper/struct.Response.html" title="struct hyper::Response">Response</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-2" class="anchor"></a><a class="srclink" href="../../src/http_body/lib.rs.html#243-274" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Data-10" class="type"><code>type <a href="#associatedtype.Data-10" 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><h4 id="associatedtype.Error-10" class="type"><code>type <a href="#associatedtype.Error-10" 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><h4 id="method.poll_data-9" class="method hidden"><code>pub fn <a href="#method.poll_data-9" 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.Response.html" title="struct hyper::Response">Response</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.Response.html" title="struct hyper::Response">Response</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.Response.html" title="struct hyper::Response">Response</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#247-250" title="goto source code">[src]</a></h4><h4 id="method.poll_trailers-9" class="method hidden"><code>pub fn <a href="#method.poll_trailers-9" 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.Response.html" title="struct hyper::Response">Response</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.Response.html" title="struct hyper::Response">Response</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#257-260" title="goto source code">[src]</a></h4><h4 id="method.is_end_stream-9" class="method hidden"><code>pub fn <a href="#method.is_end_stream-9" 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#267" title="goto source code">[src]</a></h4><h4 id="method.size_hint-8" class="method hidden"><code>pub fn <a href="#method.size_hint-8" 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#271" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/http_body/trait.HttpBody.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="hyper"></div>
|
||
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |