<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `ChunkedReadFile` struct in crate `actix_web`."><metaname="keywords"content="rust, rustlang, rust-lang, ChunkedReadFile"><title>actix_web::fs::ChunkedReadFile - Rust</title><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../dark.css"><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptsrc="../../storage.js"></script></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><pclass='location'>Struct ChunkedReadFile</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Stream">Stream</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-From">From</a><ahref="#impl-Into">Into</a><ahref="#impl-TryFrom">TryFrom</a><ahref="#impl-Borrow">Borrow</a><ahref="#impl-BorrowMut">BorrowMut</a><ahref="#impl-TryInto">TryInto</a><ahref="#impl-Any">Any</a><ahref="#impl-Erased">Erased</a><ahref="#impl-StreamExt">StreamExt</a><ahref="#impl-WrapStream">WrapStream</a></div></div><pclass='location'><ahref='../index.html'>actix_web</a>::<wbr><ahref='index.html'>fs</a></p><script>window.sidebarCurrent={name:'ChunkedReadFile',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><inputclass="search-input"name="search"autocomplete="off"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><aid="settings-menu"href="../../settings.html"><imgsrc="../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inner'>−</span>]</a></span><aclass='srclink'href='../../src/actix_web/fs.rs.html#477-484'title='goto source code'>[src]</a></span><spanclass='in-band'>Struct <ahref='../index.html'>actix_web</a>::<wbr><ahref='index.html'>fs</a>::<wbr><aclass="struct"href=''>ChunkedReadFile</a></span></h1><divclass="docblock type-decl hidden-by-usual-hider"><preclass='rust struct'>pub struct ChunkedReadFile { /* fields omitted */ }</pre></div><divclass='docblock'><p>A helper created from a <code>std::fs::File</code> which reads the file
</div><h4id='method.poll'class="method"><spanid='poll.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#tymethod.poll'class='fnname'>poll</a>(&mut self) -><aclass="type"href="https://docs.rs/futures/0.1/futures/poll/type.Poll.html"title="type futures::poll::Poll">Poll</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/bytes/0.4.10/bytes/bytes/struct.Bytes.html"title="struct bytes::bytes::Bytes">Bytes</a>>, <aclass="struct"href="../../actix_web/error/struct.Error.html"title="struct actix_web::error::Error">Error</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='../../src/actix_web/fs.rs.html#490-526'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Attempt to pull out the next value of this stream, returning <code>None</code> if the stream is finished. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#tymethod.poll">Read more</a></p>
</div><h4id='method.wait'class="method"><spanid='wait.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.wait'class='fnname'>wait</a>(self) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/wait/struct.Wait.html"title="struct futures::stream::wait::Wait">Wait</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#244-248'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates an iterator which blocks the current thread until each item of this stream is resolved. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.wait">Read more</a></p>
</div><h4id='method.into_future'class="method"><spanid='into_future.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.into_future'class='fnname'>into_future</a>(self) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/future/struct.StreamFuture.html"title="struct futures::stream::future::StreamFuture">StreamFuture</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#291-295'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Converts this stream into a <code>Future</code>. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.into_future">Read more</a></p>
</div><h4id='method.map'class="method"><spanid='map.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.map'class='fnname'>map</a><U, F>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/map/struct.Map.html"title="struct futures::stream::map::Map">Map</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>) -> U, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#316-321'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Converts a stream of type <code>T</code> to a stream of type <code>U</code>. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.map">Read more</a></p>
</div><h4id='method.map_err'class="method"><spanid='map_err.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.map_err'class='fnname'>map_err</a><U, F>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/map_err/struct.MapErr.html"title="struct futures::stream::map_err::MapErr">MapErr</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>) -> U, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#342-347'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Converts a stream of error type <code>T</code> to a stream of error type <code>U</code>. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.map_err">Read more</a></p>
</div><h4id='method.filter'class="method"><spanid='filter.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.filter'class='fnname'>filter</a><F>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/filter/struct.Filter.html"title="struct futures::stream::filter::Filter">Filter</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#372-377'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Filters the values produced by this stream according to the provided predicate. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.filter">Read more</a></p>
</div><h4id='method.filter_map'class="method"><spanid='filter_map.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.filter_map'class='fnname'>filter_map</a><F, B>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/filter_map/struct.FilterMap.html"title="struct futures::stream::filter_map::FilterMap">FilterMap</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><B>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#408-413'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Filters the values produced by this stream while simultaneously mapping them to a different type. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.filter_map">Read more</a></p>
</div><h4id='method.then'class="method"><spanid='then.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.then'class='fnname'>then</a><F, U>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/then/struct.Then.html"title="struct futures::stream::then::Then">Then</a><Self, F, U><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(<aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>, Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>>) -> U,<br> U: <aclass="trait"href="https://docs.rs/futures/0.1/futures/future/trait.IntoFuture.html"title="trait futures::future::IntoFuture">IntoFuture</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#447-453'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Chain on a computation for when a value is ready, passing the resulting item to the provided closure <code>f</code>. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.then">Read more</a></p>
</div><h4id='method.and_then'class="method"><spanid='and_then.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.and_then'class='fnname'>and_then</a><F, U>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/and_then/struct.AndThen.html"title="struct futures::stream::and_then::AndThen">AndThen</a><Self, F, U><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>) -> U,<br> U: <aclass="trait"href="https://docs.rs/futures/0.1/futures/future/trait.IntoFuture.html"title="trait futures::future::IntoFuture">IntoFuture</a><Error = Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#494-500'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Chain on a computation for when a value is ready, passing the successful results to the provided closure <code>f</code>. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.and_then">Read more</a></p>
</div><h4id='method.or_else'class="method"><spanid='or_else.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.or_else'class='fnname'>or_else</a><F, U>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/or_else/struct.OrElse.html"title="struct futures::stream::or_else::OrElse">OrElse</a><Self, F, U><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>) -> U,<br> U: <aclass="trait"href="https://docs.rs/futures/0.1/futures/future/trait.IntoFuture.html"title="trait futures::future::IntoFuture">IntoFuture</a><Item = Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#521-527'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Chain on a computation for when an error happens, passing the erroneous result to the provided closure <code>f</code>. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.or_else">Read more</a></p>
</div><h4id='method.collect'class="method"><spanid='collect.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.collect'class='fnname'>collect</a>(self) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/collect/struct.Collect.html"title="struct futures::stream::collect::Collect">Collect</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#562-566'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Collect all of the values of this stream into a vector, returning a future representing the result of that computation. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.collect">Read more</a></p>
</div><h4id='method.concat2'class="method"><spanid='concat2.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.concat2'class='fnname'>concat2</a>(self) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/concat/struct.Concat2.html"title="struct futures::stream::concat::Concat2">Concat2</a><Self><spanclass="where fmt-newline">where<br> Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html"title="trait core::iter::traits::Extend">Extend</a><<Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>>,<br> Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html"title="trait core::default::Default">Default</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#598-603'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Concatenate all results of a stream into a single extendable destination, returning a future representing the end result. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.concat2">Read more</a></p>
</div><h4id='method.concat'class="method"><spanid='concat.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.concat'class='fnname'>concat</a>(self) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/concat/struct.Concat.html"title="struct futures::stream::concat::Concat">Concat</a><Self><spanclass="where fmt-newline">where<br> Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html"title="trait core::iter::traits::Extend">Extend</a><<Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a> as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html#associatedtype.Item"title="type core::iter::traits::IntoIterator::Item">Item</a>>,<br> Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html"title="trait core::iter::traits::IntoIterator">IntoIterator</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#638-643'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='stability'><divclass='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
</div></div><divclass='docblock'><p>Concatenate all results of a stream into a single extendable destination, returning a future representing the end result. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.concat">Read more</a></p>
</div><h4id='method.fold'class="method"><spanid='fold.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.fold'class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/fold/struct.Fold.html"title="struct futures::stream::fold::Fold">Fold</a><Self, F, Fut, T><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(T, Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <aclass="trait"href="https://docs.rs/futures/0.1/futures/future/trait.IntoFuture.html"title="trait futures::future::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><<Fut as <aclass="trait"href="https://docs.rs/futures/0.1/futures/future/trait.IntoFuture.html"title="trait futures::future::IntoFuture">IntoFuture</a>>::<aclass="type"href="https://docs.rs/futures/0.1/futures/future/trait.IntoFuture.html#associatedtype.Error"title="type futures::future::IntoFuture::Error">Error</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#668-675'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Execute an accumulating computation over a stream, collecting all the values into one final result. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.fold">Read more</a></p>
</div><h4id='method.flatten'class="method"><spanid='flatten.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.flatten'class='fnname'>flatten</a>(self) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/flatten/struct.Flatten.html"title="struct futures::stream::flatten::Flatten">Flatten</a><Self><spanclass="where fmt-newline">where<br> Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>: <aclass="trait"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html"title="trait futures::stream::Stream">Stream</a>,<br> <Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a> as <aclass="trait"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html"title="trait futures::stream::Stream">Stream</a>>::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#710-716'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Flattens a stream of streams into just one continuous stream. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.flatten">Read more</a></p>
</div><h4id='method.skip_while'class="method"><spanid='skip_while.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.skip_while'class='fnname'>skip_while</a><P, R>(self, pred: P) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/skip_while/struct.SkipWhile.html"title="struct futures::stream::skip_while::SkipWhile">SkipWhile</a><Self, P, R><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>) -> R,<br> R: <aclass="trait"href="https://docs.rs/futures/0.1/futures/future/trait.IntoFuture.html"title="trait futures::future::IntoFuture">IntoFuture</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#725-731'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Skip elements on this stream while the predicate provided resolves to <code>true</code>. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.skip_while">Read more</a></p>
</div><h4id='method.take_while'class="method"><spanid='take_while.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.take_while'class='fnname'>take_while</a><P, R>(self, pred: P) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/take_while/struct.TakeWhile.html"title="struct futures::stream::take_while::TakeWhile">TakeWhile</a><Self, P, R><spanclass="where fmt-newline">where<br> P: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>) -> R,<br> R: <aclass="trait"href="https://docs.rs/futures/0.1/futures/future/trait.IntoFuture.html"title="trait futures::future::IntoFuture">IntoFuture</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#739-745'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Take elements from this stream while the predicate provided resolves to <code>true</code>. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.take_while">Read more</a></p>
</div><h4id='method.for_each'class="method"><spanid='for_each.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.for_each'class='fnname'>for_each</a><F, U>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/for_each/struct.ForEach.html"title="struct futures::stream::for_each::ForEach">ForEach</a><Self, F, U><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>) -> U,<br> U: <aclass="trait"href="https://docs.rs/futures/0.1/futures/future/trait.IntoFuture.html"title="trait futures::future::IntoFuture">IntoFuture</a><Item = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#761-767'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Runs this stream to completion, executing the provided closure for each element on the stream. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.for_each">Read more</a></p>
</div><h4id='method.from_err'class="method"><spanid='from_err.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.from_err'class='fnname'>from_err</a><E>(self) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/from_err/struct.FromErr.html"title="struct futures::stream::from_err::FromErr">FromErr</a><Self, E><spanclass="where fmt-newline">where<br> E: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#780-784'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Map this stream's error to any error implementing <code>From</code> for this stream's <code>Error</code>, returning a new stream. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.from_err">Read more</a></p>
</div><h4id='method.take'class="method"><spanid='take.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.take'class='fnname'>take</a>(self, amt: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/take/struct.Take.html"title="struct futures::stream::take::Take">Take</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#796-800'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates a new stream of at most <code>amt</code> items of the underlying stream. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.take">Read more</a></p>
</div><h4id='method.skip'class="method"><spanid='skip.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.skip'class='fnname'>skip</a>(self, amt: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/skip/struct.Skip.html"title="struct futures::stream::skip::Skip">Skip</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#811-815'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates a new stream which skips <code>amt</code> items of the underlying stream. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.skip">Read more</a></p>
</div><h4id='method.fuse'class="method"><spanid='fuse.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.fuse'class='fnname'>fuse</a>(self) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/fuse/struct.Fuse.html"title="struct futures::stream::fuse::Fuse">Fuse</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#832-836'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Fuse a stream such that <code>poll</code> will never again be called once it has finished. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.fuse">Read more</a></p>
</div><h4id='method.by_ref'class="method"><spanid='by_ref.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.by_ref'class='fnname'>by_ref</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#857-861'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Borrows a stream, rather than consuming it. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.by_ref">Read more</a></p>
</div></div><divclass='docblock'><p>An adapter for merging the output of two streams. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.merge">Read more</a></p>
</div><h4id='method.peekable'class="method"><spanid='peekable.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.peekable'class='fnname'>peekable</a>(self) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/peek/struct.Peekable.html"title="struct futures::stream::peek::Peekable">Peekable</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#1000-1004'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates a new stream which exposes a <code>peek</code> method. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.peekable">Read more</a></p>
</div><h4id='method.chunks'class="method"><spanid='chunks.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.chunks'class='fnname'>chunks</a>(self, capacity: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/chunks/struct.Chunks.html"title="struct futures::stream::chunks::Chunks">Chunks</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#1027-1031'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>An adaptor for chunking up items of the stream inside a vector. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.chunks">Read more</a></p>
</div><h4id='method.select'class="method"><spanid='select.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.select'class='fnname'>select</a><S>(self, other: S) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/select/struct.Select.html"title="struct futures::stream::select::Select">Select</a><Self, S><spanclass="where fmt-newline">where<br> S: <aclass="trait"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html"title="trait futures::stream::Stream">Stream</a><Item = Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>, Error = Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#1044-1049'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates a stream that selects the next element from either this stream or the provided one, whichever is ready first. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.select">Read more</a></p>
</div><h4id='method.forward'class="method"><spanid='forward.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.forward'class='fnname'>forward</a><S>(self, sink: S) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/forward/struct.Forward.html"title="struct futures::stream::forward::Forward">Forward</a><Self, S><spanclass="where fmt-newline">where<br> S: <aclass="trait"href="https://docs.rs/futures/0.1/futures/sink/trait.Sink.html"title="trait futures::sink::Sink">Sink</a><SinkItem = Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>>,<br> Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><<S as <aclass="trait"href="https://docs.rs/futures/0.1/futures/sink/trait.Sink.html"title="trait futures::sink::Sink">Sink</a>>::<aclass="type"href="https://docs.rs/futures/0.1/futures/sink/trait.Sink.html#associatedtype.SinkError"title="type futures::sink::Sink::SinkError">SinkError</a>>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#1065-1071'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>A future that completes after the given stream has been fully processed into the sink, including flushing. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.forward">Read more</a></p>
</div><h4id='method.split'class="method"><spanid='split.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.split'class='fnname'>split</a>(self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/split/struct.SplitSink.html"title="struct futures::stream::split::SplitSink">SplitSink</a><Self>, <aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/split/struct.SplitStream.html"title="struct futures::stream::split::SplitStream">SplitStream</a><Self><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://docs.rs/futures/0.1/futures/sink/trait.Sink.html"title="trait futures::sink::Sink">Sink</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#1083-1087'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Splits this <code>Stream + Sink</code> object into separate <code>Stream</code> and <code>Sink</code> objects. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.split">Read more</a></p>
</div><h4id='method.inspect'class="method"><spanid='inspect.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.inspect'class='fnname'>inspect</a><F>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/inspect/struct.Inspect.html"title="struct futures::stream::inspect::Inspect">Inspect</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a>), </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#1094-1099'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Do something with each item of this stream, afterwards passing it on. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.inspect">Read more</a></p>
</div><h4id='method.inspect_err'class="method"><spanid='inspect_err.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.inspect_err'class='fnname'>inspect_err</a><F>(self, f: F) -><aclass="struct"href="https://docs.rs/futures/0.1/futures/stream/inspect_err/struct.InspectErr.html"title="struct futures::stream::inspect_err::InspectErr">InspectErr</a><Self, F><spanclass="where fmt-newline">where<br> F: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html"title="trait core::ops::function::FnMut">FnMut</a>(&Self::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a>), </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/futures/0.1/src/futures/stream/mod.rs.html#1106-1111'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Do something with the error of this stream, afterwards passing it on. <ahref="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#method.inspect_err">Read more</a></p>
</div></div></div><h2id='synthetic-implementations'class='small-section-header'>Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a></h2><divid='synthetic-implementations-list'><h3id='impl-Send'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../actix_web/fs/struct.ChunkedReadFile.html"title="struct actix_web::fs::ChunkedReadFile">ChunkedReadFile</a></code><ahref='#impl-Send'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../actix_web/fs/struct.ChunkedReadFile.html"title="struct actix_web::fs::ChunkedReadFile">ChunkedReadFile</a></code><ahref='#impl-Sync'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'></div></div><h2id='blanket-implementations'class='small-section-header'>Blanket Implementations<ahref='#blanket-implementations'class='anchor'></a></h2><divid='blanket-implementations-list'><h3id='impl-From'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a> for T</code><ahref='#impl-From'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#462-464'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.from'class="method"><spanid='from.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(t: T) -> T</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#463'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-Into'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></code><ahref='#impl-Into'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#453-458'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.into'class="method"><spanid='into.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -> U</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#455-457'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryFrom'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><U>, </span></code><ahref='#impl-TryFrom'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#481-487'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><spanid='Error.t-1'class='invisible'><code>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.never.html">!</a></code></span></h4>
<divclass='stability'><divclass='stab unstable'><spanclass=microscope>🔬</span> This is a nightly-only experimental API. (<code>try_from</code>)</div></div><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method"><spanid='try_from.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#484-486'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='stability'><divclass='stab unstable'><spanclass=microscope>🔬</span> This is a nightly-only experimental API. (<code>try_from</code>)</div></div><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-Borrow'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Borrow'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219-221'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.borrow'class="method"><spanid='borrow.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow'class='fnname'>borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#220'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3id='impl-BorrowMut'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-BorrowMut'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#224-226'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.borrow_mut'class="method"><spanid='borrow_mut.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut'class='fnname'>borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#225'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3id='impl-TryInto'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><ahref='#impl-TryInto'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#469-476'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='associatedtype.Error-2'class="type"><spanid='Error.t-2'class='invisible'><code>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></span></h4>
<divclass='stability'><divclass='stab unstable'><spanclass=microscope>🔬</span> This is a nightly-only experimental API. (<code>try_from</code>)</div></div><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method"><spanid='try_into.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#473-475'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='stability'><divclass='stab unstable'><spanclass=microscope>🔬</span> This is a nightly-only experimental API. (<code>try_from</code>)</div></div><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-Any'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Any'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#114-116'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.get_type_id'class="method"><spanid='get_type_id.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.get_type_id'class='fnname'>get_type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#115'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='stability'><divclass='stab unstable'><details><summary><spanclass=microscope>🔬</span> This is a nightly-only experimental API. (<code>get_type_id</code>)</summary><p>this method will likely be replaced by an associated static</p>
</details></div></div><divclass='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.get_type_id">Read more</a></p>
</div></div><h3id='impl-Erased'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T> Erased for T</code><ahref='#impl-Erased'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'></div><h3id='impl-StreamExt'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<T><aclass="trait"href="https://docs.rs/tokio/0.1.11/tokio/util/stream/trait.StreamExt.html"title="trait tokio::util::stream::StreamExt">StreamExt</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html"title="trait futures::stream::Stream">Stream</a> + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-StreamExt'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/tokio/0.1.11/src/tokio/util/stream.rs.html#62'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.timeout'class="method"><spanid='timeout.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://docs.rs/tokio/0.1.11/tokio/util/stream/trait.StreamExt.html#method.timeout'class='fnname'>timeout</a>(self, timeout: <aclass="struct"href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html"title="struct core::time::Duration">Duration</a>) -><aclass="struct"href="https://docs.rs/tokio-timer/0.2.7/tokio_timer/timeout/struct.Timeout.html"title="struct tokio_timer::timeout::Timeout">Timeout</a><Self></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/tokio/0.1.11/src/tokio/util/stream.rs.html#55-59'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Creates a new stream which allows <code>self</code> until <code>timeout</code>. <ahref="https://docs.rs/tokio/0.1.11/tokio/util/stream/trait.StreamExt.html#method.timeout">Read more</a></p>
</div></div><h3id='impl-WrapStream'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<S, A><aclass="trait"href="../../actix_web/actix/actix/fut/trait.WrapStream.html"title="trait actix_web::actix::actix::fut::WrapStream">WrapStream</a> for S <spanclass="where fmt-newline">where<br> A: <aclass="trait"href="../../actix_web/actix/actix/dev/trait.Actor.html"title="trait actix_web::actix::actix::dev::Actor">Actor</a>,<br> S: <aclass="trait"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html"title="trait futures::stream::Stream">Stream</a>, </span></code><ahref='#impl-WrapStream'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='associatedtype.Stream'class="type"><spanid='Stream.t'class='invisible'><code>type <ahref='../../actix_web/actix/actix/fut/trait.WrapStream.html#associatedtype.Stream'class="type">Stream</a> = <aclass="struct"href="../../actix_web/actix/actix/fut/struct.StreamWrap.html"title="struct actix_web::actix::actix::fut::StreamWrap">StreamWrap</a><S, A></code></span></h4>
<divclass='docblock'><p>The stream that this type can be converted into.</p>
</div><h4id='associatedtype.Item-1'class="type"><spanid='Item.t-1'class='invisible'><code>type <ahref='../../actix_web/actix/actix/fut/trait.WrapStream.html#associatedtype.Item'class="type">Item</a> = <S as <aclass="trait"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html"title="trait futures::stream::Stream">Stream</a>>::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Item"title="type futures::stream::Stream::Item">Item</a></code></span></h4>
<divclass='docblock'><p>The item that the future may resolve with.</p>
</div><h4id='associatedtype.Error-3'class="type"><spanid='Error.t-3'class='invisible'><code>type <ahref='../../actix_web/actix/actix/fut/trait.WrapStream.html#associatedtype.Error'class="type">Error</a> = <S as <aclass="trait"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html"title="trait futures::stream::Stream">Stream</a>>::<aclass="type"href="https://docs.rs/futures/0.1/futures/stream/trait.Stream.html#associatedtype.Error"title="type futures::stream::Stream::Error">Error</a></code></span></h4>
<divclass='docblock'><p>The error that the future may resolve with.</p>
</div><h4id='method.into_actor'class="method"><spanid='into_actor.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='../../actix_web/actix/actix/fut/trait.WrapStream.html#tymethod.into_actor'class='fnname'>into_actor</a>(self, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>A) -><S as <aclass="trait"href="../../actix_web/actix/actix/fut/trait.WrapStream.html"title="trait actix_web::actix::actix::fut::WrapStream">WrapStream</a><A>>::<aclass="type"href="../../actix_web/actix/actix/fut/trait.WrapStream.html#associatedtype.Stream"title="type actix_web::actix::actix::fut::WrapStream::Stream">Stream</a></code></td><td></td></tr></tbody></table></span></h4><divclass='docblock'><p>Convert normal stream to a ActorStream</p>
</div></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><divclass="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g. <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g. <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath="../../";window.currentCrate="actix_web";</script><scriptsrc="../../aliases.js"></script><scriptsrc="../../main.js"></script><scriptdefersrc="../../search-index.js"></script></body></html>