blob: b02760c17b4f4d3e04793273c8dda812cedd831c [file] [log] [blame]
<!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="A `Sink` is a value into which other values can be sent, asynchronously."><meta name="keywords" content="rust, rustlang, rust-lang, Sink"><title>Sink in futures::prelude::sink - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../normalize.css"><link rel="stylesheet" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../ayu.css" disabled><link rel="stylesheet" href="../../../dark.css" disabled><link rel="stylesheet" href="../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../main.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../../futures/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../../futures/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Sink</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error">Error</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.poll_close">poll_close</a></li><li><a href="#tymethod.poll_flush">poll_flush</a></li><li><a href="#tymethod.poll_ready">poll_ready</a></li><li><a href="#tymethod.start_send">start_send</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Sink%3CItem%3E-for-%26mut%20S">&amp;mut S</a></li><li><a href="#impl-Sink%3CItem%3E-for-Box%3CS%2C%20Global%3E">Box&lt;S, Global&gt;</a></li><li><a href="#impl-Sink%3CItem%3E-for-Pin%3CP%3E">Pin&lt;P&gt;</a></li><li><a href="#impl-Sink%3CT%3E-for-Vec%3CT%2C%20Global%3E">Vec&lt;T, Global&gt;</a></li><li><a href="#impl-Sink%3CT%3E-for-VecDeque%3CT%2C%20Global%3E">VecDeque&lt;T, Global&gt;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In futures::prelude::sink</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Trait <a href="../../index.html">futures</a>::<wbr><a href="../index.html">prelude</a>::<wbr><a href="index.html">sink</a>::<wbr><a class="trait" href="#">Sink</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../../../src/futures_sink/lib.rs.html#52">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub trait Sink&lt;Item&gt; {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>;
fn <a href="#tymethod.poll_ready" class="fnname">poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Self&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), Self::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.start_send" class="fnname">start_send</a>(self: Pin&lt;&amp;mut Self&gt;, item: Item) -&gt; Result&lt;(), Self::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.poll_flush" class="fnname">poll_flush</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Self&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), Self::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.poll_close" class="fnname">poll_close</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Self&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), Self::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;;
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A <code>Sink</code> is a value into which other values can be sent, asynchronously.</p>
<p>Basic examples of sinks include the sending side of:</p>
<ul>
<li>Channels</li>
<li>Sockets</li>
<li>Pipes</li>
</ul>
<p>In addition to such “primitive” sinks, it’s typical to layer additional
functionality, such as buffering, on top of an existing sink.</p>
<p>Sending to a sink is “asynchronous” in the sense that the value may not be
sent in its entirety immediately. Instead, values are sent in a two-phase
way: first by initiating a send, and then by polling for completion. This
two-phase setup is analogous to buffered writing in synchronous code, where
writes often succeed immediately, but internally are buffered and are
<em>actually</em> written only upon flushing.</p>
<p>In addition, the <code>Sink</code> may be <em>full</em>, in which case it is not even possible
to start the sending process.</p>
<p>As with <code>Future</code> and <code>Stream</code>, the <code>Sink</code> trait is built from a few core
required methods, and a host of default methods for working in a
higher-level way. The <code>Sink::send_all</code> combinator is of particular
importance: you can use it to send an entire stream to a sink, which is
the simplest way to ultimately consume a stream.</p>
</div></details><h2 id="required-associated-types" class="small-section-header">Required Associated Types<a href="#required-associated-types" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="associatedtype.Error" class="method has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#54">source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a></h4></section></summary><div class="docblock"><p>The type of value produced by the sink when an error occurs.</p>
</div></details></div><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.poll_ready" class="method has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#68">source</a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fnname">poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Self&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), Self::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>Attempts to prepare the <code>Sink</code> to receive a value.</p>
<p>This method must be called and return <code>Poll::Ready(Ok(()))</code> prior to
each call to <code>start_send</code>.</p>
<p>This method returns <code>Poll::Ready</code> once the underlying sink is ready to
receive data. If this method returns <code>Poll::Pending</code>, the current task
is registered to be notified (via <code>cx.waker().wake_by_ref()</code>) when <code>poll_ready</code>
should be called again.</p>
<p>In most cases, if the sink encounters an error, the sink will
permanently be unable to receive items.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.start_send" class="method has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#89">source</a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fnname">start_send</a>(self: Pin&lt;&amp;mut Self&gt;, item: Item) -&gt; Result&lt;(), Self::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Begin the process of sending a value to the sink.
Each call to this function must be preceded by a successful call to
<code>poll_ready</code> which returned <code>Poll::Ready(Ok(()))</code>.</p>
<p>As the name suggests, this method only <em>begins</em> the process of sending
the item. If the sink employs buffering, the item isn’t fully processed
until the buffer is fully flushed. Since sinks are designed to work with
asynchronous I/O, the process of actually writing out the data to an
underlying object takes place asynchronously. <strong>You <em>must</em> use
<code>poll_flush</code> or <code>poll_close</code> in order to guarantee completion of a
send</strong>.</p>
<p>Implementations of <code>poll_ready</code> and <code>start_send</code> will usually involve
flushing behind the scenes in order to make room for new messages.
It is only necessary to call <code>poll_flush</code> if you need to guarantee that
<em>all</em> of the items placed into the <code>Sink</code> have been sent.</p>
<p>In most cases, if the sink encounters an error, the sink will
permanently be unable to receive items.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.poll_flush" class="method has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#103">source</a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fnname">poll_flush</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Self&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), Self::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>Flush any remaining output from this sink.</p>
<p>Returns <code>Poll::Ready(Ok(()))</code> when no buffered items remain. If this
value is returned then it is guaranteed that all previous values sent
via <code>start_send</code> have been flushed.</p>
<p>Returns <code>Poll::Pending</code> if there is more work left to do, in which
case the current task is scheduled (via <code>cx.waker().wake_by_ref()</code>) to wake up when
<code>poll_flush</code> should be called again.</p>
<p>In most cases, if the sink encounters an error, the sink will
permanently be unable to receive items.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.poll_close" class="method has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#116">source</a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fnname">poll_close</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Self&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), Self::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>Flush any remaining output and close this sink, if necessary.</p>
<p>Returns <code>Poll::Ready(Ok(()))</code> when no buffered items remain and the sink
has been successfully closed.</p>
<p>Returns <code>Poll::Pending</code> if there is more work left to do, in which
case the current task is scheduled (via <code>cx.waker().wake_by_ref()</code>) to wake up when
<code>poll_close</code> should be called again.</p>
<p>If this function encounters an error, the sink should be considered to
have failed permanently, and no more <code>Sink</code> methods should be called.</p>
</div></details></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-VecDeque%3CT%2C%20Global%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#190">source</a><a href="#impl-Sink%3CT%3E-for-VecDeque%3CT%2C%20Global%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt; for VecDeque&lt;T, Global&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = Infallible</h4></section><section id="method.poll_ready" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#193">source</a><a href="#method.poll_ready" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fnname">poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut VecDeque&lt;T, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;VecDeque&lt;T, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.start_send" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#197">source</a><a href="#method.start_send" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fnname">start_send</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut VecDeque&lt;T, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;item: T<br>) -&gt; Result&lt;(), &lt;VecDeque&lt;T, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;</h4></section><section id="method.poll_flush" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#203">source</a><a href="#method.poll_flush" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fnname">poll_flush</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut VecDeque&lt;T, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;VecDeque&lt;T, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.poll_close" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#207">source</a><a href="#method.poll_close" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fnname">poll_close</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut VecDeque&lt;T, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;VecDeque&lt;T, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Pin%3CP%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#139">source</a><a href="#impl-Sink%3CItem%3E-for-Pin%3CP%3E" class="anchor"></a><h3 class="code-header">impl&lt;P, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for Pin&lt;P&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;P: DerefMut + Unpin,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;P as Deref&gt;::Target: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-2" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-2" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;&lt;P as Deref&gt;::Target as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section><section id="method.poll_ready-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#146">source</a><a href="#method.poll_ready-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fnname">poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Pin&lt;P&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;Pin&lt;P&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.start_send-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#150">source</a><a href="#method.start_send-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fnname">start_send</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Pin&lt;P&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;item: Item<br>) -&gt; Result&lt;(), &lt;Pin&lt;P&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;</h4></section><section id="method.poll_flush-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#154">source</a><a href="#method.poll_flush-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fnname">poll_flush</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Pin&lt;P&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;Pin&lt;P&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.poll_close-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#158">source</a><a href="#method.poll_close-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fnname">poll_close</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Pin&lt;P&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;Pin&lt;P&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-Vec%3CT%2C%20Global%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#168">source</a><a href="#impl-Sink%3CT%3E-for-Vec%3CT%2C%20Global%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt; for Vec&lt;T, Global&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-3" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-3" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = Infallible</h4></section><section id="method.poll_ready-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#171">source</a><a href="#method.poll_ready-2" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fnname">poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Vec&lt;T, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;Vec&lt;T, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.start_send-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#175">source</a><a href="#method.start_send-2" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fnname">start_send</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Vec&lt;T, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;item: T<br>) -&gt; Result&lt;(), &lt;Vec&lt;T, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;</h4></section><section id="method.poll_flush-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#181">source</a><a href="#method.poll_flush-2" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fnname">poll_flush</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Vec&lt;T, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;Vec&lt;T, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.poll_close-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#185">source</a><a href="#method.poll_close-2" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fnname">poll_close</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Vec&lt;T, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;Vec&lt;T, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-%26mut%20S" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#119">source</a><a href="#impl-Sink%3CItem%3E-for-%26mut%20S" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for &amp;mut S<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; + Unpin + ?Sized,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-4" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-4" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section><section id="method.poll_ready-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#122">source</a><a href="#method.poll_ready-3" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fnname">poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut &amp;mut S&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;&amp;mut S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.start_send-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#126">source</a><a href="#method.start_send-3" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fnname">start_send</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut &amp;mut S&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;item: Item<br>) -&gt; Result&lt;(), &lt;&amp;mut S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;</h4></section><section id="method.poll_flush-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#130">source</a><a href="#method.poll_flush-3" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fnname">poll_flush</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut &amp;mut S&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;&amp;mut S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.poll_close-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#134">source</a><a href="#method.poll_close-3" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fnname">poll_close</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut &amp;mut S&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;&amp;mut S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Box%3CS%2C%20Global%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#212">source</a><a href="#impl-Sink%3CItem%3E-for-Box%3CS%2C%20Global%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for Box&lt;S, Global&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; + Unpin + ?Sized,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-5" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-5" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section><section id="method.poll_ready-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#215-218">source</a><a href="#method.poll_ready-4" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fnname">poll_ready</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Box&lt;S, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;Box&lt;S, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.start_send-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#222">source</a><a href="#method.start_send-4" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fnname">start_send</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Box&lt;S, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;item: Item<br>) -&gt; Result&lt;(), &lt;Box&lt;S, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;</h4></section><section id="method.poll_flush-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#226-229">source</a><a href="#method.poll_flush-4" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fnname">poll_flush</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Box&lt;S, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;Box&lt;S, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section><section id="method.poll_close-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/futures_sink/lib.rs.html#233-236">source</a><a href="#method.poll_close-4" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fnname">poll_close</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self: Pin&lt;&amp;mut Box&lt;S, Global&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;cx: &amp;mut <a class="struct" href="../../task/struct.Context.html" title="struct futures::task::Context">Context</a>&lt;'_&gt;<br>) -&gt; <a class="enum" href="../../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a>&lt;Result&lt;(), &lt;Box&lt;S, Global&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;</h4></section></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Either%3CA%2C%20B%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/future/either.rs.html#164">source</a><a href="#impl-Sink%3CItem%3E-for-Either%3CA%2C%20B%3E" class="anchor"></a><h3 class="code-header">impl&lt;A, B, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="enum" href="../../future/enum.Either.html" title="enum futures::future::Either">Either</a>&lt;A, B&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;A: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;B: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item, Error = &lt;A as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-6" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-6" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;A as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-AndThen%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/and_then.rs.html#98">source</a><a href="#impl-Sink%3CItem%3E-for-AndThen%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.AndThen.html" title="struct futures::stream::AndThen">AndThen</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-7" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-7" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Filter%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/filter.rs.html#108">source</a><a href="#impl-Sink%3CItem%3E-for-Filter%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Filter.html" title="struct futures::stream::Filter">Filter</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: FnMut(&amp;&lt;S as <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&gt;::<a class="associatedtype" href="../../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>) -&gt; Fut,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fut: <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>&lt;Output = bool&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-8" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-8" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-FilterMap%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/filter_map.rs.html#102">source</a><a href="#impl-Sink%3CItem%3E-for-FilterMap%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.FilterMap.html" title="struct futures::stream::FilterMap">FilterMap</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: FnMut1&lt;&lt;S as <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&gt;::<a class="associatedtype" href="../../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>, Output = Fut&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fut: <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-9" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-9" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-OrElse%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/or_else.rs.html#102">source</a><a href="#impl-Sink%3CItem%3E-for-OrElse%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.OrElse.html" title="struct futures::stream::OrElse">OrElse</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-10" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-10" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-SkipWhile%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/skip_while.rs.html#115">source</a><a href="#impl-Sink%3CItem%3E-for-SkipWhile%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.SkipWhile.html" title="struct futures::stream::SkipWhile">SkipWhile</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: FnMut(&amp;&lt;S as <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&gt;::<a class="associatedtype" href="../../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>) -&gt; Fut,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fut: <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>&lt;Output = bool&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-11" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-11" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TakeWhile%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/take_while.rs.html#117">source</a><a href="#impl-Sink%3CItem%3E-for-TakeWhile%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TakeWhile.html" title="struct futures::stream::TakeWhile">TakeWhile</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-12" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-12" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Then%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/then.rs.html#94">source</a><a href="#impl-Sink%3CItem%3E-for-Then%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Then.html" title="struct futures::stream::Then">Then</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-13" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-13" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryFilterMap%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/try_filter_map.rs.html#99">source</a><a href="#impl-Sink%3CItem%3E-for-TryFilterMap%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TryFilterMap.html" title="struct futures::stream::TryFilterMap">TryFilterMap</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-14" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-14" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryFilter%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/try_filter.rs.html#105">source</a><a href="#impl-Sink%3CItem%3E-for-TryFilter%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item, E&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TryFilter.html" title="struct futures::stream::TryFilter">TryFilter</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item, Error = E&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-15" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-15" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TrySkipWhile%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/try_skip_while.rs.html#113">source</a><a href="#impl-Sink%3CItem%3E-for-TrySkipWhile%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item, E&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TrySkipWhile.html" title="struct futures::stream::TrySkipWhile">TrySkipWhile</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item, Error = E&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-16" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-16" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryTakeWhile%3CS%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/try_take_while.rs.html#122">source</a><a href="#impl-Sink%3CItem%3E-for-TryTakeWhile%3CS%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, F, Item, E&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TryTakeWhile.html" title="struct futures::stream::TryTakeWhile">TryTakeWhile</a>&lt;S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item, Error = E&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-17" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-17" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TakeUntil%3CS%2C%20Fut%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/take_until.rs.html#162">source</a><a href="#impl-Sink%3CItem%3E-for-TakeUntil%3CS%2C%20Fut%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Fut, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TakeUntil.html" title="struct futures::stream::TakeUntil">TakeUntil</a>&lt;S, Fut&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fut: <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-18" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-18" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-BufferUnordered%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/buffer_unordered.rs.html#112">source</a><a href="#impl-Sink%3CItem%3E-for-BufferUnordered%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.BufferUnordered.html" title="struct futures::stream::BufferUnordered">BufferUnordered</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;S as <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&gt;::<a class="associatedtype" href="../../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>: <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-19" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-19" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Buffered%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/buffered.rs.html#110">source</a><a href="#impl-Sink%3CItem%3E-for-Buffered%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Buffered.html" title="struct futures::stream::Buffered">Buffered</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;S as <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&gt;::<a class="associatedtype" href="../../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>: <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-20" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-20" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Chunks%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/chunks.rs.html#96">source</a><a href="#impl-Sink%3CItem%3E-for-Chunks%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Chunks.html" title="struct futures::stream::Chunks">Chunks</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-21" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-21" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Enumerate%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/enumerate.rs.html#57">source</a><a href="#impl-Sink%3CItem%3E-for-Enumerate%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Enumerate.html" title="struct futures::stream::Enumerate">Enumerate</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-22" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-22" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Fuse%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/fuse.rs.html#71">source</a><a href="#impl-Sink%3CItem%3E-for-Fuse%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Fuse.html" title="struct futures::stream::Fuse">Fuse</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-23" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-23" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-IntoStream%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/into_stream.rs.html#48">source</a><a href="#impl-Sink%3CItem%3E-for-IntoStream%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-24" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-24" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Peekable%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/peek.rs.html#220">source</a><a href="#impl-Sink%3CItem%3E-for-Peekable%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Peekable.html" title="struct futures::stream::Peekable">Peekable</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; + <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-25" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-25" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-ReadyChunks%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/ready_chunks.rs.html#86">source</a><a href="#impl-Sink%3CItem%3E-for-ReadyChunks%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.ReadyChunks.html" title="struct futures::stream::ReadyChunks">ReadyChunks</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-26" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-26" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Skip%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/skip.rs.html#63">source</a><a href="#impl-Sink%3CItem%3E-for-Skip%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Skip.html" title="struct futures::stream::Skip">Skip</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-27" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-27" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-SplitSink%3CS%2C%20Item%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/split.rs.html#87">source</a><a href="#impl-Sink%3CItem%3E-for-SplitSink%3CS%2C%20Item%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.SplitSink.html" title="struct futures::stream::SplitSink">SplitSink</a>&lt;S, Item&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-28" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-28" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Take%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/take.rs.html#79">source</a><a href="#impl-Sink%3CItem%3E-for-Take%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Take.html" title="struct futures::stream::Take">Take</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-29" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-29" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryChunks%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/try_chunks.rs.html#104">source</a><a href="#impl-Sink%3CItem%3E-for-TryChunks%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TryChunks.html" title="struct futures::stream::TryChunks">TryChunks</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-30" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-30" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryFlatten%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/try_flatten.rs.html#77">source</a><a href="#impl-Sink%3CItem%3E-for-TryFlatten%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TryFlatten.html" title="struct futures::stream::TryFlatten">TryFlatten</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-31" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-31" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;S as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryBufferUnordered%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/try_buffer_unordered.rs.html#78">source</a><a href="#impl-Sink%3CItem%3E-for-TryBufferUnordered%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item, E&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TryBufferUnordered.html" title="struct futures::stream::TryBufferUnordered">TryBufferUnordered</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item, Error = E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;S as <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>&gt;::<a class="associatedtype" href="../../stream/trait.TryStream.html#associatedtype.Ok" title="type futures::stream::TryStream::Ok">Ok</a>: <a class="trait" href="../../future/trait.TryFuture.html" title="trait futures::future::TryFuture">TryFuture</a>&lt;Error = E&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-32" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-32" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryBuffered%3CS%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/try_buffered.rs.html#79">source</a><a href="#impl-Sink%3CItem%3E-for-TryBuffered%3CS%3E" class="anchor"></a><h3 class="code-header">impl&lt;S, Item, E&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.TryBuffered.html" title="struct futures::stream::TryBuffered">TryBuffered</a>&lt;S&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;S: <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item, Error = E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;S as <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>&gt;::<a class="associatedtype" href="../../stream/trait.TryStream.html#associatedtype.Ok" title="type futures::stream::TryStream::Ok">Ok</a>: <a class="trait" href="../../future/trait.TryFuture.html" title="trait futures::future::TryFuture">TryFuture</a>&lt;Error = E&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-33" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-33" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Fanout%3CSi1%2C%20Si2%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/sink/fanout.rs.html#57">source</a><a href="#impl-Sink%3CItem%3E-for-Fanout%3CSi1%2C%20Si2%3E" class="anchor"></a><h3 class="code-header">impl&lt;Si1, Si2, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../sink/struct.Fanout.html" title="struct futures::sink::Fanout">Fanout</a>&lt;Si1, Si2&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Si1: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Item: Clone,<br>&nbsp;&nbsp;&nbsp;&nbsp;Si2: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item, Error = &lt;Si1 as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-34" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-34" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;Si1 as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-SinkMapErr%3CSi%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/sink/map_err.rs.html#30">source</a><a href="#impl-Sink%3CItem%3E-for-SinkMapErr%3CSi%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;Si, F, E, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../sink/struct.SinkMapErr.html" title="struct futures::sink::SinkMapErr">SinkMapErr</a>&lt;Si, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Si: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: FnOnce(&lt;Si as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>) -&gt; E,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-35" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-35" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Buffer%3CSi%2C%20Item%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/sink/buffer.rs.html#68">source</a><a href="#impl-Sink%3CItem%3E-for-Buffer%3CSi%2C%20Item%3E" class="anchor"></a><h3 class="code-header">impl&lt;Si, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../sink/struct.Buffer.html" title="struct futures::sink::Buffer">Buffer</a>&lt;Si, Item&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Si: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-36" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-36" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;Si as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-SinkErrInto%3CSi%2C%20Item%2C%20E%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/sink/err_into.rs.html#28">source</a><a href="#impl-Sink%3CItem%3E-for-SinkErrInto%3CSi%2C%20Item%2C%20E%3E" class="anchor"></a><h3 class="code-header">impl&lt;Si, Item, E&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../sink/struct.SinkErrInto.html" title="struct futures::sink::SinkErrInto">SinkErrInto</a>&lt;Si, Item, E&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Si: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;Si as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>: Into&lt;E&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-37" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-37" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CU%3E-for-With%3CSi%2C%20Item%2C%20U%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/sink/with.rs.html#100">source</a><a href="#impl-Sink%3CU%3E-for-With%3CSi%2C%20Item%2C%20U%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;Si, Item, U, Fut, F, E&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;U&gt; for <a class="struct" href="../../sink/struct.With.html" title="struct futures::sink::With">With</a>&lt;Si, Item, U, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Si: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: FnMut(U) -&gt; Fut,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fut: <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>&lt;Output = Result&lt;Item, E&gt;&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;E: From&lt;&lt;Si as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-38" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-38" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CU%3E-for-WithFlatMap%3CSi%2C%20Item%2C%20U%2C%20St%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/sink/with_flat_map.rs.html#98">source</a><a href="#impl-Sink%3CU%3E-for-WithFlatMap%3CSi%2C%20Item%2C%20U%2C%20St%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;Si, Item, U, St, F&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;U&gt; for <a class="struct" href="../../sink/struct.WithFlatMap.html" title="struct futures::sink::WithFlatMap">WithFlatMap</a>&lt;Si, Item, U, St, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Si: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: FnMut(U) -&gt; St,<br>&nbsp;&nbsp;&nbsp;&nbsp;St: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&lt;Item = Result&lt;Item, &lt;Si as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>&gt;&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-39" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-39" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;Si as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Map%3CSt%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/map.rs.html#69">source</a><a href="#impl-Sink%3CItem%3E-for-Map%3CSt%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;St, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;St, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;St: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: FnMut1&lt;&lt;St as <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&gt;::<a class="associatedtype" href="../../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-40" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-40" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;St as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Scan%3CSt%2C%20S%2C%20Fut%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/scan.rs.html#121">source</a><a href="#impl-Sink%3CItem%3E-for-Scan%3CSt%2C%20S%2C%20Fut%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;St, S, Fut, F, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../stream/struct.Scan.html" title="struct futures::stream::Scan">Scan</a>&lt;St, S, Fut, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;St: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-41" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-41" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;St as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-%26UnboundedSender%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_channel/mpsc/sink_impl.rs.html#54">source</a><a href="#impl-Sink%3CT%3E-for-%26UnboundedSender%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt; for &amp;<a class="struct" href="../../channel/mpsc/struct.UnboundedSender.html" title="struct futures::channel::mpsc::UnboundedSender">UnboundedSender</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-42" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-42" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../../channel/mpsc/struct.SendError.html" title="struct futures::channel::mpsc::SendError">SendError</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-Sender%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_channel/mpsc/sink_impl.rs.html#6">source</a><a href="#impl-Sink%3CT%3E-for-Sender%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt; for <a class="struct" href="../../channel/mpsc/struct.Sender.html" title="struct futures::channel::mpsc::Sender">Sender</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-43" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-43" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../../channel/mpsc/struct.SendError.html" title="struct futures::channel::mpsc::SendError">SendError</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-UnboundedSender%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_channel/mpsc/sink_impl.rs.html#33">source</a><a href="#impl-Sink%3CT%3E-for-UnboundedSender%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt; for <a class="struct" href="../../channel/mpsc/struct.UnboundedSender.html" title="struct futures::channel::mpsc::UnboundedSender">UnboundedSender</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-44" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-44" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../../channel/mpsc/struct.SendError.html" title="struct futures::channel::mpsc::SendError">SendError</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-Drain%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/sink/drain.rs.html#41">source</a><a href="#impl-Sink%3CT%3E-for-Drain%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;T&gt; for <a class="struct" href="../../sink/struct.Drain.html" title="struct futures::sink::Drain">Drain</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-45" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-45" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = Infallible</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Unfold%3CT%2C%20F%2C%20R%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/sink/unfold.rs.html#47">source</a><a href="#impl-Sink%3CItem%3E-for-Unfold%3CT%2C%20F%2C%20R%3E" class="anchor"></a><h3 class="code-header">impl&lt;T, F, R, Item, E&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../sink/struct.Unfold.html" title="struct futures::sink::Unfold">Unfold</a>&lt;T, F, R&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: FnMut(T, Item) -&gt; R,<br>&nbsp;&nbsp;&nbsp;&nbsp;R: <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>&lt;Output = Result&lt;T, E&gt;&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-46" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-46" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-IntoSink%3CW%2C%20Item%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/io/into_sink.rs.html#57">source</a><a href="#impl-Sink%3CItem%3E-for-IntoSink%3CW%2C%20Item%3E" class="anchor"></a><h3 class="code-header">impl&lt;W, Item&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;Item&gt; for <a class="struct" href="../../io/struct.IntoSink.html" title="struct futures::io::IntoSink">IntoSink</a>&lt;W, Item&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;W: <a class="trait" href="../../io/trait.AsyncWrite.html" title="trait futures::io::AsyncWrite">AsyncWrite</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;Item: AsRef&lt;[u8]&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-47" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-47" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="../../io/struct.Error.html" title="struct futures::io::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-FlattenStream%3CF%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/future/future/mod.rs.html#37-43">source</a><a href="#impl-Sink%3C_Item%3E-for-FlattenStream%3CF%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, F&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../future/struct.FlattenStream.html" title="struct futures::future::FlattenStream">FlattenStream</a>&lt;F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Flatten&lt;F, &lt;F as <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>&gt;::<a class="associatedtype" href="../../future/trait.Future.html#associatedtype.Output" title="type futures::future::Future::Output">Output</a>&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-48" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-48" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;Flatten&lt;F, &lt;F as <a class="trait" href="../../future/trait.Future.html" title="trait futures::future::Future">Future</a>&gt;::<a class="associatedtype" href="../../future/trait.Future.html#associatedtype.Output" title="type futures::future::Future::Output">Output</a>&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-TryFlattenStream%3CFut%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/future/try_future/mod.rs.html#44-50">source</a><a href="#impl-Sink%3C_Item%3E-for-TryFlattenStream%3CFut%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, Fut&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../future/struct.TryFlattenStream.html" title="struct futures::future::TryFlattenStream">TryFlattenStream</a>&lt;Fut&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;TryFlatten&lt;Fut, &lt;Fut as <a class="trait" href="../../future/trait.TryFuture.html" title="trait futures::future::TryFuture">TryFuture</a>&gt;::<a class="associatedtype" href="../../future/trait.TryFuture.html#associatedtype.Ok" title="type futures::future::TryFuture::Ok">Ok</a>&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;Fut: <a class="trait" href="../../future/trait.TryFuture.html" title="trait futures::future::TryFuture">TryFuture</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-49" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-49" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;TryFlatten&lt;Fut, &lt;Fut as <a class="trait" href="../../future/trait.TryFuture.html" title="trait futures::future::TryFuture">TryFuture</a>&gt;::<a class="associatedtype" href="../../future/trait.TryFuture.html#associatedtype.Ok" title="type futures::future::TryFuture::Ok">Ok</a>&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-FlattenSink%3CFut%2C%20Si%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/future/try_future/mod.rs.html#53-59">source</a><a href="#impl-Sink%3C_Item%3E-for-FlattenSink%3CFut%2C%20Si%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, Fut, Si&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../future/struct.FlattenSink.html" title="struct futures::future::FlattenSink">FlattenSink</a>&lt;Fut, Si&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;TryFlatten&lt;Fut, Si&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-50" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-50" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;TryFlatten&lt;Fut, Si&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-Flatten%3CSt%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/mod.rs.html#65-71">source</a><a href="#impl-Sink%3C_Item%3E-for-Flatten%3CSt%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.Flatten.html" title="struct futures::stream::Flatten">Flatten</a>&lt;St&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Flatten&lt;St, &lt;St as <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&gt;::<a class="associatedtype" href="../../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;St: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-51" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-51" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;Flatten&lt;St, &lt;St as <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&gt;::<a class="associatedtype" href="../../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-TryFlattenUnordered%3CSt%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/try_flatten_unordered.rs.html#19-36">source</a><a href="#impl-Sink%3C_Item%3E-for-TryFlattenUnordered%3CSt%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.TryFlattenUnordered.html" title="struct futures::stream::TryFlattenUnordered">TryFlattenUnordered</a>&lt;St&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;FlattenUnorderedWithFlowController&lt;NestedTryStreamIntoEitherTryStream&lt;St&gt;, PropagateBaseStreamError&lt;St&gt;&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;St: <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;St as <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>&gt;::<a class="associatedtype" href="../../stream/trait.TryStream.html#associatedtype.Ok" title="type futures::stream::TryStream::Ok">Ok</a>: <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a> + Unpin,<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;&lt;St as <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>&gt;::<a class="associatedtype" href="../../stream/trait.TryStream.html#associatedtype.Ok" title="type futures::stream::TryStream::Ok">Ok</a> as <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>&gt;::<a class="associatedtype" href="../../stream/trait.TryStream.html#associatedtype.Error" title="type futures::stream::TryStream::Error">Error</a>: From&lt;&lt;St as <a class="trait" href="../../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>&gt;::<a class="associatedtype" href="../../stream/trait.TryStream.html#associatedtype.Error" title="type futures::stream::TryStream::Error">Error</a>&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-52" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-52" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;FlattenUnorderedWithFlowController&lt;NestedTryStreamIntoEitherTryStream&lt;St&gt;, PropagateBaseStreamError&lt;St&gt;&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-ErrInto%3CSt%2C%20E%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/mod.rs.html#29-34">source</a><a href="#impl-Sink%3C_Item%3E-for-ErrInto%3CSt%2C%20E%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St, E&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.ErrInto.html" title="struct futures::stream::ErrInto">ErrInto</a>&lt;St, E&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="../../stream/struct.MapErr.html" title="struct futures::stream::MapErr">MapErr</a>&lt;St, IntoFn&lt;E&gt;&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-53" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-53" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;<a class="struct" href="../../stream/struct.MapErr.html" title="struct futures::stream::MapErr">MapErr</a>&lt;St, IntoFn&lt;E&gt;&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-Inspect%3CSt%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/mod.rs.html#110-115">source</a><a href="#impl-Sink%3C_Item%3E-for-Inspect%3CSt%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St, F&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a>&lt;St, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;St, InspectFn&lt;F&gt;&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-54" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-54" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;St, InspectFn&lt;F&gt;&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-InspectErr%3CSt%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/mod.rs.html#43-48">source</a><a href="#impl-Sink%3C_Item%3E-for-InspectErr%3CSt%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St, F&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.InspectErr.html" title="struct futures::stream::InspectErr">InspectErr</a>&lt;St, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="../../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a>&lt;<a class="struct" href="../../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a>&lt;St&gt;, InspectErrFn&lt;F&gt;&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-55" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-55" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;<a class="struct" href="../../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a>&lt;<a class="struct" href="../../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a>&lt;St&gt;, InspectErrFn&lt;F&gt;&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-InspectOk%3CSt%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/mod.rs.html#36-41">source</a><a href="#impl-Sink%3C_Item%3E-for-InspectOk%3CSt%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St, F&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.InspectOk.html" title="struct futures::stream::InspectOk">InspectOk</a>&lt;St, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="../../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a>&lt;<a class="struct" href="../../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a>&lt;St&gt;, InspectOkFn&lt;F&gt;&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-56" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-56" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;<a class="struct" href="../../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a>&lt;<a class="struct" href="../../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a>&lt;St&gt;, InspectOkFn&lt;F&gt;&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-MapErr%3CSt%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/mod.rs.html#61-66">source</a><a href="#impl-Sink%3C_Item%3E-for-MapErr%3CSt%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St, F&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.MapErr.html" title="struct futures::stream::MapErr">MapErr</a>&lt;St, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;<a class="struct" href="../../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a>&lt;St&gt;, MapErrFn&lt;F&gt;&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-57" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-57" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;<a class="struct" href="../../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a>&lt;St&gt;, MapErrFn&lt;F&gt;&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-MapOk%3CSt%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/try_stream/mod.rs.html#54-59">source</a><a href="#impl-Sink%3C_Item%3E-for-MapOk%3CSt%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St, F&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.MapOk.html" title="struct futures::stream::MapOk">MapOk</a>&lt;St, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;<a class="struct" href="../../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a>&lt;St&gt;, MapOkFn&lt;F&gt;&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-58" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-58" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;<a class="struct" href="../../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a>&lt;St&gt;, MapOkFn&lt;F&gt;&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-FlatMap%3CSt%2C%20U%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/mod.rs.html#121-126">source</a><a href="#impl-Sink%3C_Item%3E-for-FlatMap%3CSt%2C%20U%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St, U, F&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.FlatMap.html" title="struct futures::stream::FlatMap">FlatMap</a>&lt;St, U, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Flatten&lt;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;St, F&gt;, U&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-59" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-59" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;Flatten&lt;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;St, F&gt;, U&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-FlatMapUnordered%3CSt%2C%20U%2C%20F%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/futures_util/stream/stream/mod.rs.html#211-217">source</a><a href="#impl-Sink%3C_Item%3E-for-FlatMapUnordered%3CSt%2C%20U%2C%20F%3E" class="anchor"></a><h3 class="code-header">impl&lt;_Item, St, U, F&gt; <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt; for <a class="struct" href="../../stream/struct.FlatMapUnordered.html" title="struct futures::stream::FlatMapUnordered">FlatMapUnordered</a>&lt;St, U, F&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;FlattenUnorderedWithFlowController&lt;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;St, F&gt;, ()&gt;: <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;St: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + Unpin,<br>&nbsp;&nbsp;&nbsp;&nbsp;F: FnMut(&lt;St as <a class="trait" href="../../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>&gt;::<a class="associatedtype" href="../../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>) -&gt; U,</span></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-60" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-60" class="anchor"></a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = &lt;FlattenUnorderedWithFlowController&lt;<a class="struct" href="../../stream/struct.Map.html" title="struct futures::stream::Map">Map</a>&lt;St, F&gt;, ()&gt; as <a class="trait" href="../../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a>&lt;_Item&gt;&gt;::<a class="associatedtype" href="../../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details></div><script src="../../../implementors/futures_sink/trait.Sink.js" data-ignore-extern-crates="core,futures_channel,futures_util,alloc" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="futures" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>