Skip to content

Commit 0bc9cbb

Browse files
committed
deploy: 1e12ee1
1 parent fede2aa commit 0bc9cbb

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

pr/85/docs/iroh_blobs/util/io/struct.TrackingReader.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
</div></details><details class="toggle method-toggle" open><summary><section id="method.bytes_read" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#23-25">Source</a><h4 class="code-header">pub fn <a href="#method.bytes_read" class="fn">bytes_read</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Get the number of bytes read</p>
44
</div></details><details class="toggle method-toggle" open><summary><section id="method.into_parts" class="method"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#28-30">Source</a><h4 class="code-header">pub fn <a href="#method.into_parts" class="fn">into_parts</a>(self) -&gt; (R, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</h4></section></summary><div class="docblock"><p>Get the inner reader</p>
55
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-AsyncStreamReader-for-TrackingReader%3CR%3E" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#33-48">Source</a><a href="#impl-AsyncStreamReader-for-TrackingReader%3CR%3E" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; AsyncStreamReader for <a class="struct" href="struct.TrackingReader.html" title="struct iroh_blobs::util::io::TrackingReader">TrackingReader</a>&lt;R&gt;<div class="where">where
6-
R: AsyncStreamReader,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read_bytes" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#37-41">Source</a><a href="#method.read_bytes" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">read_bytes</a>(&amp;mut self, len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a>&lt;Bytes&gt;</h4></section></summary><div class='docblock'>Read at most <code>len</code> bytes. To read to the end, pass u64::MAX. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.read" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#43-47">Source</a><a href="#method.read" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">read</a>&lt;const L: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;(&amp;mut self) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">L</a>]&gt;</h4></section></summary><div class='docblock'>Read a fixed size buffer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-TrackingReader%3CR%3E" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#9">Source</a><a href="#impl-Debug-for-TrackingReader%3CR%3E" class="anchor">§</a><h3 class="code-header">impl&lt;R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.TrackingReader.html" title="struct iroh_blobs::util::io::TrackingReader">TrackingReader</a>&lt;R&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#9">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-TrackingReader%3CR%3E" class="impl"><a href="#impl-Freeze-for-TrackingReader%3CR%3E" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.TrackingReader.html" title="struct iroh_blobs::util::io::TrackingReader">TrackingReader</a>&lt;R&gt;<div class="where">where
6+
R: AsyncStreamReader,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read_bytes" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#37-41">Source</a><a href="#method.read_bytes" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">read_bytes</a>(&amp;mut self, len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a>&lt;Bytes&gt;</h4></section></summary><div class='docblock'>Read at most <code>len</code> bytes. To read to the end, pass u64::MAX. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.read" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#43-47">Source</a><a href="#method.read" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">read</a>&lt;const L: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;(&amp;mut self) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/std/io/error/type.Result.html" title="type std::io::error::Result">Result</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">L</a>]&gt;</h4></section></summary><div class='docblock'>Read a fixed size buffer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.read_bytes_exact" class="method trait-impl"><a href="#method.read_bytes_exact" class="anchor">§</a><h4 class="code-header">fn <a class="fn">read_bytes_exact</a>(
7+
&amp;mut self,
8+
len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>,
9+
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Bytes, <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;&gt;</h4></section></summary><div class='docblock'>Variant of read_bytes that returns an error if less than <code>len</code> bytes are read.</div></details><details class="toggle method-toggle" open><summary><section id="method.read_exact" class="method trait-impl"><a href="#method.read_exact" class="anchor">§</a><h4 class="code-header">fn <a class="fn">read_exact</a>&lt;const L: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;(
10+
&amp;mut self,
11+
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">L</a>], <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt;&gt;</h4></section></summary><div class='docblock'>Variant of read that returns an error if less than <code>L</code> bytes are read.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-TrackingReader%3CR%3E" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#9">Source</a><a href="#impl-Debug-for-TrackingReader%3CR%3E" class="anchor">§</a><h3 class="code-header">impl&lt;R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.TrackingReader.html" title="struct iroh_blobs::util::io::TrackingReader">TrackingReader</a>&lt;R&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_blobs/util/io.rs.html#9">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-TrackingReader%3CR%3E" class="impl"><a href="#impl-Freeze-for-TrackingReader%3CR%3E" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.TrackingReader.html" title="struct iroh_blobs::util::io::TrackingReader">TrackingReader</a>&lt;R&gt;<div class="where">where
712
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-TrackingReader%3CR%3E" class="impl"><a href="#impl-RefUnwindSafe-for-TrackingReader%3CR%3E" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.TrackingReader.html" title="struct iroh_blobs::util::io::TrackingReader">TrackingReader</a>&lt;R&gt;<div class="where">where
813
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-TrackingReader%3CR%3E" class="impl"><a href="#impl-Send-for-TrackingReader%3CR%3E" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.TrackingReader.html" title="struct iroh_blobs::util::io::TrackingReader">TrackingReader</a>&lt;R&gt;<div class="where">where
914
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-TrackingReader%3CR%3E" class="impl"><a href="#impl-Sync-for-TrackingReader%3CR%3E" class="anchor">§</a><h3 class="code-header">impl&lt;R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.TrackingReader.html" title="struct iroh_blobs::util::io::TrackingReader">TrackingReader</a>&lt;R&gt;<div class="where">where

pr/85/docs/type.impl/alloc/boxed/struct.Box.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)