1535 lines
991 KiB
HTML
1535 lines
991 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 `Stream` trait in crate `tokio`.">
|
|||
|
<meta name="keywords" content="rust, rustlang, rust-lang, Stream">
|
|||
|
|
|||
|
<title>tokio::prelude::Stream - Rust</title>
|
|||
|
|
|||
|
<link rel="stylesheet" type="text/css" href="../../normalize.css">
|
|||
|
<link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle">
|
|||
|
|
|||
|
<link rel="stylesheet" type="text/css" href="../../dark.css">
|
|||
|
<link rel="stylesheet" type="text/css" href="../../main.css" id="themeStyle">
|
|||
|
<script src="../../storage.js"></script>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</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>
|
|||
|
|
|||
|
<p class='location'>Trait Stream</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.Item">Item</a><a href="#associatedtype.Error">Error</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.poll">poll</a></div><a class="sidebar-title" href="#provided-methods">Provided Methods</a><div class="sidebar-links"><a href="#method.wait">wait</a><a href="#method.into_future">into_future</a><a href="#method.map">map</a><a href="#method.map_err">map_err</a><a href="#method.filter">filter</a><a href="#method.filter_map">filter_map</a><a href="#method.then">then</a><a href="#method.and_then">and_then</a><a href="#method.or_else">or_else</a><a href="#method.collect">collect</a><a href="#method.concat2">concat2</a><a href="#method.concat">concat</a><a href="#method.fold">fold</a><a href="#method.flatten">flatten</a><a href="#method.skip_while">skip_while</a><a href="#method.take_while">take_while</a><a href="#method.for_each">for_each</a><a href="#method.from_err">from_err</a><a href="#method.take">take</a><a href="#method.skip">skip</a><a href="#method.fuse">fuse</a><a href="#method.by_ref">by_ref</a><a href="#method.catch_unwind">catch_unwind</a><a href="#method.buffered">buffered</a><a href="#method.buffer_unordered">buffer_unordered</a><a href="#method.merge">merge</a><a href="#method.zip">zip</a><a href="#method.chain">chain</a><a href="#method.peekable">peekable</a><a href="#method.chunks">chunks</a><a href="#method.select">select</a><a href="#method.forward">forward</a><a href="#method.split">split</a><a href="#method.inspect">inspect</a><a href="#method.inspect_err">inspect_err</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-Stream">Receiver<T></a><a href="#impl-Stream">UnboundedReceiver<T></a><a href="#impl-Stream">SpawnHandle<I, E></a><a href="#impl-Stream">WithFlatMap<S, U, F, St></a><a href="#impl-Stream">AssertUnwindSafe<S></a><a href="#impl-Stream">Receiver<T></a><a href="#impl-Stream">SpawnHandle<I, E></a><a href="#impl-Stream">UnboundedReceiver<T></a><a href="#impl-Stream">With<S, U, F, Fut></a><a href="#impl-Stream">Buffer<S></a><a href="#impl-Stream">SinkFromErr<S, E></a><a href="#impl-Stream">&'a mut S</a><a href="#impl-Stream">SinkMapErr<S, F></a><a href="#impl-Stream">Box<S></a><a href="#impl-Stream">Framed<T, U></a><a href="#impl-Stream">FramedWrite<T, D></a><a href="#impl-Stream">FramedRead<T, D></a><a href="#impl-Stream">ReadDir</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../index.html'>tokio</a>::<wbr><a href='index.html'>prelude</a></p><script>window.sidebarCurrent = {name: 'Stream', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
|
|||
|
</nav>
|
|||
|
|
|||
|
<div class="theme-picker">
|
|||
|
<button id="theme-picker" aria-label="Pick another theme!">
|
|||
|
<img src="../../brush.svg" width="18" alt="Pick another theme!">
|
|||
|
</button>
|
|||
|
<div id="theme-choices"></div>
|
|||
|
</div>
|
|||
|
<script src="../../theme.js"></script>
|
|||
|
<nav class="sub">
|
|||
|
<form class="search-form js-only">
|
|||
|
<div class="search-container">
|
|||
|
<input class="search-input" name="search"
|
|||
|
autocomplete="off"
|
|||
|
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
|
|||
|
type="search">
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</nav>
|
|||
|
|
|||
|
<section id='main' class="content">
|
|||
|
<h1 class='fqn'><span class='in-band'>Trait <a href='../index.html'>tokio</a>::<wbr><a href='index.html'>prelude</a>::<wbr><a class="trait" href=''>Stream</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/futures/stream/mod.rs.html#183-1112' title='goto source code'>[src]</a></span></h1>
|
|||
|
<pre class='rust trait'>pub trait Stream {
|
|||
|
type <a href='#associatedtype.Item' class="type">Item</a>;
|
|||
|
type <a href='#associatedtype.Error' class="type">Error</a>;
|
|||
|
fn <a href='#tymethod.poll' class='fnname'>poll</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;
|
|||
|
|
|||
|
fn <a href='#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self> { ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self> { ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U</span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U</span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U><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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U><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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U><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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self> { ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self><br> <span class="where">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self><br> <span class="where">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T><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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self><br> <span class="where">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R><br> <span class="where">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R><br> <span class="where">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U><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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E><br> <span class="where">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self> { ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self> { ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self> { ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self { ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self><br> <span class="where">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self><br> <span class="where">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self><br> <span class="where">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S><br> <span class="where">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S><br> <span class="where">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S><br> <span class="where">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self> { ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self> { ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S><br> <span class="where">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S><br> <span class="where">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a><br> <span class="where">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a></span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>)</span>,
|
|||
|
{ ... }
|
|||
|
<div class='item-spacer'></div> fn <a href='#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>)</span>,
|
|||
|
{ ... }
|
|||
|
}</pre><div class='docblock'><p>A stream of values, not all of which may have been produced yet.</p>
|
|||
|
<p><code>Stream</code> is a trait to represent any source of sequential events or items
|
|||
|
which acts like an iterator but long periods of time may pass between
|
|||
|
items. Like <code>Future</code> the methods of <code>Stream</code> never block and it is thus
|
|||
|
suitable for programming in an asynchronous fashion. This trait is very
|
|||
|
similar to the <code>Iterator</code> trait in the standard library where <code>Some</code> is
|
|||
|
used to signal elements of the stream and <code>None</code> is used to indicate that
|
|||
|
the stream is finished.</p>
|
|||
|
<p>Like futures a stream has basic combinators to transform the stream, perform
|
|||
|
more work on each item, etc.</p>
|
|||
|
<p>You can find more information/tutorials about streams <a href="https://tokio.rs/docs/getting-started/streams-and-sinks/">online at
|
|||
|
https://tokio.rs</a></p>
|
|||
|
<h1 id="streams-as-futures" class="section-header"><a href="#streams-as-futures">Streams as Futures</a></h1>
|
|||
|
<p>Any instance of <code>Stream</code> can also be viewed as a <code>Future</code> where the resolved
|
|||
|
value is the next item in the stream along with the rest of the stream. The
|
|||
|
<code>into_future</code> adaptor can be used here to convert any stream into a future
|
|||
|
for use with other future methods like <code>join</code> and <code>select</code>.</p>
|
|||
|
<h1 id="errors" class="section-header"><a href="#errors">Errors</a></h1>
|
|||
|
<p>Streams, like futures, can also model errors in their computation. All
|
|||
|
streams have an associated <code>Error</code> type like with futures. Currently as of
|
|||
|
the 0.1 release of this library an error on a stream <strong>does not terminate
|
|||
|
the stream</strong>. That is, after one error is received, another error may be
|
|||
|
received from the same stream (it's valid to keep polling).</p>
|
|||
|
<p>This property of streams, however, is <a href="https://github.com/rust-lang-nursery/futures-rs/issues/206">being considered</a> for change in 0.2
|
|||
|
where an error on a stream is similar to <code>None</code>, it terminates the stream
|
|||
|
entirely. If one of these use cases suits you perfectly and not the other,
|
|||
|
please feel welcome to comment on <a href="https://github.com/rust-lang-nursery/futures-rs/issues/206">the issue</a>!</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.Item' class='method'><span id='Item.t' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a></code></span></h3><div class='docblock'><p>The type of item this stream will yield on success.</p>
|
|||
|
</div><h3 id='associatedtype.Error' class='method'><span id='Error.t' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a></code></span></h3><div class='docblock'><p>The type of error this stream may generate.</p>
|
|||
|
</div></div>
|
|||
|
<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' class='method'><span id='poll.v' class='invisible'><code>fn <a href='#tymethod.poll' class='fnname'>poll</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span></h3><div class='docblock'><p>Attempt to pull out the next value of this stream, returning <code>None</code> if
|
|||
|
the stream is finished.</p>
|
|||
|
<p>This method, like <code>Future::poll</code>, is the sole method of pulling out a
|
|||
|
value from a stream. This method must also be run within the context of
|
|||
|
a task typically and implementors of this trait must ensure that
|
|||
|
implementations of this method do not block, as it may cause consumers
|
|||
|
to behave badly.</p>
|
|||
|
<h1 id="return-value" class="section-header"><a href="#return-value">Return value</a></h1>
|
|||
|
<p>If <code>NotReady</code> is returned then this stream's next value is not ready
|
|||
|
yet and implementations will ensure that the current task will be
|
|||
|
notified when the next value may be ready. If <code>Some</code> is returned then
|
|||
|
the returned value represents the next value on the stream. <code>Err</code>
|
|||
|
indicates an error happened, while <code>Ok</code> indicates whether there was a
|
|||
|
new item on the stream or whether the stream has terminated.</p>
|
|||
|
<h1 id="panics" class="section-header"><a href="#panics">Panics</a></h1>
|
|||
|
<p>Once a stream is finished, that is <code>Ready(None)</code> has been returned,
|
|||
|
further calls to <code>poll</code> may result in a panic or other "bad behavior".
|
|||
|
If this is difficult to guard against then the <code>fuse</code> adapter can be
|
|||
|
used to ensure that <code>poll</code> always has well-defined semantics.</p>
|
|||
|
</div></div>
|
|||
|
<h2 id='provided-methods' class='small-section-header'>
|
|||
|
Provided Methods<a href='#provided-methods' class='anchor'></a>
|
|||
|
</h2>
|
|||
|
<div class='methods'>
|
|||
|
<div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><h3 id='method.wait' class='method'><span id='wait.v' class='invisible'><code>fn <a href='#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span></h3><div class='docblock'><p>Creates an iterator which blocks the current thread until each item of
|
|||
|
this stream is resolved.</p>
|
|||
|
<p>This method will consume ownership of this stream, returning an
|
|||
|
implementation of a standard iterator. This iterator will <em>block the
|
|||
|
current thread</em> on each call to <code>next</code> if the item in the stream isn't
|
|||
|
ready yet.</p>
|
|||
|
<blockquote>
|
|||
|
<p><strong>Note:</strong> This method is not appropriate to call on event loops or
|
|||
|
similar I/O situations because it will prevent the event
|
|||
|
loop from making progress (this blocks the thread). This
|
|||
|
method should only be called when it's guaranteed that the
|
|||
|
blocking work associated with this stream will be completed
|
|||
|
by another thread.</p>
|
|||
|
</blockquote>
|
|||
|
<p>This method is only available when the <code>use_std</code> feature of this
|
|||
|
library is activated, and it is activated by default.</p>
|
|||
|
<h1 id="panics-1" class="section-header"><a href="#panics-1">Panics</a></h1>
|
|||
|
<p>The returned iterator does not attempt to catch panics. If the <code>poll</code>
|
|||
|
function panics, panics will be propagated to the caller of <code>next</code>.</p>
|
|||
|
</div><h3 id='method.into_future' class='method'><span id='into_future.v' class='invisible'><code>fn <a href='#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span></h3><div class='docblock'><p>Converts this stream into a <code>Future</code>.</p>
|
|||
|
<p>A stream can be viewed as a future which will resolve to a pair containing
|
|||
|
the next element of the stream plus the remaining stream. If the stream
|
|||
|
terminates, then the next element is <code>None</code> and the remaining stream is
|
|||
|
still passed back, to allow reclamation of its resources.</p>
|
|||
|
<p>The returned future can be used to compose streams and futures together by
|
|||
|
placing everything into the "world of futures".</p>
|
|||
|
</div><h3 id='method.map' class='method'><span id='map.v' class='invisible'><code>fn <a href='#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span></h3><div class='docblock'><p>Converts a stream of type <code>T</code> to a stream of type <code>U</code>.</p>
|
|||
|
<p>The provided closure is executed over all elements of this stream as
|
|||
|
they are made available, and the callback will be executed inline with
|
|||
|
calls to <code>poll</code>.</p>
|
|||
|
<p>Note that this function consumes the receiving stream and returns a
|
|||
|
wrapped version of it, similar to the existing <code>map</code> methods in the
|
|||
|
standard library.</p>
|
|||
|
<h1 id="examples" class="section-header"><a href="#examples">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="ident">_tx</span>, <span class="ident">rx</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>::<span class="op"><</span><span class="ident">i32</span><span class="op">></span>(<span class="number">1</span>);
|
|||
|
<span class="kw">let</span> <span class="ident">rx</span> <span class="op">=</span> <span class="ident">rx</span>.<span class="ident">map</span>(<span class="op">|</span><span class="ident">x</span><span class="op">|</span> <span class="ident">x</span> <span class="op">+</span> <span class="number">3</span>);</pre>
|
|||
|
</div><h3 id='method.map_err' class='method'><span id='map_err.v' class='invisible'><code>fn <a href='#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span></h3><div class='docblock'><p>Converts a stream of error type <code>T</code> to a stream of error type <code>U</code>.</p>
|
|||
|
<p>The provided closure is executed over all errors of this stream as
|
|||
|
they are made available, and the callback will be executed inline with
|
|||
|
calls to <code>poll</code>.</p>
|
|||
|
<p>Note that this function consumes the receiving stream and returns a
|
|||
|
wrapped version of it, similar to the existing <code>map_err</code> methods in the
|
|||
|
standard library.</p>
|
|||
|
<h1 id="examples-1" class="section-header"><a href="#examples-1">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="ident">_tx</span>, <span class="ident">rx</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>::<span class="op"><</span><span class="ident">i32</span><span class="op">></span>(<span class="number">1</span>);
|
|||
|
<span class="kw">let</span> <span class="ident">rx</span> <span class="op">=</span> <span class="ident">rx</span>.<span class="ident">map_err</span>(<span class="op">|</span>()<span class="op">|</span> <span class="number">3</span>);</pre>
|
|||
|
</div><h3 id='method.filter' class='method'><span id='filter.v' class='invisible'><code>fn <a href='#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span></h3><div class='docblock'><p>Filters the values produced by this stream according to the provided
|
|||
|
predicate.</p>
|
|||
|
<p>As values of this stream are made available, the provided predicate will
|
|||
|
be run against them. If the predicate returns <code>true</code> then the stream
|
|||
|
will yield the value, but if the predicate returns <code>false</code> then the
|
|||
|
value will be discarded and the next value will be produced.</p>
|
|||
|
<p>All errors are passed through without filtering in this combinator.</p>
|
|||
|
<p>Note that this function consumes the receiving stream and returns a
|
|||
|
wrapped version of it, similar to the existing <code>filter</code> methods in the
|
|||
|
standard library.</p>
|
|||
|
<h1 id="examples-2" class="section-header"><a href="#examples-2">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="ident">_tx</span>, <span class="ident">rx</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>::<span class="op"><</span><span class="ident">i32</span><span class="op">></span>(<span class="number">1</span>);
|
|||
|
<span class="kw">let</span> <span class="ident">evens</span> <span class="op">=</span> <span class="ident">rx</span>.<span class="ident">filter</span>(<span class="op">|</span><span class="ident">x</span><span class="op">|</span> <span class="ident">x</span> <span class="op">%</span> <span class="number">2</span> <span class="op">==</span> <span class="number">0</span>);</pre>
|
|||
|
</div><h3 id='method.filter_map' class='method'><span id='filter_map.v' class='invisible'><code>fn <a href='#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span></h3><div class='docblock'><p>Filters the values produced by this stream while simultaneously mapping
|
|||
|
them to a different type.</p>
|
|||
|
<p>As values of this stream are made available, the provided function will
|
|||
|
be run on them. If the predicate returns <code>Some(e)</code> then the stream will
|
|||
|
yield the value <code>e</code>, but if the predicate returns <code>None</code> then the next
|
|||
|
value will be produced.</p>
|
|||
|
<p>All errors are passed through without filtering in this combinator.</p>
|
|||
|
<p>Note that this function consumes the receiving stream and returns a
|
|||
|
wrapped version of it, similar to the existing <code>filter_map</code> methods in the
|
|||
|
standard library.</p>
|
|||
|
<h1 id="examples-3" class="section-header"><a href="#examples-3">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="ident">_tx</span>, <span class="ident">rx</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>::<span class="op"><</span><span class="ident">i32</span><span class="op">></span>(<span class="number">1</span>);
|
|||
|
<span class="kw">let</span> <span class="ident">evens_plus_one</span> <span class="op">=</span> <span class="ident">rx</span>.<span class="ident">filter_map</span>(<span class="op">|</span><span class="ident">x</span><span class="op">|</span> {
|
|||
|
<span class="kw">if</span> <span class="ident">x</span> <span class="op">%</span> <span class="number">0</span> <span class="op">==</span> <span class="number">2</span> {
|
|||
|
<span class="prelude-val">Some</span>(<span class="ident">x</span> <span class="op">+</span> <span class="number">1</span>)
|
|||
|
} <span class="kw">else</span> {
|
|||
|
<span class="prelude-val">None</span>
|
|||
|
}
|
|||
|
});</pre>
|
|||
|
</div><h3 id='method.then' class='method'><span id='then.v' class='invisible'><code>fn <a href='#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span></h3><div class='docblock'><p>Chain on a computation for when a value is ready, passing the resulting
|
|||
|
item to the provided closure <code>f</code>.</p>
|
|||
|
<p>This function can be used to ensure a computation runs regardless of
|
|||
|
the next value on the stream. The closure provided will be yielded a
|
|||
|
<code>Result</code> once a value is ready, and the returned future will then be run
|
|||
|
to completion to produce the next value on this stream.</p>
|
|||
|
<p>The returned value of the closure must implement the <code>IntoFuture</code> trait
|
|||
|
and can represent some more work to be done before the composed stream
|
|||
|
is finished. Note that the <code>Result</code> type implements the <code>IntoFuture</code>
|
|||
|
trait so it is possible to simply alter the <code>Result</code> yielded to the
|
|||
|
closure and return it.</p>
|
|||
|
<p>Note that this function consumes the receiving stream and returns a
|
|||
|
wrapped version of it.</p>
|
|||
|
<h1 id="examples-4" class="section-header"><a href="#examples-4">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="ident">_tx</span>, <span class="ident">rx</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>::<span class="op"><</span><span class="ident">i32</span><span class="op">></span>(<span class="number">1</span>);
|
|||
|
|
|||
|
<span class="kw">let</span> <span class="ident">rx</span> <span class="op">=</span> <span class="ident">rx</span>.<span class="ident">then</span>(<span class="op">|</span><span class="ident">result</span><span class="op">|</span> {
|
|||
|
<span class="kw">match</span> <span class="ident">result</span> {
|
|||
|
<span class="prelude-val">Ok</span>(<span class="ident">e</span>) <span class="op">=></span> <span class="prelude-val">Ok</span>(<span class="ident">e</span> <span class="op">+</span> <span class="number">3</span>),
|
|||
|
<span class="prelude-val">Err</span>(()) <span class="op">=></span> <span class="prelude-val">Err</span>(<span class="number">4</span>),
|
|||
|
}
|
|||
|
});</pre>
|
|||
|
</div><h3 id='method.and_then' class='method'><span id='and_then.v' class='invisible'><code>fn <a href='#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='docblock'><p>Chain on a computation for when a value is ready, passing the successful
|
|||
|
results to the provided closure <code>f</code>.</p>
|
|||
|
<p>This function can be used to run a unit of work when the next successful
|
|||
|
value on a stream is ready. The closure provided will be yielded a value
|
|||
|
when ready, and the returned future will then be run to completion to
|
|||
|
produce the next value on this stream.</p>
|
|||
|
<p>Any errors produced by this stream will not be passed to the closure,
|
|||
|
and will be passed through.</p>
|
|||
|
<p>The returned value of the closure must implement the <code>IntoFuture</code> trait
|
|||
|
and can represent some more work to be done before the composed stream
|
|||
|
is finished. Note that the <code>Result</code> type implements the <code>IntoFuture</code>
|
|||
|
trait so it is possible to simply alter the <code>Result</code> yielded to the
|
|||
|
closure and return it.</p>
|
|||
|
<p>Note that this function consumes the receiving stream and returns a
|
|||
|
wrapped version of it.</p>
|
|||
|
<p>To process the entire stream and return a single future representing
|
|||
|
success or error, use <code>for_each</code> instead.</p>
|
|||
|
<h1 id="examples-5" class="section-header"><a href="#examples-5">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="ident">_tx</span>, <span class="ident">rx</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>::<span class="op"><</span><span class="ident">i32</span><span class="op">></span>(<span class="number">1</span>);
|
|||
|
|
|||
|
<span class="kw">let</span> <span class="ident">rx</span> <span class="op">=</span> <span class="ident">rx</span>.<span class="ident">and_then</span>(<span class="op">|</span><span class="ident">result</span><span class="op">|</span> {
|
|||
|
<span class="kw">if</span> <span class="ident">result</span> <span class="op">%</span> <span class="number">2</span> <span class="op">==</span> <span class="number">0</span> {
|
|||
|
<span class="prelude-val">Ok</span>(<span class="ident">result</span>)
|
|||
|
} <span class="kw">else</span> {
|
|||
|
<span class="prelude-val">Err</span>(())
|
|||
|
}
|
|||
|
});</pre>
|
|||
|
</div><h3 id='method.or_else' class='method'><span id='or_else.v' class='invisible'><code>fn <a href='#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span></h3><div class='docblock'><p>Chain on a computation for when an error happens, passing the
|
|||
|
erroneous result to the provided closure <code>f</code>.</p>
|
|||
|
<p>This function can be used to run a unit of work and attempt to recover from
|
|||
|
an error if one happens. The closure provided will be yielded an error
|
|||
|
when one appears, and the returned future will then be run to completion
|
|||
|
to produce the next value on this stream.</p>
|
|||
|
<p>Any successful values produced by this stream will not be passed to the
|
|||
|
closure, and will be passed through.</p>
|
|||
|
<p>The returned value of the closure must implement the <code>IntoFuture</code> trait
|
|||
|
and can represent some more work to be done before the composed stream
|
|||
|
is finished. Note that the <code>Result</code> type implements the <code>IntoFuture</code>
|
|||
|
trait so it is possible to simply alter the <code>Result</code> yielded to the
|
|||
|
closure and return it.</p>
|
|||
|
<p>Note that this function consumes the receiving stream and returns a
|
|||
|
wrapped version of it.</p>
|
|||
|
</div><h3 id='method.collect' class='method'><span id='collect.v' class='invisible'><code>fn <a href='#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span></h3><div class='docblock'><p>Collect all of the values of this stream into a vector, returning a
|
|||
|
future representing the result of that computation.</p>
|
|||
|
<p>This combinator will collect all successful results of this stream and
|
|||
|
collect them into a <code>Vec<Self::Item></code>. If an error happens then all
|
|||
|
collected elements will be dropped and the error will be returned.</p>
|
|||
|
<p>The returned future will be resolved whenever an error happens or when
|
|||
|
the stream returns <code>Ok(None)</code>.</p>
|
|||
|
<p>This method is only available when the <code>use_std</code> feature of this
|
|||
|
library is activated, and it is activated by default.</p>
|
|||
|
<h1 id="examples-6" class="section-header"><a href="#examples-6">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">thread</span>;
|
|||
|
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="kw-2">mut</span> <span class="ident">tx</span>, <span class="ident">rx</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>(<span class="number">1</span>);
|
|||
|
|
|||
|
<span class="ident">thread</span>::<span class="ident">spawn</span>(<span class="op">||</span> {
|
|||
|
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> (<span class="number">0</span>..<span class="number">5</span>).<span class="ident">rev</span>() {
|
|||
|
<span class="ident">tx</span> <span class="op">=</span> <span class="ident">tx</span>.<span class="ident">send</span>(<span class="ident">i</span> <span class="op">+</span> <span class="number">1</span>).<span class="ident">wait</span>().<span class="ident">unwrap</span>();
|
|||
|
}
|
|||
|
});
|
|||
|
|
|||
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">result</span> <span class="op">=</span> <span class="ident">rx</span>.<span class="ident">collect</span>();
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">result</span>.<span class="ident">wait</span>(), <span class="prelude-val">Ok</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="number">5</span>, <span class="number">4</span>, <span class="number">3</span>, <span class="number">2</span>, <span class="number">1</span>]));</pre>
|
|||
|
</div><h3 id='method.concat2' class='method'><span id='concat2.v' class='invisible'><code>fn <a href='#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span></h3><div class='docblock'><p>Concatenate all results of a stream into a single extendable
|
|||
|
destination, returning a future representing the end result.</p>
|
|||
|
<p>This combinator will extend the first item with the contents
|
|||
|
of all the successful results of the stream. If the stream is
|
|||
|
empty, the default value will be returned. If an error occurs,
|
|||
|
all the results will be dropped and the error will be returned.</p>
|
|||
|
<p>The name <code>concat2</code> is an intermediate measure until the release of
|
|||
|
futures 0.2, at which point it will be renamed back to <code>concat</code>.</p>
|
|||
|
<h1 id="examples-7" class="section-header"><a href="#examples-7">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">thread</span>;
|
|||
|
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="kw-2">mut</span> <span class="ident">tx</span>, <span class="ident">rx</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>(<span class="number">1</span>);
|
|||
|
|
|||
|
<span class="ident">thread</span>::<span class="ident">spawn</span>(<span class="kw">move</span> <span class="op">||</span> {
|
|||
|
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> (<span class="number">0</span>..<span class="number">3</span>).<span class="ident">rev</span>() {
|
|||
|
<span class="kw">let</span> <span class="ident">n</span> <span class="op">=</span> <span class="ident">i</span> <span class="op">*</span> <span class="number">3</span>;
|
|||
|
<span class="ident">tx</span> <span class="op">=</span> <span class="ident">tx</span>.<span class="ident">send</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="ident">n</span> <span class="op">+</span> <span class="number">1</span>, <span class="ident">n</span> <span class="op">+</span> <span class="number">2</span>, <span class="ident">n</span> <span class="op">+</span> <span class="number">3</span>]).<span class="ident">wait</span>().<span class="ident">unwrap</span>();
|
|||
|
}
|
|||
|
});
|
|||
|
<span class="kw">let</span> <span class="ident">result</span> <span class="op">=</span> <span class="ident">rx</span>.<span class="ident">concat2</span>();
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">result</span>.<span class="ident">wait</span>(), <span class="prelude-val">Ok</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="number">7</span>, <span class="number">8</span>, <span class="number">9</span>, <span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>]));</pre>
|
|||
|
</div><h3 id='method.concat' class='method'><span id='concat.v' class='invisible'><code>fn <a href='#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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></h3><div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><div class='docblock'><p>Concatenate all results of a stream into a single extendable
|
|||
|
destination, returning a future representing the end result.</p>
|
|||
|
<p>This combinator will extend the first item with the contents
|
|||
|
of all the successful results of the stream. If an error occurs,
|
|||
|
all the results will be dropped and the error will be returned.</p>
|
|||
|
<h1 id="examples-8" class="section-header"><a href="#examples-8">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">thread</span>;
|
|||
|
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="kw-2">mut</span> <span class="ident">tx</span>, <span class="ident">rx</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>(<span class="number">1</span>);
|
|||
|
|
|||
|
<span class="ident">thread</span>::<span class="ident">spawn</span>(<span class="kw">move</span> <span class="op">||</span> {
|
|||
|
<span class="kw">for</span> <span class="ident">i</span> <span class="kw">in</span> (<span class="number">0</span>..<span class="number">3</span>).<span class="ident">rev</span>() {
|
|||
|
<span class="kw">let</span> <span class="ident">n</span> <span class="op">=</span> <span class="ident">i</span> <span class="op">*</span> <span class="number">3</span>;
|
|||
|
<span class="ident">tx</span> <span class="op">=</span> <span class="ident">tx</span>.<span class="ident">send</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="ident">n</span> <span class="op">+</span> <span class="number">1</span>, <span class="ident">n</span> <span class="op">+</span> <span class="number">2</span>, <span class="ident">n</span> <span class="op">+</span> <span class="number">3</span>]).<span class="ident">wait</span>().<span class="ident">unwrap</span>();
|
|||
|
}
|
|||
|
});
|
|||
|
<span class="kw">let</span> <span class="ident">result</span> <span class="op">=</span> <span class="ident">rx</span>.<span class="ident">concat</span>();
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">result</span>.<span class="ident">wait</span>(), <span class="prelude-val">Ok</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="number">7</span>, <span class="number">8</span>, <span class="number">9</span>, <span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>]));</pre>
|
|||
|
<h1 id="panics-2" class="section-header"><a href="#panics-2">Panics</a></h1>
|
|||
|
<p>It's important to note that this function will panic if the stream
|
|||
|
is empty, which is the reason for its deprecation.</p>
|
|||
|
</div><h3 id='method.fold' class='method'><span id='fold.v' class='invisible'><code>fn <a href='#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span></h3><div class='docblock'><p>Execute an accumulating computation over a stream, collecting all the
|
|||
|
values into one final result.</p>
|
|||
|
<p>This combinator will collect all successful results of this stream
|
|||
|
according to the closure provided. The initial state is also provided to
|
|||
|
this method and then is returned again by each execution of the closure.
|
|||
|
Once the entire stream has been exhausted the returned future will
|
|||
|
resolve to this value.</p>
|
|||
|
<p>If an error happens then collected state will be dropped and the error
|
|||
|
will be returned.</p>
|
|||
|
<h1 id="examples-9" class="section-header"><a href="#examples-9">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">stream</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">future</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> <span class="ident">number_stream</span> <span class="op">=</span> <span class="ident">stream</span>::<span class="ident">iter_ok</span>::<span class="op"><</span>_, ()<span class="op">></span>(<span class="number">0</span>..<span class="number">6</span>);
|
|||
|
<span class="kw">let</span> <span class="ident">sum</span> <span class="op">=</span> <span class="ident">number_stream</span>.<span class="ident">fold</span>(<span class="number">0</span>, <span class="op">|</span><span class="ident">acc</span>, <span class="ident">x</span><span class="op">|</span> <span class="ident">future</span>::<span class="ident">ok</span>(<span class="ident">acc</span> <span class="op">+</span> <span class="ident">x</span>));
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">sum</span>.<span class="ident">wait</span>(), <span class="prelude-val">Ok</span>(<span class="number">15</span>));</pre>
|
|||
|
</div><h3 id='method.flatten' class='method'><span id='flatten.v' class='invisible'><code>fn <a href='#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='docblock'><p>Flattens a stream of streams into just one continuous stream.</p>
|
|||
|
<p>If this stream's elements are themselves streams then this combinator
|
|||
|
will flatten out the entire stream to one long chain of elements. Any
|
|||
|
errors are passed through without looking at them, but otherwise each
|
|||
|
individual stream will get exhausted before moving on to the next.</p>
|
|||
|
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">thread</span>;
|
|||
|
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">sync</span>::<span class="ident">mpsc</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> (<span class="ident">tx1</span>, <span class="ident">rx1</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>::<span class="op"><</span><span class="ident">i32</span><span class="op">></span>(<span class="number">1</span>);
|
|||
|
<span class="kw">let</span> (<span class="ident">tx2</span>, <span class="ident">rx2</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>::<span class="op"><</span><span class="ident">i32</span><span class="op">></span>(<span class="number">1</span>);
|
|||
|
<span class="kw">let</span> (<span class="ident">tx3</span>, <span class="ident">rx3</span>) <span class="op">=</span> <span class="ident">mpsc</span>::<span class="ident">channel</span>(<span class="number">1</span>);
|
|||
|
|
|||
|
<span class="ident">thread</span>::<span class="ident">spawn</span>(<span class="op">||</span> {
|
|||
|
<span class="ident">tx1</span>.<span class="ident">send</span>(<span class="number">1</span>).<span class="ident">wait</span>().<span class="ident">unwrap</span>()
|
|||
|
.<span class="ident">send</span>(<span class="number">2</span>).<span class="ident">wait</span>().<span class="ident">unwrap</span>();
|
|||
|
});
|
|||
|
<span class="ident">thread</span>::<span class="ident">spawn</span>(<span class="op">||</span> {
|
|||
|
<span class="ident">tx2</span>.<span class="ident">send</span>(<span class="number">3</span>).<span class="ident">wait</span>().<span class="ident">unwrap</span>()
|
|||
|
.<span class="ident">send</span>(<span class="number">4</span>).<span class="ident">wait</span>().<span class="ident">unwrap</span>();
|
|||
|
});
|
|||
|
<span class="ident">thread</span>::<span class="ident">spawn</span>(<span class="op">||</span> {
|
|||
|
<span class="ident">tx3</span>.<span class="ident">send</span>(<span class="ident">rx1</span>).<span class="ident">wait</span>().<span class="ident">unwrap</span>()
|
|||
|
.<span class="ident">send</span>(<span class="ident">rx2</span>).<span class="ident">wait</span>().<span class="ident">unwrap</span>();
|
|||
|
});
|
|||
|
|
|||
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">result</span> <span class="op">=</span> <span class="ident">rx3</span>.<span class="ident">flatten</span>().<span class="ident">collect</span>();
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">result</span>.<span class="ident">wait</span>(), <span class="prelude-val">Ok</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>, <span class="number">4</span>]));</pre>
|
|||
|
</div><h3 id='method.skip_while' class='method'><span id='skip_while.v' class='invisible'><code>fn <a href='#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='docblock'><p>Skip elements on this stream while the predicate provided resolves to
|
|||
|
<code>true</code>.</p>
|
|||
|
<p>This function, like <code>Iterator::skip_while</code>, will skip elements on the
|
|||
|
stream until the <code>predicate</code> resolves to <code>false</code>. Once one element
|
|||
|
returns false all future elements will be returned from the underlying
|
|||
|
stream.</p>
|
|||
|
</div><h3 id='method.take_while' class='method'><span id='take_while.v' class='invisible'><code>fn <a href='#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='docblock'><p>Take elements from this stream while the predicate provided resolves to
|
|||
|
<code>true</code>.</p>
|
|||
|
<p>This function, like <code>Iterator::take_while</code>, will take elements from the
|
|||
|
stream until the <code>predicate</code> resolves to <code>false</code>. Once one element
|
|||
|
returns false it will always return that the stream is done.</p>
|
|||
|
</div><h3 id='method.for_each' class='method'><span id='for_each.v' class='invisible'><code>fn <a href='#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='docblock'><p>Runs this stream to completion, executing the provided closure for each
|
|||
|
element on the stream.</p>
|
|||
|
<p>The closure provided will be called for each item this stream resolves
|
|||
|
to successfully, producing a future. That future will then be executed
|
|||
|
to completion before moving on to the next item.</p>
|
|||
|
<p>The returned value is a <code>Future</code> where the <code>Item</code> type is <code>()</code> and
|
|||
|
errors are otherwise threaded through. Any error on the stream or in the
|
|||
|
closure will cause iteration to be halted immediately and the future
|
|||
|
will resolve to that error.</p>
|
|||
|
<p>To process each item in the stream and produce another stream instead
|
|||
|
of a single future, use <code>and_then</code> instead.</p>
|
|||
|
</div><h3 id='method.from_err' class='method'><span id='from_err.v' class='invisible'><code>fn <a href='#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='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.</p>
|
|||
|
<p>This function does for streams what <code>try!</code> does for <code>Result</code>,
|
|||
|
by letting the compiler infer the type of the resulting error.
|
|||
|
Just as <code>map_err</code> above, this is useful for example to ensure
|
|||
|
that streams have the same error type when used with
|
|||
|
combinators.</p>
|
|||
|
<p>Note that this function consumes the receiving stream and returns a
|
|||
|
wrapped version of it.</p>
|
|||
|
</div><h3 id='method.take' class='method'><span id='take.v' class='invisible'><code>fn <a href='#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span></h3><div class='docblock'><p>Creates a new stream of at most <code>amt</code> items of the underlying stream.</p>
|
|||
|
<p>Once <code>amt</code> items have been yielded from this stream then it will always
|
|||
|
return that the stream is done.</p>
|
|||
|
<h1 id="errors-1" class="section-header"><a href="#errors-1">Errors</a></h1>
|
|||
|
<p>Any errors yielded from underlying stream, before the desired amount of
|
|||
|
items is reached, are passed through and do not affect the total number
|
|||
|
of items taken.</p>
|
|||
|
</div><h3 id='method.skip' class='method'><span id='skip.v' class='invisible'><code>fn <a href='#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span></h3><div class='docblock'><p>Creates a new stream which skips <code>amt</code> items of the underlying stream.</p>
|
|||
|
<p>Once <code>amt</code> items have been skipped from this stream then it will always
|
|||
|
return the remaining items on this stream.</p>
|
|||
|
<h1 id="errors-2" class="section-header"><a href="#errors-2">Errors</a></h1>
|
|||
|
<p>All errors yielded from underlying stream are passed through and do not
|
|||
|
affect the total number of items skipped.</p>
|
|||
|
</div><h3 id='method.fuse' class='method'><span id='fuse.v' class='invisible'><code>fn <a href='#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span></h3><div class='docblock'><p>Fuse a stream such that <code>poll</code> will never again be called once it has
|
|||
|
finished.</p>
|
|||
|
<p>Currently once a stream has returned <code>None</code> from <code>poll</code> any further
|
|||
|
calls could exhibit bad behavior such as block forever, panic, never
|
|||
|
return, etc. If it is known that <code>poll</code> may be called after stream has
|
|||
|
already finished, then this method can be used to ensure that it has
|
|||
|
defined semantics.</p>
|
|||
|
<p>Once a stream has been <code>fuse</code>d and it finishes, then it will forever
|
|||
|
return <code>None</code> from <code>poll</code>. This, unlike for the traits <code>poll</code> method,
|
|||
|
is guaranteed.</p>
|
|||
|
<p>Also note that as soon as this stream returns <code>None</code> it will be dropped
|
|||
|
to reclaim resources associated with it.</p>
|
|||
|
</div><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><h3 id='method.by_ref' class='method'><span id='by_ref.v' class='invisible'><code>fn <a href='#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span></h3><div class='docblock'><p>Borrows a stream, rather than consuming it.</p>
|
|||
|
<p>This is useful to allow applying stream adaptors while still retaining
|
|||
|
ownership of the original stream.</p>
|
|||
|
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">stream</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">future</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">stream</span> <span class="op">=</span> <span class="ident">stream</span>::<span class="ident">iter_ok</span>::<span class="op"><</span>_, ()<span class="op">></span>(<span class="number">1</span>..<span class="number">5</span>);
|
|||
|
|
|||
|
<span class="kw">let</span> <span class="ident">sum</span> <span class="op">=</span> <span class="ident">stream</span>.<span class="ident">by_ref</span>().<span class="ident">take</span>(<span class="number">2</span>).<span class="ident">fold</span>(<span class="number">0</span>, <span class="op">|</span><span class="ident">a</span>, <span class="ident">b</span><span class="op">|</span> <span class="ident">future</span>::<span class="ident">ok</span>(<span class="ident">a</span> <span class="op">+</span> <span class="ident">b</span>)).<span class="ident">wait</span>();
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">sum</span>, <span class="prelude-val">Ok</span>(<span class="number">3</span>));
|
|||
|
|
|||
|
<span class="comment">// You can use the stream again</span>
|
|||
|
<span class="kw">let</span> <span class="ident">sum</span> <span class="op">=</span> <span class="ident">stream</span>.<span class="ident">take</span>(<span class="number">2</span>).<span class="ident">fold</span>(<span class="number">0</span>, <span class="op">|</span><span class="ident">a</span>, <span class="ident">b</span><span class="op">|</span> <span class="ident">future</span>::<span class="ident">ok</span>(<span class="ident">a</span> <span class="op">+</span> <span class="ident">b</span>)).<span class="ident">wait</span>();
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">sum</span>, <span class="prelude-val">Ok</span>(<span class="number">7</span>));</pre>
|
|||
|
</div><h3 id='method.catch_unwind' class='method'><span id='catch_unwind.v' class='invisible'><code>fn <a href='#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span></h3><div class='docblock'><p>Catches unwinding panics while polling the stream.</p>
|
|||
|
<p>Caught panic (if any) will be the last element of the resulting stream.</p>
|
|||
|
<p>In general, panics within a stream can propagate all the way out to the
|
|||
|
task level. This combinator makes it possible to halt unwinding within
|
|||
|
the stream itself. It's most commonly used within task executors. This
|
|||
|
method should not be used for error handling.</p>
|
|||
|
<p>Note that this method requires the <code>UnwindSafe</code> bound from the standard
|
|||
|
library. This isn't always applied automatically, and the standard
|
|||
|
library provides an <code>AssertUnwindSafe</code> wrapper type to apply it
|
|||
|
after-the fact. To assist using this method, the <code>Stream</code> trait is also
|
|||
|
implemented for <code>AssertUnwindSafe<S></code> where <code>S</code> implements <code>Stream</code>.</p>
|
|||
|
<p>This method is only available when the <code>use_std</code> feature of this
|
|||
|
library is activated, and it is activated by default.</p>
|
|||
|
<h1 id="examples-10" class="section-header"><a href="#examples-10">Examples</a></h1>
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">stream</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> <span class="ident">stream</span> <span class="op">=</span> <span class="ident">stream</span>::<span class="ident">iter_ok</span>::<span class="op"><</span>_, <span class="ident">bool</span><span class="op">></span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="prelude-val">Some</span>(<span class="number">10</span>), <span class="prelude-val">None</span>, <span class="prelude-val">Some</span>(<span class="number">11</span>)]);
|
|||
|
<span class="comment">// panic on second element</span>
|
|||
|
<span class="kw">let</span> <span class="ident">stream_panicking</span> <span class="op">=</span> <span class="ident">stream</span>.<span class="ident">map</span>(<span class="op">|</span><span class="ident">o</span><span class="op">|</span> <span class="ident">o</span>.<span class="ident">unwrap</span>());
|
|||
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">iter</span> <span class="op">=</span> <span class="ident">stream_panicking</span>.<span class="ident">catch_unwind</span>().<span class="ident">wait</span>();
|
|||
|
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="prelude-val">Ok</span>(<span class="number">10</span>), <span class="ident">iter</span>.<span class="ident">next</span>().<span class="ident">unwrap</span>().<span class="ident">ok</span>().<span class="ident">unwrap</span>());
|
|||
|
<span class="macro">assert</span><span class="macro">!</span>(<span class="ident">iter</span>.<span class="ident">next</span>().<span class="ident">unwrap</span>().<span class="ident">is_err</span>());
|
|||
|
<span class="macro">assert</span><span class="macro">!</span>(<span class="ident">iter</span>.<span class="ident">next</span>().<span class="ident">is_none</span>());</pre>
|
|||
|
</div><h3 id='method.buffered' class='method'><span id='buffered.v' class='invisible'><code>fn <a href='#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span></h3><div class='docblock'><p>An adaptor for creating a buffered list of pending futures.</p>
|
|||
|
<p>If this stream's item can be converted into a future, then this adaptor
|
|||
|
will buffer up to at most <code>amt</code> futures and then return results in the
|
|||
|
same order as the underlying stream. No more than <code>amt</code> futures will be
|
|||
|
buffered at any point in time, and less than <code>amt</code> may also be buffered
|
|||
|
depending on the state of each future.</p>
|
|||
|
<p>The returned stream will be a stream of each future's result, with
|
|||
|
errors passed through whenever they occur.</p>
|
|||
|
<p>This method is only available when the <code>use_std</code> feature of this
|
|||
|
library is activated, and it is activated by default.</p>
|
|||
|
</div><h3 id='method.buffer_unordered' class='method'><span id='buffer_unordered.v' class='invisible'><code>fn <a href='#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span></h3><div class='docblock'><p>An adaptor for creating a buffered list of pending futures (unordered).</p>
|
|||
|
<p>If this stream's item can be converted into a future, then this adaptor
|
|||
|
will buffer up to <code>amt</code> futures and then return results in the order
|
|||
|
in which they complete. No more than <code>amt</code> futures will be buffered at
|
|||
|
any point in time, and less than <code>amt</code> may also be buffered depending on
|
|||
|
the state of each future.</p>
|
|||
|
<p>The returned stream will be a stream of each future's result, with
|
|||
|
errors passed through whenever they occur.</p>
|
|||
|
<p>This method is only available when the <code>use_std</code> feature of this
|
|||
|
library is activated, and it is activated by default.</p>
|
|||
|
</div><h3 id='method.merge' class='method'><span id='merge.v' class='invisible'><code>fn <a href='#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><div class='docblock'><p>An adapter for merging the output of two streams.</p>
|
|||
|
<p>The merged stream produces items from one or both of the underlying
|
|||
|
streams as they become available. Errors, however, are not merged: you
|
|||
|
get at most one error at a time.</p>
|
|||
|
</div><h3 id='method.zip' class='method'><span id='zip.v' class='invisible'><code>fn <a href='#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='docblock'><p>An adapter for zipping two streams together.</p>
|
|||
|
<p>The zipped stream waits for both streams to produce an item, and then
|
|||
|
returns that pair. If an error happens, then that error will be returned
|
|||
|
immediately. If either stream ends then the zipped stream will also end.</p>
|
|||
|
</div><h3 id='method.chain' class='method'><span id='chain.v' class='invisible'><code>fn <a href='#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='docblock'><p>Adapter for chaining two stream.</p>
|
|||
|
<p>The resulting stream emits elements from the first stream, and when
|
|||
|
first stream reaches the end, emits the elements from the second stream.</p>
|
|||
|
|
|||
|
<pre class="rust rust-example-rendered">
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
|
|||
|
<span class="kw">use</span> <span class="ident">futures</span>::<span class="ident">stream</span>;
|
|||
|
|
|||
|
<span class="kw">let</span> <span class="ident">stream1</span> <span class="op">=</span> <span class="ident">stream</span>::<span class="ident">iter_result</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="prelude-val">Ok</span>(<span class="number">10</span>), <span class="prelude-val">Err</span>(<span class="bool-val">false</span>)]);
|
|||
|
<span class="kw">let</span> <span class="ident">stream2</span> <span class="op">=</span> <span class="ident">stream</span>::<span class="ident">iter_result</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="prelude-val">Err</span>(<span class="bool-val">true</span>), <span class="prelude-val">Ok</span>(<span class="number">20</span>)]);
|
|||
|
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">chain</span> <span class="op">=</span> <span class="ident">stream1</span>.<span class="ident">chain</span>(<span class="ident">stream2</span>).<span class="ident">wait</span>();
|
|||
|
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="prelude-val">Some</span>(<span class="prelude-val">Ok</span>(<span class="number">10</span>)), <span class="ident">chain</span>.<span class="ident">next</span>());
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="prelude-val">Some</span>(<span class="prelude-val">Err</span>(<span class="bool-val">false</span>)), <span class="ident">chain</span>.<span class="ident">next</span>());
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="prelude-val">Some</span>(<span class="prelude-val">Err</span>(<span class="bool-val">true</span>)), <span class="ident">chain</span>.<span class="ident">next</span>());
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="prelude-val">Some</span>(<span class="prelude-val">Ok</span>(<span class="number">20</span>)), <span class="ident">chain</span>.<span class="ident">next</span>());
|
|||
|
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="prelude-val">None</span>, <span class="ident">chain</span>.<span class="ident">next</span>());</pre>
|
|||
|
</div><h3 id='method.peekable' class='method'><span id='peekable.v' class='invisible'><code>fn <a href='#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span></h3><div class='docblock'><p>Creates a new stream which exposes a <code>peek</code> method.</p>
|
|||
|
<p>Calling <code>peek</code> returns a reference to the next item in the stream.</p>
|
|||
|
</div><h3 id='method.chunks' class='method'><span id='chunks.v' class='invisible'><code>fn <a href='#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span></h3><div class='docblock'><p>An adaptor for chunking up items of the stream inside a vector.</p>
|
|||
|
<p>This combinator will attempt to pull items from this stream and buffer
|
|||
|
them into a local vector. At most <code>capacity</code> items will get buffered
|
|||
|
before they're yielded from the returned stream.</p>
|
|||
|
<p>Note that the vectors returned from this iterator may not always have
|
|||
|
<code>capacity</code> elements. If the underlying stream ended and only a partial
|
|||
|
vector was created, it'll be returned. Additionally if an error happens
|
|||
|
from the underlying stream then the currently buffered items will be
|
|||
|
yielded.</p>
|
|||
|
<p>Errors are passed through the stream unbuffered.</p>
|
|||
|
<p>This method is only available when the <code>use_std</code> feature of this
|
|||
|
library is activated, and it is activated by default.</p>
|
|||
|
<h1 id="panics-3" class="section-header"><a href="#panics-3">Panics</a></h1>
|
|||
|
<p>This method will panic of <code>capacity</code> is zero.</p>
|
|||
|
</div><h3 id='method.select' class='method'><span id='select.v' class='invisible'><code>fn <a href='#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span></h3><div class='docblock'><p>Creates a stream that selects the next element from either this stream
|
|||
|
or the provided one, whichever is ready first.</p>
|
|||
|
<p>This combinator will attempt to pull items from both streams. Each
|
|||
|
stream will be polled in a round-robin fashion, and whenever a stream is
|
|||
|
ready to yield an item that item is yielded.</p>
|
|||
|
<p>The <code>select</code> function is similar to <code>merge</code> except that it requires both
|
|||
|
streams to have the same item and error types.</p>
|
|||
|
<p>Error are passed through from either stream.</p>
|
|||
|
</div><h3 id='method.forward' class='method'><span id='forward.v' class='invisible'><code>fn <a href='#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span></h3><div class='docblock'><p>A future that completes after the given stream has been fully processed
|
|||
|
into the sink, including flushing.</p>
|
|||
|
<p>This future will drive the stream to keep producing items until it is
|
|||
|
exhausted, sending each item to the sink. It will complete once both the
|
|||
|
stream is exhausted, and the sink has fully processed received item,
|
|||
|
flushed successfully, and closed successfully.</p>
|
|||
|
<p>Doing <code>stream.forward(sink)</code> is roughly equivalent to
|
|||
|
<code>sink.send_all(stream)</code>. The returned future will exhaust all items from
|
|||
|
<code>self</code>, sending them all to <code>sink</code>. Furthermore the <code>sink</code> will be
|
|||
|
closed and flushed.</p>
|
|||
|
<p>On completion, the pair <code>(stream, sink)</code> is returned.</p>
|
|||
|
</div><h3 id='method.split' class='method'><span id='split.v' class='invisible'><code>fn <a href='#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span></h3><div class='docblock'><p>Splits this <code>Stream + Sink</code> object into separate <code>Stream</code> and <code>Sink</code>
|
|||
|
objects.</p>
|
|||
|
<p>This can be useful when you want to split ownership between tasks, or
|
|||
|
allow direct interaction between the two objects (e.g. via
|
|||
|
<code>Sink::send_all</code>).</p>
|
|||
|
<p>This method is only available when the <code>use_std</code> feature of this
|
|||
|
library is activated, and it is activated by default.</p>
|
|||
|
</div><h3 id='method.inspect' class='method'><span id='inspect.v' class='invisible'><code>fn <a href='#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span></h3><div class='docblock'><p>Do something with each item of this stream, afterwards passing it on.</p>
|
|||
|
<p>This is similar to the <code>Iterator::inspect</code> method in the standard
|
|||
|
library where it allows easily inspecting each value as it passes
|
|||
|
through the stream, for example to debug what's going on.</p>
|
|||
|
</div><h3 id='method.inspect_err' class='method'><span id='inspect_err.v' class='invisible'><code>fn <a href='#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span></h3><div class='docblock'><p>Do something with the error of this stream, afterwards passing it on.</p>
|
|||
|
<p>This is similar to the <code>Stream::inspect</code> method where it allows
|
|||
|
easily inspecting the error as it passes through the stream, for
|
|||
|
example to debug what's going on.</p>
|
|||
|
</div></div>
|
|||
|
<h2 id='foreign-impls' class='small-section-header'>
|
|||
|
Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a>
|
|||
|
</h2>
|
|||
|
<h3 id='impl-Stream' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/sync/mpsc/struct.Receiver.html" title="struct futures::sync::mpsc::Receiver">Receiver</a><T></code><a href='#impl-Stream' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sync/mpsc/mod.rs.html#900-945' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-1' class="type"><span id='Item.t-1' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = T</code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-1' class="type"><span id='Error.t-1' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></span></h4>
|
|||
|
<h4 id='method.poll' class="method"><span id='poll.v-1' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T>>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sync/mpsc/mod.rs.html#904-944' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-1' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-1' class="method"><span id='into_future.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-1' class="method"><span id='map.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-1' class="method"><span id='map_err.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-1' class="method"><span id='filter.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-1' class="method"><span id='filter_map.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-1' class="method"><span id='then.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-1' class="method"><span id='and_then.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-1' class="method"><span id='or_else.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-1' class="method"><span id='collect.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-1' class="method"><span id='concat2.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-1' class="method"><span id='concat.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-1' class="method"><span id='fold.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-1' class="method"><span id='flatten.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-1' class="method"><span id='skip_while.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-1' class="method"><span id='take_while.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-1' class="method"><span id='for_each.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-1' class="method"><span id='from_err.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-1' class="method"><span id='take.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-1' class="method"><span id='skip.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-1' class="method"><span id='fuse.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-1' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-1' class="method"><span id='catch_unwind.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-1' class="method"><span id='buffered.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-1' class="method"><span id='buffer_unordered.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-1' class="method"><span id='merge.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-1' class="method"><span id='zip.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-1' class="method"><span id='chain.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-1' class="method"><span id='peekable.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-1' class="method"><span id='chunks.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-1' class="method"><span id='select.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-1' class="method"><span id='forward.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-1' class="method"><span id='split.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-1' class="method"><span id='inspect.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-1' class="method"><span id='inspect_err.v-1' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-1' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/unsync/mpsc/struct.UnboundedReceiver.html" title="struct futures::unsync::mpsc::UnboundedReceiver">UnboundedReceiver</a><T></code><a href='#impl-Stream-1' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/unsync/mpsc.rs.html#294-301' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-2' class="type"><span id='Item.t-2' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = T</code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-2' class="type"><span id='Error.t-2' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></span></h4>
|
|||
|
<h4 id='method.poll-1' class="method"><span id='poll.v-2' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</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="../../futures/unsync/mpsc/struct.UnboundedReceiver.html" title="struct futures::unsync::mpsc::UnboundedReceiver">UnboundedReceiver</a><T> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <<a class="struct" href="../../futures/unsync/mpsc/struct.UnboundedReceiver.html" title="struct futures::unsync::mpsc::UnboundedReceiver">UnboundedReceiver</a><T> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/unsync/mpsc.rs.html#298-300' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-2' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-2' class="method"><span id='into_future.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-2' class="method"><span id='map.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-2' class="method"><span id='map_err.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-2' class="method"><span id='filter.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-2' class="method"><span id='filter_map.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-2' class="method"><span id='then.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-2' class="method"><span id='and_then.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-2' class="method"><span id='or_else.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-2' class="method"><span id='collect.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-2' class="method"><span id='concat2.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-2' class="method"><span id='concat.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-2' class="method"><span id='fold.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-2' class="method"><span id='flatten.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-2' class="method"><span id='skip_while.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-2' class="method"><span id='take_while.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-2' class="method"><span id='for_each.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-2' class="method"><span id='from_err.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-2' class="method"><span id='take.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-2' class="method"><span id='skip.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-2' class="method"><span id='fuse.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-2' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-2' class="method"><span id='catch_unwind.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-2' class="method"><span id='buffered.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-2' class="method"><span id='buffer_unordered.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-2' class="method"><span id='merge.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-2' class="method"><span id='zip.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-2' class="method"><span id='chain.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-2' class="method"><span id='peekable.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-2' class="method"><span id='chunks.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-2' class="method"><span id='select.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-2' class="method"><span id='forward.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-2' class="method"><span id='split.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-2' class="method"><span id='inspect.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-2' class="method"><span id='inspect_err.v-2' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-2' class='impl'><span class='in-band'><code>impl<I, E> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/sync/mpsc/struct.SpawnHandle.html" title="struct futures::sync::mpsc::SpawnHandle">SpawnHandle</a><I, E></code><a href='#impl-Stream-2' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sync/mpsc/mod.rs.html#1063-1076' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-3' class="type"><span id='Item.t-3' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = I</code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-3' class="type"><span id='Error.t-3' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = E</code></span></h4>
|
|||
|
<h4 id='method.poll-2' class="method"><span id='poll.v-3' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><I>>, E></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sync/mpsc/mod.rs.html#1067-1075' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-3' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-3' class="method"><span id='into_future.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-3' class="method"><span id='map.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-3' class="method"><span id='map_err.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-3' class="method"><span id='filter.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-3' class="method"><span id='filter_map.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-3' class="method"><span id='then.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-3' class="method"><span id='and_then.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-3' class="method"><span id='or_else.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-3' class="method"><span id='collect.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-3' class="method"><span id='concat2.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-3' class="method"><span id='concat.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-3' class="method"><span id='fold.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-3' class="method"><span id='flatten.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-3' class="method"><span id='skip_while.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-3' class="method"><span id='take_while.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-3' class="method"><span id='for_each.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-3' class="method"><span id='from_err.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-3' class="method"><span id='take.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-3' class="method"><span id='skip.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-3' class="method"><span id='fuse.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-3' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-3' class="method"><span id='catch_unwind.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-3' class="method"><span id='buffered.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-3' class="method"><span id='buffer_unordered.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-3' class="method"><span id='merge.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-3' class="method"><span id='zip.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-3' class="method"><span id='chain.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-3' class="method"><span id='peekable.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-3' class="method"><span id='chunks.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-3' class="method"><span id='select.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-3' class="method"><span id='forward.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-3' class="method"><span id='split.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-3' class="method"><span id='inspect.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-3' class="method"><span id='inspect_err.v-3' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-3' class='impl'><span class='in-band'><code>impl<S, U, F, St> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/sink/with_flat_map/struct.WithFlatMap.html" title="struct futures::sink::with_flat_map::WithFlatMap">WithFlatMap</a><S, U, F, St> <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>(U) -> St,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> + <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>,<br> St: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = <S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkItem" title="type tokio::prelude::Sink::SinkItem">SinkItem</a>, Error = <S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code><a href='#impl-Stream-3' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/with_flat_map.rs.html#83-94' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-4' class="type"><span id='Item.t-4' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-4' class="type"><span id='Error.t-4' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-3' class="method"><span id='poll.v-4' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/with_flat_map.rs.html#91-93' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-4' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-4' class="method"><span id='into_future.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-4' class="method"><span id='map.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-4' class="method"><span id='map_err.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-4' class="method"><span id='filter.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-4' class="method"><span id='filter_map.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-4' class="method"><span id='then.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-4' class="method"><span id='and_then.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-4' class="method"><span id='or_else.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-4' class="method"><span id='collect.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-4' class="method"><span id='concat2.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-4' class="method"><span id='concat.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-4' class="method"><span id='fold.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-4' class="method"><span id='flatten.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-4' class="method"><span id='skip_while.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-4' class="method"><span id='take_while.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-4' class="method"><span id='for_each.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-4' class="method"><span id='from_err.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-4' class="method"><span id='take.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-4' class="method"><span id='skip.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-4' class="method"><span id='fuse.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-4' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-4' class="method"><span id='catch_unwind.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-4' class="method"><span id='buffered.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-4' class="method"><span id='buffer_unordered.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-4' class="method"><span id='merge.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-4' class="method"><span id='zip.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-4' class="method"><span id='chain.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-4' class="method"><span id='peekable.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-4' class="method"><span id='chunks.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-4' class="method"><span id='select.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-4' class="method"><span id='forward.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-4' class="method"><span id='split.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-4' class="method"><span id='inspect.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-4' class="method"><span id='inspect_err.v-4' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-4' class='impl'><span class='in-band'><code>impl<S> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/panic/struct.AssertUnwindSafe.html" title="struct std::panic::AssertUnwindSafe">AssertUnwindSafe</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></code><a href='#impl-Stream-4' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/catch_unwind.rs.html#64-71' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-5' class="type"><span id='Item.t-5' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-5' class="type"><span id='Error.t-5' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-4' class="method"><span id='poll.v-5' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/catch_unwind.rs.html#68-70' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-5' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-5' class="method"><span id='into_future.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-5' class="method"><span id='map.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-5' class="method"><span id='map_err.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-5' class="method"><span id='filter.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-5' class="method"><span id='filter_map.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-5' class="method"><span id='then.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-5' class="method"><span id='and_then.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-5' class="method"><span id='or_else.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-5' class="method"><span id='collect.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-5' class="method"><span id='concat2.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-5' class="method"><span id='concat.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-5' class="method"><span id='fold.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-5' class="method"><span id='flatten.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-5' class="method"><span id='skip_while.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-5' class="method"><span id='take_while.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-5' class="method"><span id='for_each.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-5' class="method"><span id='from_err.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-5' class="method"><span id='take.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-5' class="method"><span id='skip.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-5' class="method"><span id='fuse.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-5' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-5' class="method"><span id='catch_unwind.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-5' class="method"><span id='buffered.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-5' class="method"><span id='buffer_unordered.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-5' class="method"><span id='merge.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-5' class="method"><span id='zip.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-5' class="method"><span id='chain.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-5' class="method"><span id='peekable.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-5' class="method"><span id='chunks.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-5' class="method"><span id='select.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-5' class="method"><span id='forward.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-5' class="method"><span id='split.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-5' class="method"><span id='inspect.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-5' class="method"><span id='inspect_err.v-5' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-5' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/unsync/mpsc/struct.Receiver.html" title="struct futures::unsync::mpsc::Receiver">Receiver</a><T></code><a href='#impl-Stream-5' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/unsync/mpsc.rs.html#164-194' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-6' class="type"><span id='Item.t-6' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = T</code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-6' class="type"><span id='Error.t-6' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></span></h4>
|
|||
|
<h4 id='method.poll-5' class="method"><span id='poll.v-6' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</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="../../futures/unsync/mpsc/struct.Receiver.html" title="struct futures::unsync::mpsc::Receiver">Receiver</a><T> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <<a class="struct" href="../../futures/unsync/mpsc/struct.Receiver.html" title="struct futures::unsync::mpsc::Receiver">Receiver</a><T> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/unsync/mpsc.rs.html#168-193' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-6' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-6' class="method"><span id='into_future.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-6' class="method"><span id='map.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-6' class="method"><span id='map_err.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-6' class="method"><span id='filter.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-6' class="method"><span id='filter_map.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-6' class="method"><span id='then.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-6' class="method"><span id='and_then.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-6' class="method"><span id='or_else.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-6' class="method"><span id='collect.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-6' class="method"><span id='concat2.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-6' class="method"><span id='concat.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-6' class="method"><span id='fold.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-6' class="method"><span id='flatten.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-6' class="method"><span id='skip_while.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-6' class="method"><span id='take_while.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-6' class="method"><span id='for_each.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-6' class="method"><span id='from_err.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-6' class="method"><span id='take.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-6' class="method"><span id='skip.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-6' class="method"><span id='fuse.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-6' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-6' class="method"><span id='catch_unwind.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-6' class="method"><span id='buffered.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-6' class="method"><span id='buffer_unordered.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-6' class="method"><span id='merge.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-6' class="method"><span id='zip.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-6' class="method"><span id='chain.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-6' class="method"><span id='peekable.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-6' class="method"><span id='chunks.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-6' class="method"><span id='select.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-6' class="method"><span id='forward.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-6' class="method"><span id='split.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-6' class="method"><span id='inspect.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-6' class="method"><span id='inspect_err.v-6' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-6' class='impl'><span class='in-band'><code>impl<I, E> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/unsync/mpsc/struct.SpawnHandle.html" title="struct futures::unsync::mpsc::SpawnHandle">SpawnHandle</a><I, E></code><a href='#impl-Stream-6' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/unsync/mpsc.rs.html#431-444' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-7' class="type"><span id='Item.t-7' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = I</code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-7' class="type"><span id='Error.t-7' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = E</code></span></h4>
|
|||
|
<h4 id='method.poll-6' class="method"><span id='poll.v-7' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><I>>, E></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/unsync/mpsc.rs.html#435-443' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-7' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-7' class="method"><span id='into_future.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-7' class="method"><span id='map.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-7' class="method"><span id='map_err.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-7' class="method"><span id='filter.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-7' class="method"><span id='filter_map.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-7' class="method"><span id='then.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-7' class="method"><span id='and_then.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-7' class="method"><span id='or_else.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-7' class="method"><span id='collect.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-7' class="method"><span id='concat2.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-7' class="method"><span id='concat.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-7' class="method"><span id='fold.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-7' class="method"><span id='flatten.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-7' class="method"><span id='skip_while.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-7' class="method"><span id='take_while.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-7' class="method"><span id='for_each.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-7' class="method"><span id='from_err.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-7' class="method"><span id='take.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-7' class="method"><span id='skip.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-7' class="method"><span id='fuse.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-7' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-7' class="method"><span id='catch_unwind.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-7' class="method"><span id='buffered.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-7' class="method"><span id='buffer_unordered.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-7' class="method"><span id='merge.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-7' class="method"><span id='zip.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-7' class="method"><span id='chain.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-7' class="method"><span id='peekable.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-7' class="method"><span id='chunks.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-7' class="method"><span id='select.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-7' class="method"><span id='forward.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-7' class="method"><span id='split.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-7' class="method"><span id='inspect.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-7' class="method"><span id='inspect_err.v-7' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-7' class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/sync/mpsc/struct.UnboundedReceiver.html" title="struct futures::sync::mpsc::UnboundedReceiver">UnboundedReceiver</a><T></code><a href='#impl-Stream-7' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sync/mpsc/mod.rs.html#967-974' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-8' class="type"><span id='Item.t-8' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = T</code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-8' class="type"><span id='Error.t-8' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></span></h4>
|
|||
|
<h4 id='method.poll-7' class="method"><span id='poll.v-8' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T>>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sync/mpsc/mod.rs.html#971-973' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-8' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-8' class="method"><span id='into_future.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-8' class="method"><span id='map.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-8' class="method"><span id='map_err.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-8' class="method"><span id='filter.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-8' class="method"><span id='filter_map.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-8' class="method"><span id='then.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-8' class="method"><span id='and_then.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-8' class="method"><span id='or_else.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-8' class="method"><span id='collect.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-8' class="method"><span id='concat2.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-8' class="method"><span id='concat.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-8' class="method"><span id='fold.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-8' class="method"><span id='flatten.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-8' class="method"><span id='skip_while.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-8' class="method"><span id='take_while.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-8' class="method"><span id='for_each.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-8' class="method"><span id='from_err.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-8' class="method"><span id='take.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-8' class="method"><span id='skip.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-8' class="method"><span id='fuse.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-8' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-8' class="method"><span id='catch_unwind.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-8' class="method"><span id='buffered.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-8' class="method"><span id='buffer_unordered.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-8' class="method"><span id='merge.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-8' class="method"><span id='zip.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-8' class="method"><span id='chain.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-8' class="method"><span id='peekable.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-8' class="method"><span id='chunks.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-8' class="method"><span id='select.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-8' class="method"><span id='forward.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-8' class="method"><span id='split.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-8' class="method"><span id='inspect.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-8' class="method"><span id='inspect_err.v-8' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-8' class='impl'><span class='in-band'><code>impl<S, U, F, Fut> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/sink/with/struct.With.html" title="struct futures::sink::with::With">With</a><S, U, F, Fut> <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>(U) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> + <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code><a href='#impl-Stream-8' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/with.rs.html#55-66' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-9' class="type"><span id='Item.t-9' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-9' class="type"><span id='Error.t-9' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-8' class="method"><span id='poll.v-9' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/with.rs.html#63-65' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-9' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-9' class="method"><span id='into_future.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-9' class="method"><span id='map.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-9' class="method"><span id='map_err.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-9' class="method"><span id='filter.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-9' class="method"><span id='filter_map.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-9' class="method"><span id='then.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-9' class="method"><span id='and_then.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-9' class="method"><span id='or_else.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-9' class="method"><span id='collect.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-9' class="method"><span id='concat2.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-9' class="method"><span id='concat.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-9' class="method"><span id='fold.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-9' class="method"><span id='flatten.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-9' class="method"><span id='skip_while.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-9' class="method"><span id='take_while.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-9' class="method"><span id='for_each.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-9' class="method"><span id='from_err.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-9' class="method"><span id='take.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-9' class="method"><span id='skip.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-9' class="method"><span id='fuse.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-9' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-9' class="method"><span id='catch_unwind.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-9' class="method"><span id='buffered.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-9' class="method"><span id='buffer_unordered.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-9' class="method"><span id='merge.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-9' class="method"><span id='zip.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-9' class="method"><span id='chain.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-9' class="method"><span id='peekable.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-9' class="method"><span id='chunks.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-9' class="method"><span id='select.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-9' class="method"><span id='forward.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-9' class="method"><span id='split.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-9' class="method"><span id='inspect.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-9' class="method"><span id='inspect_err.v-9' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-9' class='impl'><span class='in-band'><code>impl<S> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/sink/buffer/struct.Buffer.html" title="struct futures::sink::buffer::Buffer">Buffer</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a> + <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></code><a href='#impl-Stream-9' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/buffer.rs.html#61-68' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-10' class="type"><span id='Item.t-10' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-10' class="type"><span id='Error.t-10' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-9' class="method"><span id='poll.v-10' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/buffer.rs.html#65-67' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-10' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-10' class="method"><span id='into_future.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-10' class="method"><span id='map.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-10' class="method"><span id='map_err.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-10' class="method"><span id='filter.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-10' class="method"><span id='filter_map.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-10' class="method"><span id='then.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-10' class="method"><span id='and_then.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-10' class="method"><span id='or_else.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-10' class="method"><span id='collect.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-10' class="method"><span id='concat2.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-10' class="method"><span id='concat.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-10' class="method"><span id='fold.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-10' class="method"><span id='flatten.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-10' class="method"><span id='skip_while.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-10' class="method"><span id='take_while.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-10' class="method"><span id='for_each.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-10' class="method"><span id='from_err.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-10' class="method"><span id='take.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-10' class="method"><span id='skip.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-10' class="method"><span id='fuse.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-10' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-10' class="method"><span id='catch_unwind.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-10' class="method"><span id='buffered.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-10' class="method"><span id='buffer_unordered.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-10' class="method"><span id='merge.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-10' class="method"><span id='zip.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-10' class="method"><span id='chain.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-10' class="method"><span id='peekable.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-10' class="method"><span id='chunks.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-10' class="method"><span id='select.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-10' class="method"><span id='forward.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-10' class="method"><span id='split.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-10' class="method"><span id='inspect.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-10' class="method"><span id='inspect_err.v-10' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-10' class='impl'><span class='in-band'><code>impl<S, E> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/sink/from_err/struct.SinkFromErr.html" title="struct futures::sink::from_err::SinkFromErr">SinkFromErr</a><S, E> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></code><a href='#impl-Stream-10' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/from_err.rs.html#64-71' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-11' class="type"><span id='Item.t-11' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-11' class="type"><span id='Error.t-11' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-10' class="method"><span id='poll.v-11' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/from_err.rs.html#68-70' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-11' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-11' class="method"><span id='into_future.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-11' class="method"><span id='map.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-11' class="method"><span id='map_err.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-11' class="method"><span id='filter.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-11' class="method"><span id='filter_map.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-11' class="method"><span id='then.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-11' class="method"><span id='and_then.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-11' class="method"><span id='or_else.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-11' class="method"><span id='collect.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-11' class="method"><span id='concat2.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-11' class="method"><span id='concat.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-11' class="method"><span id='fold.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-11' class="method"><span id='flatten.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-11' class="method"><span id='skip_while.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-11' class="method"><span id='take_while.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-11' class="method"><span id='for_each.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-11' class="method"><span id='from_err.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-11' class="method"><span id='take.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-11' class="method"><span id='skip.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-11' class="method"><span id='fuse.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-11' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-11' class="method"><span id='catch_unwind.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-11' class="method"><span id='buffered.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-11' class="method"><span id='buffer_unordered.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-11' class="method"><span id='merge.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-11' class="method"><span id='zip.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-11' class="method"><span id='chain.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-11' class="method"><span id='peekable.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-11' class="method"><span id='chunks.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-11' class="method"><span id='select.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-11' class="method"><span id='forward.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-11' class="method"><span id='split.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-11' class="method"><span id='inspect.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-11' class="method"><span id='inspect_err.v-11' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-11' class='impl'><span class='in-band'><code>impl<'a, S> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>S <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</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-Stream-11' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1114-1121' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-12' class="type"><span id='Item.t-12' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-12' class="type"><span id='Error.t-12' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-11' class="method"><span id='poll.v-12' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1118-1120' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-12' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-12' class="method"><span id='into_future.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-12' class="method"><span id='map.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-12' class="method"><span id='map_err.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-12' class="method"><span id='filter.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-12' class="method"><span id='filter_map.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-12' class="method"><span id='then.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-12' class="method"><span id='and_then.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-12' class="method"><span id='or_else.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-12' class="method"><span id='collect.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-12' class="method"><span id='concat2.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-12' class="method"><span id='concat.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-12' class="method"><span id='fold.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-12' class="method"><span id='flatten.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-12' class="method"><span id='skip_while.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-12' class="method"><span id='take_while.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-12' class="method"><span id='for_each.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-12' class="method"><span id='from_err.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-12' class="method"><span id='take.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-12' class="method"><span id='skip.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-12' class="method"><span id='fuse.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-12' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-12' class="method"><span id='catch_unwind.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-12' class="method"><span id='buffered.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-12' class="method"><span id='buffer_unordered.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-12' class="method"><span id='merge.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-12' class="method"><span id='zip.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-12' class="method"><span id='chain.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-12' class="method"><span id='peekable.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-12' class="method"><span id='chunks.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-12' class="method"><span id='select.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-12' class="method"><span id='forward.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-12' class="method"><span id='split.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-12' class="method"><span id='inspect.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-12' class="method"><span id='inspect_err.v-12' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-12' class='impl'><span class='in-band'><code>impl<S, F> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../futures/sink/map_err/struct.SinkMapErr.html" title="struct futures::sink::map_err::SinkMapErr">SinkMapErr</a><S, F> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></code><a href='#impl-Stream-12' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/map_err.rs.html#57-64' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-13' class="type"><span id='Item.t-13' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-13' class="type"><span id='Error.t-13' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-12' class="method"><span id='poll.v-13' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/sink/map_err.rs.html#61-63' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-13' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-13' class="method"><span id='into_future.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-13' class="method"><span id='map.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-13' class="method"><span id='map_err.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-13' class="method"><span id='filter.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-13' class="method"><span id='filter_map.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-13' class="method"><span id='then.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-13' class="method"><span id='and_then.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-13' class="method"><span id='or_else.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-13' class="method"><span id='collect.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-13' class="method"><span id='concat2.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-13' class="method"><span id='concat.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-13' class="method"><span id='fold.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-13' class="method"><span id='flatten.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-13' class="method"><span id='skip_while.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-13' class="method"><span id='take_while.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-13' class="method"><span id='for_each.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-13' class="method"><span id='from_err.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-13' class="method"><span id='take.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-13' class="method"><span id='skip.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-13' class="method"><span id='fuse.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-13' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-13' class="method"><span id='catch_unwind.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-13' class="method"><span id='buffered.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-13' class="method"><span id='buffer_unordered.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-13' class="method"><span id='merge.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-13' class="method"><span id='zip.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-13' class="method"><span id='chain.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-13' class="method"><span id='peekable.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-13' class="method"><span id='chunks.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-13' class="method"><span id='select.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-13' class="method"><span id='forward.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-13' class="method"><span id='split.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-13' class="method"><span id='inspect.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-13' class="method"><span id='inspect_err.v-13' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-13' class='impl'><span class='in-band'><code>impl<S> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</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-Stream-13' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#134-141' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-14' class="type"><span id='Item.t-14' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-14' class="type"><span id='Error.t-14' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-13' class="method"><span id='poll.v-14' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</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="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#138-140' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-14' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-14' class="method"><span id='into_future.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-14' class="method"><span id='map.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-14' class="method"><span id='map_err.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-14' class="method"><span id='filter.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-14' class="method"><span id='filter_map.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-14' class="method"><span id='then.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-14' class="method"><span id='and_then.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-14' class="method"><span id='or_else.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-14' class="method"><span id='collect.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-14' class="method"><span id='concat2.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-14' class="method"><span id='concat.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-14' class="method"><span id='fold.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-14' class="method"><span id='flatten.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-14' class="method"><span id='skip_while.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-14' class="method"><span id='take_while.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-14' class="method"><span id='for_each.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-14' class="method"><span id='from_err.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-14' class="method"><span id='take.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-14' class="method"><span id='skip.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-14' class="method"><span id='fuse.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-14' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-14' class="method"><span id='catch_unwind.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-14' class="method"><span id='buffered.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-14' class="method"><span id='buffer_unordered.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-14' class="method"><span id='merge.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-14' class="method"><span id='zip.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-14' class="method"><span id='chain.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-14' class="method"><span id='peekable.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-14' class="method"><span id='chunks.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-14' class="method"><span id='select.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-14' class="method"><span id='forward.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-14' class="method"><span id='split.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-14' class="method"><span id='inspect.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-14' class="method"><span id='inspect_err.v-14' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-14' class='impl'><span class='in-band'><code>impl<T, U> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../tokio_io/_tokio_codec/framed/struct.Framed.html" title="struct tokio_io::_tokio_codec::framed::Framed">Framed</a><T, U> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../tokio/prelude/trait.AsyncRead.html" title="trait tokio::prelude::AsyncRead">AsyncRead</a>,<br> U: <a class="trait" href="../../tokio_io/codec/decoder/trait.Decoder.html" title="trait tokio_io::codec::decoder::Decoder">Decoder</a>, </span></code><a href='#impl-Stream-14' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/tokio_io/_tokio_codec/framed.rs.html#129-139' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-15' class="type"><span id='Item.t-15' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <U as <a class="trait" href="../../tokio_io/codec/decoder/trait.Decoder.html" title="trait tokio_io::codec::decoder::Decoder">Decoder</a>>::<a class="type" href="../../tokio_io/codec/decoder/trait.Decoder.html#associatedtype.Item" title="type tokio_io::codec::decoder::Decoder::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-15' class="type"><span id='Error.t-15' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="../../tokio_io/codec/decoder/trait.Decoder.html" title="trait tokio_io::codec::decoder::Decoder">Decoder</a>>::<a class="type" href="../../tokio_io/codec/decoder/trait.Decoder.html#associatedtype.Error" title="type tokio_io::codec::decoder::Decoder::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-14' class="method"><span id='poll.v-15' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</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="../../tokio_io/_tokio_codec/framed/struct.Framed.html" title="struct tokio_io::_tokio_codec::framed::Framed">Framed</a><T, U> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <<a class="struct" href="../../tokio_io/_tokio_codec/framed/struct.Framed.html" title="struct tokio_io::_tokio_codec::framed::Framed">Framed</a><T, U> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/tokio_io/_tokio_codec/framed.rs.html#136-138' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-15' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-15' class="method"><span id='into_future.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-15' class="method"><span id='map.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-15' class="method"><span id='map_err.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-15' class="method"><span id='filter.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-15' class="method"><span id='filter_map.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-15' class="method"><span id='then.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-15' class="method"><span id='and_then.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-15' class="method"><span id='or_else.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-15' class="method"><span id='collect.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-15' class="method"><span id='concat2.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-15' class="method"><span id='concat.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-15' class="method"><span id='fold.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-15' class="method"><span id='flatten.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-15' class="method"><span id='skip_while.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-15' class="method"><span id='take_while.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-15' class="method"><span id='for_each.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-15' class="method"><span id='from_err.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-15' class="method"><span id='take.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-15' class="method"><span id='skip.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-15' class="method"><span id='fuse.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-15' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-15' class="method"><span id='catch_unwind.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-15' class="method"><span id='buffered.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-15' class="method"><span id='buffer_unordered.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-15' class="method"><span id='merge.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-15' class="method"><span id='zip.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-15' class="method"><span id='chain.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-15' class="method"><span id='peekable.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-15' class="method"><span id='chunks.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-15' class="method"><span id='select.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-15' class="method"><span id='forward.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-15' class="method"><span id='split.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-15' class="method"><span id='inspect.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-15' class="method"><span id='inspect_err.v-15' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-15' class='impl'><span class='in-band'><code>impl<T, D> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../tokio_io/_tokio_codec/framed_write/struct.FramedWrite.html" title="struct tokio_io::_tokio_codec::framed_write::FramedWrite">FramedWrite</a><T, D> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></code><a href='#impl-Stream-15' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/tokio_io/_tokio_codec/framed_write.rs.html#99-108' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-16' class="type"><span id='Item.t-16' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <T as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-16' class="type"><span id='Error.t-16' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <T as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-15' class="method"><span id='poll.v-16' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</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="../../tokio_io/_tokio_codec/framed_write/struct.FramedWrite.html" title="struct tokio_io::_tokio_codec::framed_write::FramedWrite">FramedWrite</a><T, D> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <<a class="struct" href="../../tokio_io/_tokio_codec/framed_write/struct.FramedWrite.html" title="struct tokio_io::_tokio_codec::framed_write::FramedWrite">FramedWrite</a><T, D> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/tokio_io/_tokio_codec/framed_write.rs.html#105-107' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-16' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-16' class="method"><span id='into_future.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-16' class="method"><span id='map.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-16' class="method"><span id='map_err.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-16' class="method"><span id='filter.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-16' class="method"><span id='filter_map.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-16' class="method"><span id='then.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-16' class="method"><span id='and_then.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-16' class="method"><span id='or_else.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-16' class="method"><span id='collect.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-16' class="method"><span id='concat2.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-16' class="method"><span id='concat.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-16' class="method"><span id='fold.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-16' class="method"><span id='flatten.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-16' class="method"><span id='skip_while.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-16' class="method"><span id='take_while.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-16' class="method"><span id='for_each.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-16' class="method"><span id='from_err.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-16' class="method"><span id='take.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-16' class="method"><span id='skip.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-16' class="method"><span id='fuse.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-16' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-16' class="method"><span id='catch_unwind.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-16' class="method"><span id='buffered.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-16' class="method"><span id='buffer_unordered.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-16' class="method"><span id='merge.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-16' class="method"><span id='zip.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-16' class="method"><span id='chain.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-16' class="method"><span id='peekable.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-16' class="method"><span id='chunks.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-16' class="method"><span id='select.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-16' class="method"><span id='forward.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-16' class="method"><span id='split.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-16' class="method"><span id='inspect.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-16' class="method"><span id='inspect_err.v-16' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-16' class='impl'><span class='in-band'><code>impl<T, D> <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../tokio_io/_tokio_codec/framed_read/struct.FramedRead.html" title="struct tokio_io::_tokio_codec::framed_read::FramedRead">FramedRead</a><T, D> <span class="where fmt-newline">where<br> D: <a class="trait" href="../../tokio_io/codec/decoder/trait.Decoder.html" title="trait tokio_io::codec::decoder::Decoder">Decoder</a>,<br> T: <a class="trait" href="../../tokio/prelude/trait.AsyncRead.html" title="trait tokio::prelude::AsyncRead">AsyncRead</a>, </span></code><a href='#impl-Stream-16' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/tokio_io/_tokio_codec/framed_read.rs.html#81-91' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-17' class="type"><span id='Item.t-17' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <D as <a class="trait" href="../../tokio_io/codec/decoder/trait.Decoder.html" title="trait tokio_io::codec::decoder::Decoder">Decoder</a>>::<a class="type" href="../../tokio_io/codec/decoder/trait.Decoder.html#associatedtype.Item" title="type tokio_io::codec::decoder::Decoder::Item">Item</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-17' class="type"><span id='Error.t-17' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <D as <a class="trait" href="../../tokio_io/codec/decoder/trait.Decoder.html" title="trait tokio_io::codec::decoder::Decoder">Decoder</a>>::<a class="type" href="../../tokio_io/codec/decoder/trait.Decoder.html#associatedtype.Error" title="type tokio_io::codec::decoder::Decoder::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-16' class="method"><span id='poll.v-17' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</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="../../tokio_io/_tokio_codec/framed_read/struct.FramedRead.html" title="struct tokio_io::_tokio_codec::framed_read::FramedRead">FramedRead</a><T, D> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <<a class="struct" href="../../tokio_io/_tokio_codec/framed_read/struct.FramedRead.html" title="struct tokio_io::_tokio_codec::framed_read::FramedRead">FramedRead</a><T, D> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/tokio_io/_tokio_codec/framed_read.rs.html#88-90' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-17' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-17' class="method"><span id='into_future.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-17' class="method"><span id='map.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-17' class="method"><span id='map_err.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-17' class="method"><span id='filter.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-17' class="method"><span id='filter_map.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-17' class="method"><span id='then.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-17' class="method"><span id='and_then.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-17' class="method"><span id='or_else.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-17' class="method"><span id='collect.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-17' class="method"><span id='concat2.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-17' class="method"><span id='concat.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-17' class="method"><span id='fold.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-17' class="method"><span id='flatten.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-17' class="method"><span id='skip_while.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-17' class="method"><span id='take_while.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-17' class="method"><span id='for_each.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-17' class="method"><span id='from_err.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-17' class="method"><span id='take.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-17' class="method"><span id='skip.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-17' class="method"><span id='fuse.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-17' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-17' class="method"><span id='catch_unwind.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-17' class="method"><span id='buffered.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-17' class="method"><span id='buffer_unordered.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-17' class="method"><span id='merge.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-17' class="method"><span id='zip.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-17' class="method"><span id='chain.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-17' class="method"><span id='peekable.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-17' class="method"><span id='chunks.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-17' class="method"><span id='select.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-17' class="method"><span id='forward.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-17' class="method"><span id='split.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-17' class="method"><span id='inspect.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-17' class="method"><span id='inspect_err.v-17' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span><h3 id='impl-Stream-17' class='impl'><span class='in-band'><code>impl <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> for <a class="struct" href="../../tokio_fs/read_dir/struct.ReadDir.html" title="struct tokio_fs::read_dir::ReadDir">ReadDir</a></code><a href='#impl-Stream-17' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/tokio_fs/read_dir.rs.html#73-86' title='goto source code'>[src]</a></span></h3>
|
|||
|
<span class='docblock autohide'><div class='impl-items'><h4 id='associatedtype.Item-18' class="type"><span id='Item.t-18' class='invisible'><code>type <a href='#associatedtype.Item' class="type">Item</a> = <a class="struct" href="../../tokio_fs/read_dir/struct.DirEntry.html" title="struct tokio_fs::read_dir::DirEntry">DirEntry</a></code></span></h4>
|
|||
|
<h4 id='associatedtype.Error-18' class="type"><span id='Error.t-18' class='invisible'><code>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../tokio/io/struct.Error.html" title="struct tokio::io::Error">Error</a></code></span></h4>
|
|||
|
<h4 id='method.poll-17' class="method"><span id='poll.v-18' class='invisible'><code>fn <a href='#method.poll' class='fnname'>poll</a>(<br> &mut self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</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="../../tokio_fs/read_dir/struct.ReadDir.html" title="struct tokio_fs::read_dir::ReadDir">ReadDir</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>>, <<a class="struct" href="../../tokio_fs/read_dir/struct.ReadDir.html" title="struct tokio_fs::read_dir::ReadDir">ReadDir</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/tokio_fs/read_dir.rs.html#77-85' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.wait-18' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></span></div><div class="content hidden"><h3 class="important">Important traits for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S></h3><code class="content"><span class="where fmt-newline">impl<S> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span></code></div></div><span id='wait.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.wait' class='fnname'>wait</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Wait.html" title="struct tokio::prelude::stream::Wait">Wait</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#244-248' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.into_future-18' class="method"><span id='into_future.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.into_future' class='fnname'>into_future</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.StreamFuture.html" title="struct tokio::prelude::stream::StreamFuture">StreamFuture</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#291-295' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map-18' class="method"><span id='map.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map' class='fnname'>map</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#316-321' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.map_err-18' class="method"><span id='map_err.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.map_err' class='fnname'>map_err</a><U, F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#342-347' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter-18' class="method"><span id='filter.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter' class='fnname'>filter</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#372-377' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.filter_map-18' class="method"><span id='filter_map.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.filter_map' class='fnname'>filter_map</a><F, B>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#408-413' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.then-18' class="method"><span id='then.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.then' class='fnname'>then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><Self, F, U> <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>(<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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#447-453' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.and_then-18' class="method"><span id='and_then.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.and_then' class='fnname'>and_then</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#494-500' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.or_else-18' class="method"><span id='or_else.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.or_else' class='fnname'>or_else</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#521-527' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.collect-18' class="method"><span id='collect.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.collect' class='fnname'>collect</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Collect.html" title="struct tokio::prelude::stream::Collect">Collect</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#562-566' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat2-18' class="method"><span id='concat2.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat2' class='fnname'>concat2</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat2.html" title="struct tokio::prelude::stream::Concat2">Concat2</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#598-603' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.concat-18' class="method"><span id='concat.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.concat' class='fnname'>concat</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Concat.html" title="struct tokio::prelude::stream::Concat">Concat</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a><<Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>>::<a class="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::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="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><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#638-643' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated since 0.1.14<p>: please use <code>Stream::concat2</code> instead</p>
|
|||
|
</div></div><h4 id='method.fold-18' class="method"><span id='fold.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fold' class='fnname'>fold</a><F, T, Fut>(self, init: T, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fold.html" title="struct tokio::prelude::stream::Fold">Fold</a><Self, F, Fut, T> <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>(T, Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> Fut,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = T>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#668-675' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.flatten-18' class="method"><span id='flatten.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.flatten' class='fnname'>flatten</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#710-716' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip_while-18' class="method"><span id='skip_while.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip_while' class='fnname'>skip_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#725-731' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take_while-18' class="method"><span id='take_while.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take_while' class='fnname'>take_while</a><P, R>(self, pred: P) -> <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><Self, P, R> <span class="where fmt-newline">where<br> P: <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#739-745' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.for_each-18' class="method"><span id='for_each.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.for_each' class='fnname'>for_each</a><F, U>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.ForEach.html" title="struct tokio::prelude::stream::ForEach">ForEach</a><Self, F, U> <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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#761-767' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.from_err-18' class="method"><span id='from_err.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.from_err' class='fnname'>from_err</a><E>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><Self, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#780-784' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.take-18' class="method"><span id='take.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.take' class='fnname'>take</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#796-800' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.skip-18' class="method"><span id='skip.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.skip' class='fnname'>skip</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#811-815' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.fuse-18' class="method"><span id='fuse.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.fuse' class='fnname'>fuse</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#832-836' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.by_ref-18' class="method"><div class="important-traits"><div class='tooltip'>ⓘ<span class='tooltiptext'>Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</span></div><div class="content hidden"><h3 class="important">Important traits for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R</h3><code class="content"><span class="where fmt-newline">impl<'a, R> <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>R <span class="where fmt-newline">where<br> R: <a class="trait" href="../../tokio/prelude/trait.Read.html" title="trait tokio::prelude::Read">Read</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, W> <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>W <span class="where fmt-newline">where<br> W: <a class="trait" href="../../tokio/prelude/trait.Write.html" title="trait tokio::prelude::Write">Write</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline">impl<'a, I> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>I <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></span><span class="where fmt-newline"> type <a href='https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span></code></div></div><span id='by_ref.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.by_ref' class='fnname'>by_ref</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#857-861' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.catch_unwind-18' class="method"><span id='catch_unwind.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.catch_unwind' class='fnname'>catch_unwind</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#897-901' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffered-18' class="method"><span id='buffered.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffered' class='fnname'>buffered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#917-922' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.buffer_unordered-18' class="method"><span id='buffer_unordered.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.buffer_unordered' class='fnname'>buffer_unordered</a>(self, amt: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><Self> <span class="where fmt-newline">where<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#938-943' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.merge-18' class="method"><span id='merge.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.merge' class='fnname'>merge</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#952-957' title='goto source code'>[src]</a></span></h4>
|
|||
|
<div class='stability'><div class='stab deprecated'>Deprecated<p>: functionality provided by <code>select</code> now</p>
|
|||
|
</div></div><h4 id='method.zip-18' class="method"><span id='zip.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.zip' class='fnname'>zip</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#964-969' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chain-18' class="method"><span id='chain.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chain' class='fnname'>chain</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#990-995' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.peekable-18' class="method"><span id='peekable.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.peekable' class='fnname'>peekable</a>(self) -> <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1000-1004' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.chunks-18' class="method"><span id='chunks.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.chunks' class='fnname'>chunks</a>(self, capacity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><Self></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1027-1031' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.select-18' class="method"><span id='select.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.select' class='fnname'>select</a><S>(self, other: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1044-1049' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.forward-18' class="method"><span id='forward.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.forward' class='fnname'>forward</a><S>(self, sink: S) -> <a class="struct" href="../../tokio/prelude/stream/struct.Forward.html" title="struct tokio::prelude::stream::Forward">Forward</a><Self, S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a><SinkItem = Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>,<br> Self::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>>::<a class="type" href="../../tokio/prelude/trait.Sink.html#associatedtype.SinkError" title="type tokio::prelude::Sink::SinkError">SinkError</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1065-1071' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.split-18' class="method"><span id='split.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.split' class='fnname'>split</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../tokio/prelude/stream/struct.SplitSink.html" title="struct tokio::prelude::stream::SplitSink">SplitSink</a><Self>, <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><Self><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="../../tokio/prelude/trait.Sink.html" title="trait tokio::prelude::Sink">Sink</a>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1083-1087' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect-18' class="method"><span id='inspect.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect' class='fnname'>inspect</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1094-1099' title='goto source code'>[src]</a></span></h4>
|
|||
|
<h4 id='method.inspect_err-18' class="method"><span id='inspect_err.v-18' class='invisible'><code>fn <a href='../../tokio/prelude/stream/trait.Stream.html#method.inspect_err' class='fnname'>inspect_err</a><F>(self, f: F) -> <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</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="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>), </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/futures/stream/mod.rs.html#1106-1111' title='goto source code'>[src]</a></span></h4>
|
|||
|
</div></span>
|
|||
|
<h2 id='implementors' class='small-section-header'>
|
|||
|
Implementors<a href='#implementors' class='anchor'></a>
|
|||
|
</h2>
|
|||
|
<ul class='item-list' id='implementors-list'>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/once.rs.html#24-35' title='goto source code'>[src]</a></div><code>impl<T, E> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Once.html" title="struct tokio::prelude::stream::Once">Once</a><T, E><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = T;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = E;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/future/into_stream.rs.html#18-36' title='goto source code'>[src]</a></div><code>impl<F> Stream for <a class="struct" href="../../tokio/prelude/future/struct.IntoStream.html" title="struct tokio::prelude::future::IntoStream">IntoStream</a><F> <span class="where fmt-newline">where<br> F: <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <F as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Item" title="type tokio::prelude::future::Future::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <F as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Error" title="type tokio::prelude::future::Future::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/peek.rs.html#44-54' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Peekable.html" title="struct tokio::prelude::stream::Peekable">Peekable</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/then.rs.html#50-81' title='goto source code'>[src]</a></div><code>impl<S, F, U> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Then.html" title="struct tokio::prelude::stream::Then">Then</a><S, F, U> <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>(<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>) -> U,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <U as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Item" title="type tokio::prelude::IntoFuture::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/buffered.rs.html#98-132' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Buffered.html" title="struct tokio::prelude::stream::Buffered">Buffered</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Item" title="type tokio::prelude::IntoFuture::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/chunks.rs.html#85-135' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Chunks.html" title="struct tokio::prelude::stream::Chunks">Chunks</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/skip.rs.html#68-84' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Skip.html" title="struct tokio::prelude::stream::Skip">Skip</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/poll_fn.rs.html#39-49' title='goto source code'>[src]</a></div><code>impl<T, E, F> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.PollFn.html" title="struct tokio::prelude::stream::PollFn">PollFn</a><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>() -> <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="../../tokio/prelude/enum.Async.html" title="enum tokio::prelude::Async">Async</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T>>, E>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = T;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = E;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/filter_map.rs.html#70-89' title='goto source code'>[src]</a></div><code>impl<S, F, B> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.FilterMap.html" title="struct tokio::prelude::stream::FilterMap">FilterMap</a><S, 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>(<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><B>,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = B;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/take.rs.html#68-86' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Take.html" title="struct tokio::prelude::stream::Take">Take</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/catch_unwind.rs.html#33-62' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.CatchUnwind.html" title="struct tokio::prelude::stream::CatchUnwind">CatchUnwind</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><<a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/iter_ok.rs.html#39-48' title='goto source code'>[src]</a></div><code>impl<I, E> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.IterOk.html" title="struct tokio::prelude::stream::IterOk">IterOk</a><I, E> <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html#associatedtype.Item" title="type core::iter::iterator::Iterator::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = E;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/inspect_err.rs.html#68-81' title='goto source code'>[src]</a></div><code>impl<S, F> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.InspectErr.html" title="struct tokio::prelude::stream::InspectErr">InspectErr</a><S, 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>(&<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>),<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/skip_while.rs.html#75-113' title='goto source code'>[src]</a></div><code>impl<S, P, R> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.SkipWhile.html" title="struct tokio::prelude::stream::SkipWhile">SkipWhile</a><S, P, R> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/zip.rs.html#29-59' title='goto source code'>[src]</a></div><code>impl<S1, S2> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Zip.html" title="struct tokio::prelude::stream::Zip">Zip</a><S1, S2> <span class="where fmt-newline">where<br> S1: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> S2: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S2 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/empty.rs.html#22-29' title='goto source code'>[src]</a></div><code>impl<T, E> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Empty.html" title="struct tokio::prelude::stream::Empty">Empty</a><T, E><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = T;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = E;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/unfold.rs.html#69-102' title='goto source code'>[src]</a></div><code>impl<T, F, Fut, It> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Unfold.html" title="struct tokio::prelude::stream::Unfold">Unfold</a><T, F, Fut> <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>(T) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Fut>,<br> Fut: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>It, T<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = It;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <Fut as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/merge.rs.html#42-82' title='goto source code'>[src]</a></div><code>impl<S1, S2> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Merge.html" title="struct tokio::prelude::stream::Merge">Merge</a><S1, S2> <span class="where fmt-newline">where<br> S1: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> S2: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Error = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <a class="enum" href="../../tokio/prelude/stream/enum.MergedItem.html" title="enum tokio::prelude::stream::MergedItem">MergedItem</a><<S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, <S2 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/buffer_unordered.rs.html#75-109' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.BufferUnordered.html" title="struct tokio::prelude::stream::BufferUnordered">BufferUnordered</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>,<br> <<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a> == <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Item" title="type tokio::prelude::IntoFuture::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/iter_result.rs.html#37-51' title='goto source code'>[src]</a></div><code>impl<I, T, E> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.IterResult.html" title="struct tokio::prelude::stream::IterResult">IterResult</a><I> <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, E>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = T;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = E;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/future/flatten_stream.rs.html#52-98' title='goto source code'>[src]</a></div><code>impl<F> Stream for <a class="struct" href="../../tokio/prelude/future/struct.FlattenStream.html" title="struct tokio::prelude::future::FlattenStream">FlattenStream</a><F> <span class="where fmt-newline">where<br> F: <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>,<br> <F as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Item" title="type tokio::prelude::future::Future::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <<F as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Item" title="type tokio::prelude::future::Future::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a> == <F as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Error" title="type tokio::prelude::future::Future::Error">Error</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <<F as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Item" title="type tokio::prelude::future::Future::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <<F as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Item" title="type tokio::prelude::future::Future::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/channel.rs.html#80-92' title='goto source code'>[src]</a></div><code>impl<T, E> Stream for tokio::prelude::stream::<a class="struct" href="../../tokio/prelude/stream/struct.Receiver.html" title="struct tokio::prelude::stream::Receiver">Receiver</a><T, E><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = T;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = E;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/fuse.rs.html#40-55' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Fuse.html" title="struct tokio::prelude::stream::Fuse">Fuse</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/iter.rs.html#36-46' title='goto source code'>[src]</a></div><code>impl<I, T, E> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.IterStream.html" title="struct tokio::prelude::stream::IterStream">Iter</a><I> <span class="where fmt-newline">where<br> I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/iterator/trait.Iterator.html" title="trait core::iter::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, E>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = T;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = E;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/or_else.rs.html#50-80' title='goto source code'>[src]</a></div><code>impl<S, F, U> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.OrElse.html" title="struct tokio::prelude::stream::OrElse">OrElse</a><S, F, U> <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>(<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Error" title="type tokio::prelude::IntoFuture::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/select.rs.html#28-64' title='goto source code'>[src]</a></div><code>impl<S1, S2> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Select.html" title="struct tokio::prelude::stream::Select">Select</a><S1, S2> <span class="where fmt-newline">where<br> S1: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> S2: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/from_err.rs.html#51-62' title='goto source code'>[src]</a></div><code>impl<S, E> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.FromErr.html" title="struct tokio::prelude::stream::FromErr">FromErr</a><S, E> <span class="where fmt-newline">where<br> E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = E;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/and_then.rs.html#77-106' title='goto source code'>[src]</a></div><code>impl<S, F, U> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.AndThen.html" title="struct tokio::prelude::stream::AndThen">AndThen</a><S, F, U> <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>(<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> U: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Error = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <U as <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a>>::<a class="type" href="../../tokio/prelude/trait.IntoFuture.html#associatedtype.Item" title="type tokio::prelude::IntoFuture::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/futures_unordered.rs.html#264-381' title='goto source code'>[src]</a></div><code>impl<T> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.FuturesUnordered.html" title="struct tokio::prelude::stream::FuturesUnordered">FuturesUnordered</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <T as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Item" title="type tokio::prelude::future::Future::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <T as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Error" title="type tokio::prelude::future::Future::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/map.rs.html#70-81' title='goto source code'>[src]</a></div><code>impl<S, F, U> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Map.html" title="struct tokio::prelude::stream::Map">Map</a><S, 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>(<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> U,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = U;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/futures_ordered.rs.html#163-193' title='goto source code'>[src]</a></div><code>impl<T> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.FuturesOrdered.html" title="struct tokio::prelude::stream::FuturesOrdered">FuturesOrdered</a><T> <span class="where fmt-newline">where<br> T: <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <T as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Item" title="type tokio::prelude::future::Future::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <T as <a class="trait" href="../../tokio/prelude/future/trait.Future.html" title="trait tokio::prelude::future::Future">Future</a>>::<a class="type" href="../../tokio/prelude/future/trait.Future.html#associatedtype.Error" title="type tokio::prelude::future::Future::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/inspect.rs.html#68-84' title='goto source code'>[src]</a></div><code>impl<S, F> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Inspect.html" title="struct tokio::prelude::stream::Inspect">Inspect</a><S, 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>(&<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>),<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/map_err.rs.html#70-80' title='goto source code'>[src]</a></div><code>impl<S, F, U> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.MapErr.html" title="struct tokio::prelude::stream::MapErr">MapErr</a><S, 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>(<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>) -> U,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = U;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/chain.rs.html#34-57' title='goto source code'>[src]</a></div><code>impl<S1, S2> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Chain.html" title="struct tokio::prelude::stream::Chain">Chain</a><S1, S2> <span class="where fmt-newline">where<br> S1: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> S2: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a><Item = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>, Error = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S1 as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/repeat.rs.html#44-53' title='goto source code'>[src]</a></div><code>impl<T, E> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Repeat.html" title="struct tokio::prelude::stream::Repeat">Repeat</a><T, E> <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = T;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = E;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/split.rs.html#21-31' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.SplitStream.html" title="struct tokio::prelude::stream::SplitStream">SplitStream</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/flatten.rs.html#73-96' title='goto source code'>[src]</a></div><code>impl<S> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Flatten.html" title="struct tokio::prelude::stream::Flatten">Flatten</a><S> <span class="where fmt-newline">where<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>,<br> <<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a> as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/take_while.rs.html#75-113' title='goto source code'>[src]</a></div><code>impl<S, P, R> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.TakeWhile.html" title="struct tokio::prelude::stream::TakeWhile">TakeWhile</a><S, P, R> <span class="where fmt-newline">where<br> P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> R,<br> R: <a class="trait" href="../../tokio/prelude/trait.IntoFuture.html" title="trait tokio::prelude::IntoFuture">IntoFuture</a><Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Error = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>>,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/futures/stream/filter.rs.html#70-89' title='goto source code'>[src]</a></div><code>impl<S, F> Stream for <a class="struct" href="../../tokio/prelude/stream/struct.Filter.html" title="struct tokio::prelude::stream::Filter">Filter</a><S, 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>(&<S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,<br> S: <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Item" title="type tokio::prelude::stream::Stream::Item">Item</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <S as <a class="trait" href="../../tokio/prelude/stream/trait.Stream.html" title="trait tokio::prelude::stream::Stream">Stream</a>>::<a class="type" href="../../tokio/prelude/stream/trait.Stream.html#associatedtype.Error" title="type tokio::prelude::stream::Stream::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/tokio_io/lines.rs.html#41-60' title='goto source code'>[src]</a></div><code>impl<A> Stream for <a class="struct" href="../../tokio/io/struct.Lines.html" title="struct tokio::io::Lines">Lines</a><A> <span class="where fmt-newline">where<br> A: <a class="trait" href="../../tokio/prelude/trait.AsyncRead.html" title="trait tokio::prelude::AsyncRead">AsyncRead</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/std/io/trait.BufRead.html" title="trait std::io::BufRead">BufRead</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../tokio/io/struct.Error.html" title="struct tokio::io::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/tokio_timer/interval.rs.html#57-75' title='goto source code'>[src]</a></div><code>impl Stream for <a class="struct" href="../../tokio/timer/struct.Interval.html" title="struct tokio::timer::Interval">Interval</a><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../tokio/timer/struct.Error.html" title="struct tokio::timer::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/tokio_tcp/incoming.rs.html#25-33' title='goto source code'>[src]</a></div><code>impl Stream for <a class="struct" href="../../tokio/net/struct.Incoming.html" title="struct tokio::net::Incoming">Incoming</a><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <a class="struct" href="../../tokio/net/struct.TcpStream.html" title="struct tokio::net::TcpStream">TcpStream</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../tokio/io/struct.Error.html" title="struct tokio::io::Error">Error</a>;</span></code></li>
|
|||
|
<li><div class='out-of-band'><a class='srclink' href='../../src/tokio_udp/frame.rs.html#38-59' title='goto source code'>[src]</a></div><code>impl<C> Stream for <a class="struct" href="../../tokio/net/struct.UdpFramed.html" title="struct tokio::net::UdpFramed">UdpFramed</a><C> <span class="where fmt-newline">where<br> C: <a class="trait" href="../../tokio_io/codec/decoder/trait.Decoder.html" title="trait tokio_io::codec::decoder::Decoder">Decoder</a>, </span><span class="where fmt-newline"> type <a href='#associatedtype.Item' class="type">Item</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><C as <a class="trait" href="../../tokio_io/codec/decoder/trait.Decoder.html" title="trait tokio_io::codec::decoder::Decoder">Decoder</a>>::<a class="type" href="../../tokio_io/codec/decoder/trait.Decoder.html#associatedtype.Item" title="type tokio_io::codec::decoder::Decoder::Item">Item</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/std/net/addr/enum.SocketAddr.html" title="enum std::net::addr::SocketAddr">SocketAddr</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;</span><span class="where fmt-newline"> type <a href='#associatedtype.Error' class="type">Error</a> = <C as <a class="trait" href="../../tokio_io/codec/decoder/trait.Decoder.html" title="trait tokio_io::codec::decoder::Decoder">Decoder</a>>::<a class="type" href="../../tokio_io/codec/decoder/trait.Decoder.html#associatedtype.Error" title="type tokio_io::codec::decoder::Decoder::Error">Error</a>;</span></code></li>
|
|||
|
</ul><script type="text/javascript" async
|
|||
|
src="../../implementors/futures/stream/trait.Stream.js">
|
|||
|
</script></section>
|
|||
|
<section id='search' class="content hidden"></section>
|
|||
|
|
|||
|
<section class="footer"></section>
|
|||
|
|
|||
|
<aside id="help" class="hidden">
|
|||
|
<div>
|
|||
|
<h1 class="hidden">Help</h1>
|
|||
|
|
|||
|
<div class="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>
|
|||
|
|
|||
|
<div class="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>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</aside>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<script>
|
|||
|
window.rootPath = "../../";
|
|||
|
window.currentCrate = "tokio";
|
|||
|
</script>
|
|||
|
<script src="../../main.js"></script>
|
|||
|
<script defer src="../../search-index.js"></script>
|
|||
|
</body>
|
|||
|
</html>
|