mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
241 lines
134 KiB
HTML
241 lines
134 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A `Sink` is a value into which other values can be sent, asynchronously."><title>Sink in futures::prelude - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="futures" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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">☰</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../futures/index.html">futures</a><span class="version">0.3.28</span></h2></div><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+S">&mut S</a></li><li><a href="#impl-Sink%3CItem%3E-for-Box%3CS%3E">Box<S></a></li><li><a href="#impl-Sink%3CItem%3E-for-Pin%3CP%3E">Pin<P></a></li><li><a href="#impl-Sink%3CT%3E-for-Vec%3CT%3E">Vec<T></a></li><li><a href="#impl-Sink%3CT%3E-for-VecDeque%3CT%3E">VecDeque<T></a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In futures::prelude</a></h2></div></nav><div class="sidebar-resizer"></div>
|
||
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../futures/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">futures</a>::<wbr><a href="index.html">prelude</a>::<wbr><a class="trait" href="#">Sink</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/futures_sink/lib.rs.html#52">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait Sink<Item> {
|
||
type <a href="#associatedtype.Error" class="associatedtype">Error</a>;
|
||
|
||
// Required methods
|
||
fn <a href="#tymethod.poll_ready" class="fn">poll_ready</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut Self</a>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.start_send" class="fn">start_send</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut Self</a>>, item: Item) -> <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.poll_flush" class="fn">poll_flush</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut Self</a>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.poll_close" class="fn">poll_close</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut Self</a>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>>;
|
||
}</code></pre><details class="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="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Error" class="method"><a class="src 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="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.poll_ready" class="method"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#68">source</a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fn">poll_ready</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut Self</a>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></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="toggle method-toggle" open><summary><section id="tymethod.start_send" class="method"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#89">source</a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fn">start_send</a>(self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut Self</a>>, item: Item) -> <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>></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="toggle method-toggle" open><summary><section id="tymethod.poll_flush" class="method"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#103">source</a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fn">poll_flush</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut Self</a>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></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="toggle method-toggle" open><summary><section id="tymethod.poll_close" class="method"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#116">source</a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fn">poll_close</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut Self</a>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></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="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Pin%3CP%3E" class="impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#139-142">source</a><a href="#impl-Sink%3CItem%3E-for-Pin%3CP%3E" class="anchor">§</a><h3 class="code-header">impl<P, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P><div class="where">where
|
||
P: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
|
||
<P as <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <<P as <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<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" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#146">source</a><a href="#method.poll_ready" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fn">poll_ready</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.start_send" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#150">source</a><a href="#method.start_send" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fn">start_send</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P>>,
|
||
item: Item
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>></h4></section><section id="method.poll_flush" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#154">source</a><a href="#method.poll_flush" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fn">poll_flush</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.poll_close" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#158">source</a><a href="#method.poll_close" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fn">poll_close</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><P> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-%26mut+S" class="impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#119">source</a><a href="#impl-Sink%3CItem%3E-for-%26mut+S" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut S</a><div class="where">where
|
||
S: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<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"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#122">source</a><a href="#method.poll_ready-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fn">poll_ready</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut S</a>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut S</a> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.start_send-1" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#126">source</a><a href="#method.start_send-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fn">start_send</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut S</a>>,
|
||
item: Item
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut S</a> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>></h4></section><section id="method.poll_flush-1" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#130">source</a><a href="#method.poll_flush-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fn">poll_flush</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut S</a>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut S</a> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.poll_close-1" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#134">source</a><a href="#method.poll_close-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fn">poll_close</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut S</a>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.reference.html">&mut S</a> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Box%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#212">source</a><a href="#impl-Sink%3CItem%3E-for-Box%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S><div class="where">where
|
||
S: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<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-2" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#215-218">source</a><a href="#method.poll_ready-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fn">poll_ready</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.start_send-2" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#222">source</a><a href="#method.start_send-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fn">start_send</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S>>,
|
||
item: Item
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>></h4></section><section id="method.poll_flush-2" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#226-229">source</a><a href="#method.poll_flush-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fn">poll_flush</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.poll_close-2" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#233-236">source</a><a href="#method.poll_close-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fn">poll_close</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S>>,
|
||
cx: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><S> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-VecDeque%3CT%3E" class="impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#190">source</a><a href="#impl-Sink%3CT%3E-for-VecDeque%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T> for <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><T></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-4" class="associatedtype trait-impl"><a href="#associatedtype.Error-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.poll_ready-3" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#193">source</a><a href="#method.poll_ready-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fn">poll_ready</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><T>>,
|
||
_: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><T> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.start_send-3" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#197">source</a><a href="#method.start_send-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fn">start_send</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><T>>,
|
||
item: T
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><T> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>></h4></section><section id="method.poll_flush-3" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#203">source</a><a href="#method.poll_flush-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fn">poll_flush</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><T>>,
|
||
_: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><T> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.poll_close-3" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#207">source</a><a href="#method.poll_close-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fn">poll_close</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><T>>,
|
||
_: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a><T> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-Vec%3CT%3E" class="impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#168">source</a><a href="#impl-Sink%3CT%3E-for-Vec%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T> for <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-5" class="associatedtype trait-impl"><a href="#associatedtype.Error-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section><section id="method.poll_ready-4" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#171">source</a><a href="#method.poll_ready-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_ready" class="fn">poll_ready</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T>>,
|
||
_: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.start_send-4" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#175">source</a><a href="#method.start_send-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.start_send" class="fn">start_send</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T>>,
|
||
item: T
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>></h4></section><section id="method.poll_flush-4" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#181">source</a><a href="#method.poll_flush-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_flush" class="fn">poll_flush</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T>>,
|
||
_: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section><section id="method.poll_close-4" class="method trait-impl"><a class="src rightside" href="../../src/futures_sink/lib.rs.html#185">source</a><a href="#method.poll_close-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.poll_close" class="fn">poll_close</a>(
|
||
self: <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><&mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T>>,
|
||
_: &mut <a class="struct" href="../task/struct.Context.html" title="struct futures::task::Context">Context</a><'_>
|
||
) -> <a class="enum" href="../task/enum.Poll.html" title="enum futures::task::Poll">Poll</a><<a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, <<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Either%3CA,+B%3E" class="impl"><a class="src rightside" href="../../src/futures_util/future/either.rs.html#164-167">source</a><a href="#impl-Sink%3CItem%3E-for-Either%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl<A, B, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="enum" href="../future/enum.Either.html" title="enum futures::future::Either">Either</a><A, B><div class="where">where
|
||
A: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,
|
||
B: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item, Error = <A as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-6" class="associatedtype trait-impl"><a href="#associatedtype.Error-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <A as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-AndThen%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/and_then.rs.html#98-100">source</a><a href="#impl-Sink%3CItem%3E-for-AndThen%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.AndThen.html" title="struct futures::stream::AndThen">AndThen</a><S, Fut, F><div class="where">where
|
||
S: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-7" class="associatedtype trait-impl"><a href="#associatedtype.Error-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Filter%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/filter.rs.html#108-112">source</a><a href="#impl-Sink%3CItem%3E-for-Filter%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Filter.html" title="struct futures::stream::Filter">Filter</a><S, Fut, F><div class="where">where
|
||
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><Item>,
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&<S as <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>>::<a class="associatedtype" href="../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>) -> Fut,
|
||
Fut: <a class="trait" href="../future/trait.Future.html" title="trait futures::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-8" class="associatedtype trait-impl"><a href="#associatedtype.Error-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-FilterMap%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/filter_map.rs.html#102-106">source</a><a href="#impl-Sink%3CItem%3E-for-FilterMap%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.FilterMap.html" title="struct futures::stream::FilterMap">FilterMap</a><S, Fut, F><div class="where">where
|
||
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><Item>,
|
||
F: FnMut1<<S as <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>>::<a class="associatedtype" href="../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>, Output = Fut>,
|
||
Fut: <a class="trait" href="../future/trait.Future.html" title="trait futures::future::Future">Future</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-9" class="associatedtype trait-impl"><a href="#associatedtype.Error-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-OrElse%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/or_else.rs.html#102-104">source</a><a href="#impl-Sink%3CItem%3E-for-OrElse%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.OrElse.html" title="struct futures::stream::OrElse">OrElse</a><S, Fut, F><div class="where">where
|
||
S: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-10" class="associatedtype trait-impl"><a href="#associatedtype.Error-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-SkipWhile%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/skip_while.rs.html#115-119">source</a><a href="#impl-Sink%3CItem%3E-for-SkipWhile%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.SkipWhile.html" title="struct futures::stream::SkipWhile">SkipWhile</a><S, Fut, F><div class="where">where
|
||
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><Item>,
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&<S as <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>>::<a class="associatedtype" href="../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>) -> Fut,
|
||
Fut: <a class="trait" href="../future/trait.Future.html" title="trait futures::future::Future">Future</a><Output = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.bool.html">bool</a>>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-11" class="associatedtype trait-impl"><a href="#associatedtype.Error-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TakeWhile%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/take_while.rs.html#117-119">source</a><a href="#impl-Sink%3CItem%3E-for-TakeWhile%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TakeWhile.html" title="struct futures::stream::TakeWhile">TakeWhile</a><S, Fut, F><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-12" class="associatedtype trait-impl"><a href="#associatedtype.Error-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Then%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/then.rs.html#94-96">source</a><a href="#impl-Sink%3CItem%3E-for-Then%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Then.html" title="struct futures::stream::Then">Then</a><S, Fut, F><div class="where">where
|
||
S: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-13" class="associatedtype trait-impl"><a href="#associatedtype.Error-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryFilterMap%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/try_filter_map.rs.html#99-101">source</a><a href="#impl-Sink%3CItem%3E-for-TryFilterMap%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TryFilterMap.html" title="struct futures::stream::TryFilterMap">TryFilterMap</a><S, Fut, F><div class="where">where
|
||
S: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-14" class="associatedtype trait-impl"><a href="#associatedtype.Error-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryFilter%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/try_filter.rs.html#105-107">source</a><a href="#impl-Sink%3CItem%3E-for-TryFilter%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item, E> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TryFilter.html" title="struct futures::stream::TryFilter">TryFilter</a><S, Fut, F><div class="where">where
|
||
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><Item, Error = E>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-15" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TrySkipWhile%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/try_skip_while.rs.html#113-115">source</a><a href="#impl-Sink%3CItem%3E-for-TrySkipWhile%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item, E> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TrySkipWhile.html" title="struct futures::stream::TrySkipWhile">TrySkipWhile</a><S, Fut, F><div class="where">where
|
||
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><Item, Error = E>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-16" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryTakeWhile%3CS,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/try_take_while.rs.html#122-124">source</a><a href="#impl-Sink%3CItem%3E-for-TryTakeWhile%3CS,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, F, Item, E> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TryTakeWhile.html" title="struct futures::stream::TryTakeWhile">TryTakeWhile</a><S, Fut, F><div class="where">where
|
||
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><Item, Error = E>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-17" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TakeUntil%3CS,+Fut%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/take_until.rs.html#162-165">source</a><a href="#impl-Sink%3CItem%3E-for-TakeUntil%3CS,+Fut%3E" class="anchor">§</a><h3 class="code-header">impl<S, Fut, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TakeUntil.html" title="struct futures::stream::TakeUntil">TakeUntil</a><S, Fut><div class="where">where
|
||
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><Item>,
|
||
Fut: <a class="trait" href="../future/trait.Future.html" title="trait futures::future::Future">Future</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-18" class="associatedtype trait-impl"><a href="#associatedtype.Error-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-BufferUnordered%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/buffer_unordered.rs.html#112-115">source</a><a href="#impl-Sink%3CItem%3E-for-BufferUnordered%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.BufferUnordered.html" title="struct futures::stream::BufferUnordered">BufferUnordered</a><S><div class="where">where
|
||
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><Item>,
|
||
<S as <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>>::<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>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-19" class="associatedtype trait-impl"><a href="#associatedtype.Error-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Buffered%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/buffered.rs.html#110-113">source</a><a href="#impl-Sink%3CItem%3E-for-Buffered%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Buffered.html" title="struct futures::stream::Buffered">Buffered</a><S><div class="where">where
|
||
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><Item>,
|
||
<S as <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>>::<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>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-20" class="associatedtype trait-impl"><a href="#associatedtype.Error-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Chunks%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/chunks.rs.html#96-98">source</a><a href="#impl-Sink%3CItem%3E-for-Chunks%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Chunks.html" title="struct futures::stream::Chunks">Chunks</a><S><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-21" class="associatedtype trait-impl"><a href="#associatedtype.Error-21" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Enumerate%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/enumerate.rs.html#57-59">source</a><a href="#impl-Sink%3CItem%3E-for-Enumerate%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Enumerate.html" title="struct futures::stream::Enumerate">Enumerate</a><S><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-22" class="associatedtype trait-impl"><a href="#associatedtype.Error-22" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Fuse%3CS%3E" class="impl"><a class="src 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<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Fuse.html" title="struct futures::stream::Fuse">Fuse</a><S><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-23" class="associatedtype trait-impl"><a href="#associatedtype.Error-23" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-IntoStream%3CS%3E" class="impl"><a class="src 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<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a><S><div class="where">where
|
||
S: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-24" class="associatedtype trait-impl"><a href="#associatedtype.Error-24" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Peekable%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/peek.rs.html#220-222">source</a><a href="#impl-Sink%3CItem%3E-for-Peekable%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Peekable.html" title="struct futures::stream::Peekable">Peekable</a><S><div class="where">where
|
||
S: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> + <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-25" class="associatedtype trait-impl"><a href="#associatedtype.Error-25" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-ReadyChunks%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/ready_chunks.rs.html#86-88">source</a><a href="#impl-Sink%3CItem%3E-for-ReadyChunks%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.ReadyChunks.html" title="struct futures::stream::ReadyChunks">ReadyChunks</a><S><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-26" class="associatedtype trait-impl"><a href="#associatedtype.Error-26" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Skip%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/skip.rs.html#63-65">source</a><a href="#impl-Sink%3CItem%3E-for-Skip%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Skip.html" title="struct futures::stream::Skip">Skip</a><S><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-27" class="associatedtype trait-impl"><a href="#associatedtype.Error-27" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-SplitSink%3CS,+Item%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/split.rs.html#87">source</a><a href="#impl-Sink%3CItem%3E-for-SplitSink%3CS,+Item%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.SplitSink.html" title="struct futures::stream::SplitSink">SplitSink</a><S, Item><div class="where">where
|
||
S: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-28" class="associatedtype trait-impl"><a href="#associatedtype.Error-28" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Take%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/take.rs.html#79-81">source</a><a href="#impl-Sink%3CItem%3E-for-Take%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Take.html" title="struct futures::stream::Take">Take</a><S><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-29" class="associatedtype trait-impl"><a href="#associatedtype.Error-29" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryChunks%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/try_chunks.rs.html#104-106">source</a><a href="#impl-Sink%3CItem%3E-for-TryChunks%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TryChunks.html" title="struct futures::stream::TryChunks">TryChunks</a><S><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-30" class="associatedtype trait-impl"><a href="#associatedtype.Error-30" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryFlatten%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/try_flatten.rs.html#77-79">source</a><a href="#impl-Sink%3CItem%3E-for-TryFlatten%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TryFlatten.html" title="struct futures::stream::TryFlatten">TryFlatten</a><S><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-31" class="associatedtype trait-impl"><a href="#associatedtype.Error-31" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <S as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryBufferUnordered%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/try_buffer_unordered.rs.html#78-81">source</a><a href="#impl-Sink%3CItem%3E-for-TryBufferUnordered%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item, E> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TryBufferUnordered.html" title="struct futures::stream::TryBufferUnordered">TryBufferUnordered</a><S><div class="where">where
|
||
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><Item, Error = E>,
|
||
<S as <a class="trait" href="../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>>::<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><Error = E>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-32" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-TryBuffered%3CS%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/try_stream/try_buffered.rs.html#79-82">source</a><a href="#impl-Sink%3CItem%3E-for-TryBuffered%3CS%3E" class="anchor">§</a><h3 class="code-header">impl<S, Item, E> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.TryBuffered.html" title="struct futures::stream::TryBuffered">TryBuffered</a><S><div class="where">where
|
||
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><Item, Error = E>,
|
||
<S as <a class="trait" href="../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>>::<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><Error = E>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-33" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Fanout%3CSi1,+Si2%3E" class="impl"><a class="src rightside" href="../../src/futures_util/sink/fanout.rs.html#57-61">source</a><a href="#impl-Sink%3CItem%3E-for-Fanout%3CSi1,+Si2%3E" class="anchor">§</a><h3 class="code-header">impl<Si1, Si2, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../sink/struct.Fanout.html" title="struct futures::sink::Fanout">Fanout</a><Si1, Si2><div class="where">where
|
||
Si1: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,
|
||
Item: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
|
||
Si2: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item, Error = <Si1 as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-34" class="associatedtype trait-impl"><a href="#associatedtype.Error-34" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <Si1 as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-SinkMapErr%3CSi,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/sink/map_err.rs.html#30-33">source</a><a href="#impl-Sink%3CItem%3E-for-SinkMapErr%3CSi,+F%3E" class="anchor">§</a><h3 class="code-header">impl<Si, F, E, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../sink/struct.SinkMapErr.html" title="struct futures::sink::SinkMapErr">SinkMapErr</a><Si, F><div class="where">where
|
||
Si: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<Si as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>) -> E,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-35" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Buffer%3CSi,+Item%3E" class="impl"><a class="src rightside" href="../../src/futures_util/sink/buffer.rs.html#68">source</a><a href="#impl-Sink%3CItem%3E-for-Buffer%3CSi,+Item%3E" class="anchor">§</a><h3 class="code-header">impl<Si, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../sink/struct.Buffer.html" title="struct futures::sink::Buffer">Buffer</a><Si, Item><div class="where">where
|
||
Si: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-36" class="associatedtype trait-impl"><a href="#associatedtype.Error-36" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <Si as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-SinkErrInto%3CSi,+Item,+E%3E" class="impl"><a class="src rightside" href="../../src/futures_util/sink/err_into.rs.html#28-31">source</a><a href="#impl-Sink%3CItem%3E-for-SinkErrInto%3CSi,+Item,+E%3E" class="anchor">§</a><h3 class="code-header">impl<Si, Item, E> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../sink/struct.SinkErrInto.html" title="struct futures::sink::SinkErrInto">SinkErrInto</a><Si, Item, E><div class="where">where
|
||
Si: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,
|
||
<Si as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><E>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-37" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CU%3E-for-With%3CSi,+Item,+U,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/sink/with.rs.html#100-105">source</a><a href="#impl-Sink%3CU%3E-for-With%3CSi,+Item,+U,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<Si, Item, U, Fut, F, E> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><U> for <a class="struct" href="../sink/struct.With.html" title="struct futures::sink::With">With</a><Si, Item, U, Fut, F><div class="where">where
|
||
Si: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(U) -> Fut,
|
||
Fut: <a class="trait" href="../future/trait.Future.html" title="trait futures::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Item, E>>,
|
||
E: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<Si as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-38" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CU%3E-for-WithFlatMap%3CSi,+Item,+U,+St,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/sink/with_flat_map.rs.html#98-102">source</a><a href="#impl-Sink%3CU%3E-for-WithFlatMap%3CSi,+Item,+U,+St,+F%3E" class="anchor">§</a><h3 class="code-header">impl<Si, Item, U, St, F> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><U> for <a class="struct" href="../sink/struct.WithFlatMap.html" title="struct futures::sink::WithFlatMap">WithFlatMap</a><Si, Item, U, St, F><div class="where">where
|
||
Si: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>,
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(U) -> St,
|
||
St: <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a><Item = <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Item, <Si as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a>>>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-39" class="associatedtype trait-impl"><a href="#associatedtype.Error-39" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <Si as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Map%3CSt,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/map.rs.html#69-72">source</a><a href="#impl-Sink%3CItem%3E-for-Map%3CSt,+F%3E" class="anchor">§</a><h3 class="code-header">impl<St, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><St, F><div class="where">where
|
||
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><Item>,
|
||
F: FnMut1<<St as <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>>::<a class="associatedtype" href="../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-40" class="associatedtype trait-impl"><a href="#associatedtype.Error-40" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <St as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Scan%3CSt,+S,+Fut,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/scan.rs.html#121-123">source</a><a href="#impl-Sink%3CItem%3E-for-Scan%3CSt,+S,+Fut,+F%3E" class="anchor">§</a><h3 class="code-header">impl<St, S, Fut, F, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../stream/struct.Scan.html" title="struct futures::stream::Scan">Scan</a><St, S, Fut, F><div class="where">where
|
||
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><Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-41" class="associatedtype trait-impl"><a href="#associatedtype.Error-41" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <St as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-%26UnboundedSender%3CT%3E" class="impl"><a class="src 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<T> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T> for &<a class="struct" href="../channel/mpsc/struct.UnboundedSender.html" title="struct futures::channel::mpsc::UnboundedSender">UnboundedSender</a><T></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-42" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-Sender%3CT%3E" class="impl"><a class="src 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<T> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T> for <a class="struct" href="../channel/mpsc/struct.Sender.html" title="struct futures::channel::mpsc::Sender">Sender</a><T></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-43" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-UnboundedSender%3CT%3E" class="impl"><a class="src 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<T> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T> for <a class="struct" href="../channel/mpsc/struct.UnboundedSender.html" title="struct futures::channel::mpsc::UnboundedSender">UnboundedSender</a><T></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-44" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CT%3E-for-Drain%3CT%3E" class="impl"><a class="src 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<T> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><T> for <a class="struct" href="../sink/struct.Drain.html" title="struct futures::sink::Drain">Drain</a><T></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-45" class="associatedtype trait-impl"><a href="#associatedtype.Error-45" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-Unfold%3CT,+F,+R%3E" class="impl"><a class="src rightside" href="../../src/futures_util/sink/unfold.rs.html#47-50">source</a><a href="#impl-Sink%3CItem%3E-for-Unfold%3CT,+F,+R%3E" class="anchor">§</a><h3 class="code-header">impl<T, F, R, Item, E> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../sink/struct.Unfold.html" title="struct futures::sink::Unfold">Unfold</a><T, F, R><div class="where">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(T, Item) -> R,
|
||
R: <a class="trait" href="../future/trait.Future.html" title="trait futures::future::Future">Future</a><Output = <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, E>>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-46" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3CItem%3E-for-IntoSink%3CW,+Item%3E" class="impl"><a class="src rightside" href="../../src/futures_util/io/into_sink.rs.html#57">source</a><a href="#impl-Sink%3CItem%3E-for-IntoSink%3CW,+Item%3E" class="anchor">§</a><h3 class="code-header">impl<W, Item> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><Item> for <a class="struct" href="../io/struct.IntoSink.html" title="struct futures::io::IntoSink">IntoSink</a><W, Item><div class="where">where
|
||
W: <a class="trait" href="../io/trait.AsyncWrite.html" title="trait futures::io::AsyncWrite">AsyncWrite</a>,
|
||
Item: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><[<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.u8.html">u8</a>]>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-47" class="associatedtype trait-impl"><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="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-FlattenStream%3CF%3E" class="impl"><a class="src 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<_Item, F> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../future/struct.FlattenStream.html" title="struct futures::future::FlattenStream">FlattenStream</a><F><div class="where">where
|
||
Flatten<F, <F as <a class="trait" href="../future/trait.Future.html" title="trait futures::future::Future">Future</a>>::<a class="associatedtype" href="../future/trait.Future.html#associatedtype.Output" title="type futures::future::Future::Output">Output</a>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,
|
||
F: <a class="trait" href="../future/trait.Future.html" title="trait futures::future::Future">Future</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-48" class="associatedtype trait-impl"><a href="#associatedtype.Error-48" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <Flatten<F, <F as <a class="trait" href="../future/trait.Future.html" title="trait futures::future::Future">Future</a>>::<a class="associatedtype" href="../future/trait.Future.html#associatedtype.Output" title="type futures::future::Future::Output">Output</a>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-TryFlattenStream%3CFut%3E" class="impl"><a class="src 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<_Item, Fut> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../future/struct.TryFlattenStream.html" title="struct futures::future::TryFlattenStream">TryFlattenStream</a><Fut><div class="where">where
|
||
TryFlatten<Fut, <Fut as <a class="trait" href="../future/trait.TryFuture.html" title="trait futures::future::TryFuture">TryFuture</a>>::<a class="associatedtype" href="../future/trait.TryFuture.html#associatedtype.Ok" title="type futures::future::TryFuture::Ok">Ok</a>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,
|
||
Fut: <a class="trait" href="../future/trait.TryFuture.html" title="trait futures::future::TryFuture">TryFuture</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-49" class="associatedtype trait-impl"><a href="#associatedtype.Error-49" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <TryFlatten<Fut, <Fut as <a class="trait" href="../future/trait.TryFuture.html" title="trait futures::future::TryFuture">TryFuture</a>>::<a class="associatedtype" href="../future/trait.TryFuture.html#associatedtype.Ok" title="type futures::future::TryFuture::Ok">Ok</a>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-FlattenSink%3CFut,+Si%3E" class="impl"><a class="src 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,+Si%3E" class="anchor">§</a><h3 class="code-header">impl<_Item, Fut, Si> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../future/struct.FlattenSink.html" title="struct futures::future::FlattenSink">FlattenSink</a><Fut, Si><div class="where">where
|
||
TryFlatten<Fut, Si>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-50" class="associatedtype trait-impl"><a href="#associatedtype.Error-50" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <TryFlatten<Fut, Si> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-Flatten%3CSt%3E" class="impl"><a class="src 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<_Item, St> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.Flatten.html" title="struct futures::stream::Flatten">Flatten</a><St><div class="where">where
|
||
Flatten<St, <St as <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>>::<a class="associatedtype" href="../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,
|
||
St: <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-51" class="associatedtype trait-impl"><a href="#associatedtype.Error-51" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <Flatten<St, <St as <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>>::<a class="associatedtype" href="../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-TryFlattenUnordered%3CSt%3E" class="impl"><a class="src 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<_Item, St> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.TryFlattenUnordered.html" title="struct futures::stream::TryFlattenUnordered">TryFlattenUnordered</a><St><div class="where">where
|
||
FlattenUnorderedWithFlowController<NestedTryStreamIntoEitherTryStream<St>, PropagateBaseStreamError<St>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,
|
||
St: <a class="trait" href="../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>,
|
||
<St as <a class="trait" href="../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>>::<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> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
|
||
<<St as <a class="trait" href="../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>>::<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>>::<a class="associatedtype" href="../stream/trait.TryStream.html#associatedtype.Error" title="type futures::stream::TryStream::Error">Error</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<St as <a class="trait" href="../stream/trait.TryStream.html" title="trait futures::stream::TryStream">TryStream</a>>::<a class="associatedtype" href="../stream/trait.TryStream.html#associatedtype.Error" title="type futures::stream::TryStream::Error">Error</a>>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-52" class="associatedtype trait-impl"><a href="#associatedtype.Error-52" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <FlattenUnorderedWithFlowController<NestedTryStreamIntoEitherTryStream<St>, PropagateBaseStreamError<St>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-ErrInto%3CSt,+E%3E" class="impl"><a class="src 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,+E%3E" class="anchor">§</a><h3 class="code-header">impl<_Item, St, E> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.ErrInto.html" title="struct futures::stream::ErrInto">ErrInto</a><St, E><div class="where">where
|
||
<a class="struct" href="../stream/struct.MapErr.html" title="struct futures::stream::MapErr">MapErr</a><St, IntoFn<E>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-53" class="associatedtype trait-impl"><a href="#associatedtype.Error-53" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <<a class="struct" href="../stream/struct.MapErr.html" title="struct futures::stream::MapErr">MapErr</a><St, IntoFn<E>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-Inspect%3CSt,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/mod.rs.html#110-115">source</a><a href="#impl-Sink%3C_Item%3E-for-Inspect%3CSt,+F%3E" class="anchor">§</a><h3 class="code-header">impl<_Item, St, F> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a><St, F><div class="where">where
|
||
<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><St, InspectFn<F>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-54" class="associatedtype trait-impl"><a href="#associatedtype.Error-54" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><St, InspectFn<F>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-InspectErr%3CSt,+F%3E" class="impl"><a class="src 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,+F%3E" class="anchor">§</a><h3 class="code-header">impl<_Item, St, F> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.InspectErr.html" title="struct futures::stream::InspectErr">InspectErr</a><St, F><div class="where">where
|
||
<a class="struct" href="../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a><<a class="struct" href="../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a><St>, InspectErrFn<F>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-55" class="associatedtype trait-impl"><a href="#associatedtype.Error-55" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <<a class="struct" href="../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a><<a class="struct" href="../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a><St>, InspectErrFn<F>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-InspectOk%3CSt,+F%3E" class="impl"><a class="src 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,+F%3E" class="anchor">§</a><h3 class="code-header">impl<_Item, St, F> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.InspectOk.html" title="struct futures::stream::InspectOk">InspectOk</a><St, F><div class="where">where
|
||
<a class="struct" href="../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a><<a class="struct" href="../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a><St>, InspectOkFn<F>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-56" class="associatedtype trait-impl"><a href="#associatedtype.Error-56" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <<a class="struct" href="../stream/struct.Inspect.html" title="struct futures::stream::Inspect">Inspect</a><<a class="struct" href="../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a><St>, InspectOkFn<F>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-MapErr%3CSt,+F%3E" class="impl"><a class="src 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,+F%3E" class="anchor">§</a><h3 class="code-header">impl<_Item, St, F> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.MapErr.html" title="struct futures::stream::MapErr">MapErr</a><St, F><div class="where">where
|
||
<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><<a class="struct" href="../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a><St>, MapErrFn<F>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-57" class="associatedtype trait-impl"><a href="#associatedtype.Error-57" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><<a class="struct" href="../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a><St>, MapErrFn<F>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-MapOk%3CSt,+F%3E" class="impl"><a class="src 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,+F%3E" class="anchor">§</a><h3 class="code-header">impl<_Item, St, F> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.MapOk.html" title="struct futures::stream::MapOk">MapOk</a><St, F><div class="where">where
|
||
<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><<a class="struct" href="../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a><St>, MapOkFn<F>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-58" class="associatedtype trait-impl"><a href="#associatedtype.Error-58" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><<a class="struct" href="../stream/struct.IntoStream.html" title="struct futures::stream::IntoStream">IntoStream</a><St>, MapOkFn<F>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-FlatMap%3CSt,+U,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/mod.rs.html#121-126">source</a><a href="#impl-Sink%3C_Item%3E-for-FlatMap%3CSt,+U,+F%3E" class="anchor">§</a><h3 class="code-header">impl<_Item, St, U, F> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.FlatMap.html" title="struct futures::stream::FlatMap">FlatMap</a><St, U, F><div class="where">where
|
||
Flatten<<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><St, F>, U>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-59" class="associatedtype trait-impl"><a href="#associatedtype.Error-59" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <Flatten<<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><St, F>, U> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<a class="associatedtype" href="../sink/trait.Sink.html#associatedtype.Error" title="type futures::sink::Sink::Error">Error</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Sink%3C_Item%3E-for-FlatMapUnordered%3CSt,+U,+F%3E" class="impl"><a class="src rightside" href="../../src/futures_util/stream/stream/mod.rs.html#211-217">source</a><a href="#impl-Sink%3C_Item%3E-for-FlatMapUnordered%3CSt,+U,+F%3E" class="anchor">§</a><h3 class="code-header">impl<_Item, St, U, F> <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item> for <a class="struct" href="../stream/struct.FlatMapUnordered.html" title="struct futures::stream::FlatMapUnordered">FlatMapUnordered</a><St, U, F><div class="where">where
|
||
FlattenUnorderedWithFlowController<<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><St, F>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>>: <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>,
|
||
St: <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>,
|
||
U: <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
|
||
F: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<St as <a class="trait" href="../stream/trait.Stream.html" title="trait futures::stream::Stream">Stream</a>>::<a class="associatedtype" href="../stream/trait.Stream.html#associatedtype.Item" title="type futures::stream::Stream::Item">Item</a>) -> U,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-60" class="associatedtype trait-impl"><a href="#associatedtype.Error-60" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <FlattenUnorderedWithFlowController<<a class="struct" href="../stream/struct.Map.html" title="struct futures::stream::Map">Map</a><St, F>, <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>> as <a class="trait" href="../sink/trait.Sink.html" title="trait futures::sink::Sink">Sink</a><_Item>>::<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="../../trait.impl/futures_sink/trait.Sink.js" data-ignore-extern-crates="futures_util,alloc,core,futures_channel" async></script></section></div></main></body></html> |