deploy: 5b67dec77359aefe7cebdd7b81f9d8f39a988b35

This commit is contained in:
Frando
2024-09-09 10:14:35 +00:00
parent 6831aa2a3b
commit 84fc73877e
23 changed files with 80 additions and 80 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,15 +1,15 @@
<!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="Trait modeling a dialer. This allows for IO-less testing."><title>Dialer in iroh_blobs::downloader - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_blobs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_blobs/index.html">iroh_blobs</a><span class="version">0.23.0</span></h2></div><h2 class="location"><a href="#">Dialer</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.Connection">Connection</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.is_pending">is_pending</a></li><li><a href="#tymethod.node_id">node_id</a></li><li><a href="#tymethod.pending_count">pending_count</a></li><li><a href="#tymethod.queue_dial">queue_dial</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Dialer-for-Dialer">Dialer</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh_blobs::downloader</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="../../iroh_blobs/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="Type ‘S’ or ‘/’ 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">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">iroh_blobs</a>::<wbr><a href="index.html">downloader</a>::<wbr><a class="trait" href="#">Dialer</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh_blobs/downloader.rs.html#80-91">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait Dialer: Stream&lt;Item = (<a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a>, <a class="type" href="https://docs.rs/anyhow/1.0.85/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Dialer.html#associatedtype.Connection" title="type iroh_blobs::downloader::Dialer::Connection">Connection</a>&gt;)&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> {
<!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="Trait modeling a dialer. This allows for IO-less testing."><title>Dialer in iroh_blobs::downloader - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_blobs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_blobs/index.html">iroh_blobs</a><span class="version">0.23.0</span></h2></div><h2 class="location"><a href="#">Dialer</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.Connection">Connection</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.is_pending">is_pending</a></li><li><a href="#tymethod.node_id">node_id</a></li><li><a href="#tymethod.pending_count">pending_count</a></li><li><a href="#tymethod.queue_dial">queue_dial</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Dialer-for-Dialer">Dialer</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh_blobs::downloader</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="../../iroh_blobs/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="Type ‘S’ or ‘/’ 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">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">iroh_blobs</a>::<wbr><a href="index.html">downloader</a>::<wbr><a class="trait" href="#">Dialer</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh_blobs/downloader.rs.html#80-91">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait Dialer: Stream&lt;Item = (NodeId, <a class="type" href="https://docs.rs/anyhow/1.0.85/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Self::<a class="associatedtype" href="trait.Dialer.html#associatedtype.Connection" title="type iroh_blobs::downloader::Dialer::Connection">Connection</a>&gt;)&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> {
type <a href="#associatedtype.Connection" class="associatedtype">Connection</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static;
// Required methods
fn <a href="#tymethod.queue_dial" class="fn">queue_dial</a>(&amp;mut self, node_id: <a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a>);
fn <a href="#tymethod.queue_dial" class="fn">queue_dial</a>(&amp;mut self, node_id: NodeId);
<span class="item-spacer"></span> fn <a href="#tymethod.pending_count" class="fn">pending_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.is_pending" class="fn">is_pending</a>(&amp;self, node: <a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.node_id" class="fn">node_id</a>(&amp;self) -&gt; <a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.is_pending" class="fn">is_pending</a>(&amp;self, node: NodeId) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.node_id" class="fn">node_id</a>(&amp;self) -&gt; NodeId;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait modeling a dialer. This allows for IO-less testing.</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.Connection" class="method"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#82">source</a><h4 class="code-header">type <a href="#associatedtype.Connection" class="associatedtype">Connection</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static</h4></section></summary><div class="docblock"><p>Type of connections returned by the Dialer.</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.queue_dial" class="method"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#84">source</a><h4 class="code-header">fn <a href="#tymethod.queue_dial" class="fn">queue_dial</a>(&amp;mut self, node_id: <a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a>)</h4></section></summary><div class="docblock"><p>Dial a node.</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.queue_dial" class="method"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#84">source</a><h4 class="code-header">fn <a href="#tymethod.queue_dial" class="fn">queue_dial</a>(&amp;mut self, node_id: NodeId)</h4></section></summary><div class="docblock"><p>Dial a node.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.pending_count" class="method"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#86">source</a><h4 class="code-header">fn <a href="#tymethod.pending_count" class="fn">pending_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></h4></section></summary><div class="docblock"><p>Get the number of dialing nodes.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.is_pending" class="method"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#88">source</a><h4 class="code-header">fn <a href="#tymethod.is_pending" class="fn">is_pending</a>(&amp;self, node: <a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Check if a node is being dialed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.node_id" class="method"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#90">source</a><h4 class="code-header">fn <a href="#tymethod.node_id" class="fn">node_id</a>(&amp;self) -&gt; <a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a></h4></section></summary><div class="docblock"><p>Get the node id of our node.</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-Dialer-for-Dialer" class="impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1495-1513">source</a><a href="#impl-Dialer-for-Dialer" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dialer.html" title="trait iroh_blobs::downloader::Dialer">Dialer</a> for <a class="struct" href="../../iroh_net/dialer/struct.Dialer.html" title="struct iroh_net::dialer::Dialer">Dialer</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Connection-1" class="associatedtype trait-impl"><a href="#associatedtype.Connection-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Connection" class="associatedtype">Connection</a> = Connection</h4></section><section id="method.queue_dial" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1498-1500">source</a><a href="#method.queue_dial" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.queue_dial" class="fn">queue_dial</a>(&amp;mut self, node_id: <a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a>)</h4></section><section id="method.pending_count" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1502-1504">source</a><a href="#method.pending_count" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.pending_count" class="fn">pending_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></h4></section><section id="method.is_pending" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1506-1508">source</a><a href="#method.is_pending" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.is_pending" class="fn">is_pending</a>(&amp;self, node: <a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section><section id="method.node_id" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1510-1512">source</a><a href="#method.node_id" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.node_id" class="fn">node_id</a>(&amp;self) -&gt; <a class="type" href="../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/iroh_blobs/downloader/trait.Dialer.js" data-ignore-extern-crates="iroh_net" async></script></section></div></main></body></html>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.is_pending" class="method"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#88">source</a><h4 class="code-header">fn <a href="#tymethod.is_pending" class="fn">is_pending</a>(&amp;self, node: NodeId) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Check if a node is being dialed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.node_id" class="method"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#90">source</a><h4 class="code-header">fn <a href="#tymethod.node_id" class="fn">node_id</a>(&amp;self) -&gt; NodeId</h4></section></summary><div class="docblock"><p>Get the node id of our node.</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-Dialer-for-Dialer" class="impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1495-1513">source</a><a href="#impl-Dialer-for-Dialer" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dialer.html" title="trait iroh_blobs::downloader::Dialer">Dialer</a> for <a class="struct" href="../../iroh_net/dialer/struct.Dialer.html" title="struct iroh_net::dialer::Dialer">Dialer</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Connection-1" class="associatedtype trait-impl"><a href="#associatedtype.Connection-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Connection" class="associatedtype">Connection</a> = Connection</h4></section><section id="method.queue_dial" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1498-1500">source</a><a href="#method.queue_dial" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.queue_dial" class="fn">queue_dial</a>(&amp;mut self, node_id: NodeId)</h4></section><section id="method.pending_count" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1502-1504">source</a><a href="#method.pending_count" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.pending_count" class="fn">pending_count</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></h4></section><section id="method.is_pending" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1506-1508">source</a><a href="#method.is_pending" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.is_pending" class="fn">is_pending</a>(&amp;self, node: NodeId) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section><section id="method.node_id" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/downloader.rs.html#1510-1512">source</a><a href="#method.node_id" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.node_id" class="fn">node_id</a>(&amp;self) -&gt; NodeId</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/iroh_blobs/downloader/trait.Dialer.js" data-ignore-extern-crates="iroh_net" async></script></section></div></main></body></html>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -17,7 +17,7 @@
format: <a class="enum" href="../enum.BlobFormat.html" title="enum iroh_blobs::BlobFormat">BlobFormat</a>,
tag: <a class="struct" href="../util/struct.Tag.html" title="struct iroh_blobs::util::Tag">Tag</a>,
},
Abort(<a class="struct" href="../../iroh_base/rpc/struct.RpcError.html" title="struct iroh_base::rpc::RpcError">RpcError</a>),
Abort(RpcError),
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Progress updates for the add operation.</p>
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Found" class="variant"><a href="#variant.Found" class="anchor">§</a><h3 class="code-header">Found</h3></section><div class="docblock"><p>An item was found with name <code>name</code>, from now on referred to via <code>id</code></p>
</div><div class="sub-variant" id="variant.Found.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.Found.field.id" class="section-header"><a href="#variant.Found.field.id" class="anchor field">§</a><code>id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span><div class="docblock"><p>A new unique id for this entry.</p>
@@ -33,7 +33,7 @@
</div><div class="sub-variant" id="variant.AllDone.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.AllDone.field.hash" class="section-header"><a href="#variant.AllDone.field.hash" class="anchor field">§</a><code>hash: <a class="struct" href="../struct.Hash.html" title="struct iroh_blobs::Hash">Hash</a></code></span><div class="docblock"><p>The hash of the created data.</p>
</div></div><div class="sub-variant-field"><span id="variant.AllDone.field.format" class="section-header"><a href="#variant.AllDone.field.format" class="anchor field">§</a><code>format: <a class="enum" href="../enum.BlobFormat.html" title="enum iroh_blobs::BlobFormat">BlobFormat</a></code></span><div class="docblock"><p>The format of the added data.</p>
</div></div><div class="sub-variant-field"><span id="variant.AllDone.field.tag" class="section-header"><a href="#variant.AllDone.field.tag" class="anchor field">§</a><code>tag: <a class="struct" href="../util/struct.Tag.html" title="struct iroh_blobs::util::Tag">Tag</a></code></span><div class="docblock"><p>The tag of the added data.</p>
</div></div></div><section id="variant.Abort" class="variant"><a href="#variant.Abort" class="anchor">§</a><h3 class="code-header">Abort(<a class="struct" href="../../iroh_base/rpc/struct.RpcError.html" title="struct iroh_base::rpc::RpcError">RpcError</a>)</h3></section><div class="docblock"><p>We got an error and need to abort.</p>
</div></div></div><section id="variant.Abort" class="variant"><a href="#variant.Abort" class="anchor">§</a><h3 class="code-header">Abort(RpcError)</h3></section><div class="docblock"><p>We got an error and need to abort.</p>
<p>This will be the last message in the stream.</p>
</div></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-Debug-for-AddProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#122">source</a><a href="#impl-Debug-for-AddProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.AddProgress.html" title="enum iroh_blobs::provider::AddProgress">AddProgress</a></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/provider.rs.html#122">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><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-AddProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#122">source</a><a href="#impl-Deserialize%3C'de%3E-for-AddProgress" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="enum" href="enum.AddProgress.html" title="enum iroh_blobs::provider::AddProgress">AddProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#122">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-AddProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#122">source</a><a href="#impl-Serialize-for-AddProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="enum" href="enum.AddProgress.html" title="enum iroh_blobs::provider::AddProgress">AddProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#122">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<div class="where">where
@@ -8,7 +8,7 @@
Done {
hash: <a class="struct" href="../struct.Hash.html" title="struct iroh_blobs::Hash">Hash</a>,
},
Abort(<a class="struct" href="../../iroh_base/rpc/struct.RpcError.html" title="struct iroh_base::rpc::RpcError">RpcError</a>),
Abort(RpcError),
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Progress updates for the batch add operation.</p>
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Found" class="variant"><a href="#variant.Found" class="anchor">§</a><h3 class="code-header">Found</h3></section><div class="docblock"><p>An item was found with the given size</p>
</div><div class="sub-variant" id="variant.Found.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.Found.field.size" class="section-header"><a href="#variant.Found.field.size" class="anchor field">§</a><code>size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span><div class="docblock"><p>The size of the entry in bytes.</p>
@@ -16,7 +16,7 @@
</div><div class="sub-variant" id="variant.Progress.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.Progress.field.offset" class="section-header"><a href="#variant.Progress.field.offset" class="anchor field">§</a><code>offset: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span><div class="docblock"><p>The offset of the progress, in bytes.</p>
</div></div></div><section id="variant.Done" class="variant"><a href="#variant.Done" class="anchor">§</a><h3 class="code-header">Done</h3></section><div class="docblock"><p>We are done, and the hash is <code>hash</code>.</p>
</div><div class="sub-variant" id="variant.Done.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.Done.field.hash" class="section-header"><a href="#variant.Done.field.hash" class="anchor field">§</a><code>hash: <a class="struct" href="../struct.Hash.html" title="struct iroh_blobs::Hash">Hash</a></code></span><div class="docblock"><p>The hash of the entry.</p>
</div></div></div><section id="variant.Abort" class="variant"><a href="#variant.Abort" class="anchor">§</a><h3 class="code-header">Abort(<a class="struct" href="../../iroh_base/rpc/struct.RpcError.html" title="struct iroh_base::rpc::RpcError">RpcError</a>)</h3></section><div class="docblock"><p>We got an error and need to abort.</p>
</div></div></div><section id="variant.Abort" class="variant"><a href="#variant.Abort" class="anchor">§</a><h3 class="code-header">Abort(RpcError)</h3></section><div class="docblock"><p>We got an error and need to abort.</p>
<p>This will be the last message in the stream.</p>
</div></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-Debug-for-BatchAddPathProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#163">source</a><a href="#impl-Debug-for-BatchAddPathProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.BatchAddPathProgress.html" title="enum iroh_blobs::provider::BatchAddPathProgress">BatchAddPathProgress</a></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/provider.rs.html#163">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><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-BatchAddPathProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#163">source</a><a href="#impl-Deserialize%3C'de%3E-for-BatchAddPathProgress" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="enum" href="enum.BatchAddPathProgress.html" title="enum iroh_blobs::provider::BatchAddPathProgress">BatchAddPathProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#163">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-BatchAddPathProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#163">source</a><a href="#impl-Serialize-for-BatchAddPathProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="enum" href="enum.BatchAddPathProgress.html" title="enum iroh_blobs::provider::BatchAddPathProgress">BatchAddPathProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/provider.rs.html#163">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<div class="where">where
@@ -6,7 +6,7 @@
level: <a class="enum" href="enum.ReportLevel.html" title="enum iroh_blobs::store::ReportLevel">ReportLevel</a>,
},
Done,
Abort(<a class="struct" href="../../iroh_base/rpc/struct.RpcError.html" title="struct iroh_base::rpc::RpcError">RpcError</a>),
Abort(RpcError),
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Progress updates for the validate operation</p>
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Start" class="variant"><a href="#variant.Start" class="anchor">§</a><h3 class="code-header">Start</h3></section><div class="docblock"><p>Consistency check started</p>
</div><section id="variant.Update" class="variant"><a href="#variant.Update" class="anchor">§</a><h3 class="code-header">Update</h3></section><div class="docblock"><p>Consistency check update</p>
@@ -14,7 +14,7 @@
</div></div><div class="sub-variant-field"><span id="variant.Update.field.entry" class="section-header"><a href="#variant.Update.field.entry" class="anchor field">§</a><code>entry: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.Hash.html" title="struct iroh_blobs::Hash">Hash</a>&gt;</code></span><div class="docblock"><p>The entry this message is about, if any</p>
</div></div><div class="sub-variant-field"><span id="variant.Update.field.level" class="section-header"><a href="#variant.Update.field.level" class="anchor field">§</a><code>level: <a class="enum" href="enum.ReportLevel.html" title="enum iroh_blobs::store::ReportLevel">ReportLevel</a></code></span><div class="docblock"><p>The level of the message</p>
</div></div></div><section id="variant.Done" class="variant"><a href="#variant.Done" class="anchor">§</a><h3 class="code-header">Done</h3></section><div class="docblock"><p>Consistency check ended</p>
</div><section id="variant.Abort" class="variant"><a href="#variant.Abort" class="anchor">§</a><h3 class="code-header">Abort(<a class="struct" href="../../iroh_base/rpc/struct.RpcError.html" title="struct iroh_base::rpc::RpcError">RpcError</a>)</h3></section><div class="docblock"><p>We got an error and need to abort.</p>
</div><section id="variant.Abort" class="variant"><a href="#variant.Abort" class="anchor">§</a><h3 class="code-header">Abort(RpcError)</h3></section><div class="docblock"><p>We got an error and need to abort.</p>
</div></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-Debug-for-ConsistencyCheckProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#910">source</a><a href="#impl-Debug-for-ConsistencyCheckProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ConsistencyCheckProgress.html" title="enum iroh_blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a></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/store/traits.rs.html#910">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><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-ConsistencyCheckProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#910">source</a><a href="#impl-Deserialize%3C'de%3E-for-ConsistencyCheckProgress" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="enum" href="enum.ConsistencyCheckProgress.html" title="enum iroh_blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#910">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-ConsistencyCheckProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#910">source</a><a href="#impl-Serialize-for-ConsistencyCheckProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="enum" href="enum.ConsistencyCheckProgress.html" title="enum iroh_blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#910">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<div class="where">where
__S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize">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-ConsistencyCheckProgress" class="impl"><a href="#impl-Freeze-for-ConsistencyCheckProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ConsistencyCheckProgress.html" title="enum iroh_blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a></h3></section><section id="impl-RefUnwindSafe-for-ConsistencyCheckProgress" class="impl"><a href="#impl-RefUnwindSafe-for-ConsistencyCheckProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ConsistencyCheckProgress.html" title="enum iroh_blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a></h3></section><section id="impl-Send-for-ConsistencyCheckProgress" class="impl"><a href="#impl-Send-for-ConsistencyCheckProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ConsistencyCheckProgress.html" title="enum iroh_blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a></h3></section><section id="impl-Sync-for-ConsistencyCheckProgress" class="impl"><a href="#impl-Sync-for-ConsistencyCheckProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ConsistencyCheckProgress.html" title="enum iroh_blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a></h3></section><section id="impl-Unpin-for-ConsistencyCheckProgress" class="impl"><a href="#impl-Unpin-for-ConsistencyCheckProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.ConsistencyCheckProgress.html" title="enum iroh_blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a></h3></section><section id="impl-UnwindSafe-for-ConsistencyCheckProgress" class="impl"><a href="#impl-UnwindSafe-for-ConsistencyCheckProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.ConsistencyCheckProgress.html" title="enum iroh_blobs::store::ConsistencyCheckProgress">ConsistencyCheckProgress</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
@@ -31,7 +31,7 @@
ranges: <a class="struct" href="../protocol/struct.RangeSpec.html" title="struct iroh_blobs::protocol::RangeSpec">RangeSpec</a>,
},
AllDone,
Abort(<a class="struct" href="../../iroh_base/rpc/struct.RpcError.html" title="struct iroh_base::rpc::RpcError">RpcError</a>),
Abort(RpcError),
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Progress updates for the validate operation</p>
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Starting" class="variant"><a href="#variant.Starting" class="anchor">§</a><h3 class="code-header">Starting</h3></section><div class="docblock"><p>started validating</p>
</div><div class="sub-variant" id="variant.Starting.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.Starting.field.total" class="section-header"><a href="#variant.Starting.field.total" class="anchor field">§</a><code>total: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span><div class="docblock"><p>The total number of entries to validate</p>
@@ -62,7 +62,7 @@ Otherwise it might be an url or something else to uniquely identify the entry.</
</div><div class="sub-variant" id="variant.PartialEntryDone.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.PartialEntryDone.field.id" class="section-header"><a href="#variant.PartialEntryDone.field.id" class="anchor field">§</a><code>id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span><div class="docblock"><p>The unique id of the entry.</p>
</div></div><div class="sub-variant-field"><span id="variant.PartialEntryDone.field.ranges" class="section-header"><a href="#variant.PartialEntryDone.field.ranges" class="anchor field">§</a><code>ranges: <a class="struct" href="../protocol/struct.RangeSpec.html" title="struct iroh_blobs::protocol::RangeSpec">RangeSpec</a></code></span><div class="docblock"><p>Available ranges.</p>
</div></div></div><section id="variant.AllDone" class="variant"><a href="#variant.AllDone" class="anchor">§</a><h3 class="code-header">AllDone</h3></section><div class="docblock"><p>We are done with the whole operation.</p>
</div><section id="variant.Abort" class="variant"><a href="#variant.Abort" class="anchor">§</a><h3 class="code-header">Abort(<a class="struct" href="../../iroh_base/rpc/struct.RpcError.html" title="struct iroh_base::rpc::RpcError">RpcError</a>)</h3></section><div class="docblock"><p>We got an error and need to abort.</p>
</div><section id="variant.Abort" class="variant"><a href="#variant.Abort" class="anchor">§</a><h3 class="code-header">Abort(RpcError)</h3></section><div class="docblock"><p>We got an error and need to abort.</p>
</div></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-Debug-for-ValidateProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#930">source</a><a href="#impl-Debug-for-ValidateProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ValidateProgress.html" title="enum iroh_blobs::store::ValidateProgress">ValidateProgress</a></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/store/traits.rs.html#930">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><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-ValidateProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#930">source</a><a href="#impl-Deserialize%3C'de%3E-for-ValidateProgress" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="enum" href="enum.ValidateProgress.html" title="enum iroh_blobs::store::ValidateProgress">ValidateProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#930">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-ValidateProgress" class="impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#930">source</a><a href="#impl-Serialize-for-ValidateProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="enum" href="enum.ValidateProgress.html" title="enum iroh_blobs::store::ValidateProgress">ValidateProgress</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../src/iroh_blobs/store/traits.rs.html#930">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<div class="where">where
__S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize">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-ValidateProgress" class="impl"><a href="#impl-Freeze-for-ValidateProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ValidateProgress.html" title="enum iroh_blobs::store::ValidateProgress">ValidateProgress</a></h3></section><section id="impl-RefUnwindSafe-for-ValidateProgress" class="impl"><a href="#impl-RefUnwindSafe-for-ValidateProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ValidateProgress.html" title="enum iroh_blobs::store::ValidateProgress">ValidateProgress</a></h3></section><section id="impl-Send-for-ValidateProgress" class="impl"><a href="#impl-Send-for-ValidateProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ValidateProgress.html" title="enum iroh_blobs::store::ValidateProgress">ValidateProgress</a></h3></section><section id="impl-Sync-for-ValidateProgress" class="impl"><a href="#impl-Sync-for-ValidateProgress" class="anchor">§</a><h3 class="code-header">impl <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="enum" href="enum.ValidateProgress.html" title="enum iroh_blobs::store::ValidateProgress">ValidateProgress</a></h3></section><section id="impl-Unpin-for-ValidateProgress" class="impl"><a href="#impl-Unpin-for-ValidateProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.ValidateProgress.html" title="enum iroh_blobs::store::ValidateProgress">ValidateProgress</a></h3></section><section id="impl-UnwindSafe-for-ValidateProgress" class="impl"><a href="#impl-UnwindSafe-for-ValidateProgress" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.ValidateProgress.html" title="enum iroh_blobs::store::ValidateProgress">ValidateProgress</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
<!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="Converts an `EntryStatus` into a [‘ContentStatus’]."><title>entry_to_content_status in iroh_docs::engine - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_docs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><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 fn"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_docs/index.html">iroh_docs</a><span class="version">0.23.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_docs::engine</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="../../iroh_docs/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="Type ‘S’ or ‘/’ 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">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">iroh_docs</a>::<wbr><a href="index.html">engine</a>::<wbr><a class="fn" href="#">entry_to_content_status</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh_docs/engine.rs.html#211-221">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn entry_to_content_status(entry: <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;EntryStatus&gt;) -&gt; <a class="enum" href="../sync/enum.ContentStatus.html" title="enum iroh_docs::sync::ContentStatus">ContentStatus</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Converts an [<code>EntryStatus</code>] into a [‘ContentStatus’].</p>
<!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="Converts an `EntryStatus` into a [‘ContentStatus’]."><title>entry_to_content_status in iroh_docs::engine - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_docs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><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 fn"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_docs/index.html">iroh_docs</a><span class="version">0.23.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_docs::engine</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="../../iroh_docs/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="Type ‘S’ or ‘/’ 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">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">iroh_docs</a>::<wbr><a href="index.html">engine</a>::<wbr><a class="fn" href="#">entry_to_content_status</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh_docs/engine.rs.html#211-221">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn entry_to_content_status(entry: <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="enum" href="../../iroh_blobs/store/traits/enum.EntryStatus.html" title="enum iroh_blobs::store::traits::EntryStatus">EntryStatus</a>&gt;) -&gt; <a class="enum" href="../sync/enum.ContentStatus.html" title="enum iroh_docs::sync::ContentStatus">ContentStatus</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Converts an <a href="../../iroh_blobs/store/traits/enum.EntryStatus.html" title="enum iroh_blobs::store::traits::EntryStatus"><code>EntryStatus</code></a> into a [‘ContentStatus’].</p>
</div></details></section></div></main></body></html>
+1 -1
View File
@@ -1,4 +1,4 @@
<!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="Handlers and actors to for live syncing replicas."><title>iroh_docs::engine - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_docs" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><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 mod"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_docs/index.html">iroh_docs</a><span class="version">0.23.0</span></h2></div><h2 class="location"><a href="#">Module engine</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In crate iroh_docs</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="../../iroh_docs/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="Type ‘S’ or ‘/’ 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">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">iroh_docs</a>::<wbr><a class="mod" href="#">engine</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh_docs/engine.rs.html#1-410">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Handlers and actors to for live syncing replicas.</p>
<p><a href="../sync/struct.Replica.html" title="struct iroh_docs::sync::Replica"><code>crate::Replica</code></a> is also called documents here.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.DefaultAuthor.html" title="struct iroh_docs::engine::DefaultAuthor">DefaultAuthor</a></div><div class="desc docblock-short">Persistent default author for a docs engine.</div></li><li><div class="item-name"><a class="struct" href="struct.Engine.html" title="struct iroh_docs::engine::Engine">Engine</a></div><div class="desc docblock-short">The sync engine coordinates actors that manage open documents, set-reconciliation syncs with
peers and a gossip swarm for each syncing document.</div></li><li><div class="item-name"><a class="struct" href="struct.SyncEvent.html" title="struct iroh_docs::engine::SyncEvent">SyncEvent</a></div><div class="desc docblock-short">Event emitted when a sync operation completes</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.DefaultAuthorStorage.html" title="enum iroh_docs::engine::DefaultAuthorStorage">DefaultAuthorStorage</a></div><div class="desc docblock-short">Where to persist the default author.</div></li><li><div class="item-name"><a class="enum" href="enum.LiveEvent.html" title="enum iroh_docs::engine::LiveEvent">LiveEvent</a></div><div class="desc docblock-short">Events informing about actions of the live sync progress.</div></li><li><div class="item-name"><a class="enum" href="enum.Origin.html" title="enum iroh_docs::engine::Origin">Origin</a></div><div class="desc docblock-short">Why we performed a sync exchange</div></li><li><div class="item-name"><a class="enum" href="enum.SyncReason.html" title="enum iroh_docs::engine::SyncReason">SyncReason</a></div><div class="desc docblock-short">Why we started a sync request</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.entry_to_content_status.html" title="fn iroh_docs::engine::entry_to_content_status">entry_to_content_status</a></div><div class="desc docblock-short">Converts an [<code>EntryStatus</code>] into a [‘ContentStatus’].</div></li></ul></section></div></main></body></html>
peers and a gossip swarm for each syncing document.</div></li><li><div class="item-name"><a class="struct" href="struct.SyncEvent.html" title="struct iroh_docs::engine::SyncEvent">SyncEvent</a></div><div class="desc docblock-short">Event emitted when a sync operation completes</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.DefaultAuthorStorage.html" title="enum iroh_docs::engine::DefaultAuthorStorage">DefaultAuthorStorage</a></div><div class="desc docblock-short">Where to persist the default author.</div></li><li><div class="item-name"><a class="enum" href="enum.LiveEvent.html" title="enum iroh_docs::engine::LiveEvent">LiveEvent</a></div><div class="desc docblock-short">Events informing about actions of the live sync progress.</div></li><li><div class="item-name"><a class="enum" href="enum.Origin.html" title="enum iroh_docs::engine::Origin">Origin</a></div><div class="desc docblock-short">Why we performed a sync exchange</div></li><li><div class="item-name"><a class="enum" href="enum.SyncReason.html" title="enum iroh_docs::engine::SyncReason">SyncReason</a></div><div class="desc docblock-short">Why we started a sync request</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.entry_to_content_status.html" title="fn iroh_docs::engine::entry_to_content_status">entry_to_content_status</a></div><div class="desc docblock-short">Converts an <a href="../../iroh_blobs/store/traits/enum.EntryStatus.html" title="enum iroh_blobs::store::traits::EntryStatus"><code>EntryStatus</code></a> into a [‘ContentStatus’].</div></li></ul></section></div></main></body></html>
@@ -8,12 +8,12 @@ peers and a gossip swarm for each syncing document.</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.endpoint" class="structfield section-header"><a href="#structfield.endpoint" class="anchor field">§</a><code>endpoint: <a class="struct" href="../../iroh_net/endpoint/struct.Endpoint.html" title="struct iroh_net::endpoint::Endpoint">Endpoint</a></code></span><div class="docblock"><p><a href="../../iroh_net/endpoint/struct.Endpoint.html" title="struct iroh_net::endpoint::Endpoint"><code>Endpoint</code></a> used by the engine.</p>
</div><span id="structfield.sync" class="structfield section-header"><a href="#structfield.sync" class="anchor field">§</a><code>sync: <a class="struct" href="../actor/struct.SyncHandle.html" title="struct iroh_docs::actor::SyncHandle">SyncHandle</a></code></span><div class="docblock"><p>Handle to the actor thread.</p>
</div><span id="structfield.default_author" class="structfield section-header"><a href="#structfield.default_author" class="anchor field">§</a><code>default_author: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="struct.DefaultAuthor.html" title="struct iroh_docs::engine::DefaultAuthor">DefaultAuthor</a>&gt;</code></span><div class="docblock"><p>The persistent default author for this engine.</p>
</div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Engine" class="impl"><a class="src rightside" href="../../src/iroh_docs/engine.rs.html#57-208">source</a><a href="#impl-Engine" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Engine.html" title="struct iroh_docs::engine::Engine">Engine</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.spawn" class="method"><a class="src rightside" href="../../src/iroh_docs/engine.rs.html#62-115">source</a><h4 class="code-header">pub async fn <a href="#method.spawn" class="fn">spawn</a>&lt;B: Store&gt;(
</div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Engine" class="impl"><a class="src rightside" href="../../src/iroh_docs/engine.rs.html#57-208">source</a><a href="#impl-Engine" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Engine.html" title="struct iroh_docs::engine::Engine">Engine</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.spawn" class="method"><a class="src rightside" href="../../src/iroh_docs/engine.rs.html#62-115">source</a><h4 class="code-header">pub async fn <a href="#method.spawn" class="fn">spawn</a>&lt;B: <a class="trait" href="../../iroh_blobs/store/traits/trait.Store.html" title="trait iroh_blobs::store::traits::Store">Store</a>&gt;(
endpoint: <a class="struct" href="../../iroh_net/endpoint/struct.Endpoint.html" title="struct iroh_net::endpoint::Endpoint">Endpoint</a>,
gossip: Gossip,
gossip: <a class="struct" href="../../iroh_gossip/net/struct.Gossip.html" title="struct iroh_gossip::net::Gossip">Gossip</a>,
replica_store: <a class="struct" href="../store/fs/struct.Store.html" title="struct iroh_docs::store::fs::Store">Store</a>,
bao_store: B,
downloader: Downloader,
downloader: <a class="struct" href="../../iroh_blobs/downloader/struct.Downloader.html" title="struct iroh_blobs::downloader::Downloader">Downloader</a>,
default_author_storage: <a class="enum" href="enum.DefaultAuthorStorage.html" title="enum iroh_docs::engine::DefaultAuthorStorage">DefaultAuthorStorage</a>
) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.85/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Self&gt;</h4></section></summary><div class="docblock"><p>Start the sync engine.</p>
<p>This will spawn two tokio tasks for the live sync coordination and gossip actors, and a
+1 -1
View File
@@ -149,6 +149,6 @@ letters are used (e.g. <code>F9B4CA</code>)</div></details></div></details><deta
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;Dispatch&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.204/src/serde/de/mod.rs.html#615">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; PeerIdentity for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../iroh_gossip/proto/trait.PeerIdentity.html" title="trait iroh_gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h3></section></div><script type="text/json" id="notable-traits-data">{"&[u8]":"<h3>Notable traits for <code>&amp;[<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u8.html\">u8</a>]</code></h3><pre><code><div class=\"where\">impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/io/trait.Read.html\" title=\"trait std::io::Read\">Read</a> for &amp;[<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u8.html\">u8</a>]</div>"}</script></section></div></main></body></html>
@@ -141,6 +141,6 @@ builds.</div></details></div></details><details class="toggle implementors-toggl
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;Dispatch&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.204/src/serde/de/mod.rs.html#615">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; PeerIdentity for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../iroh_gossip/proto/trait.PeerIdentity.html" title="trait iroh_gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h3></section></div></section></div></main></body></html>
@@ -149,6 +149,6 @@ letters are used (e.g. <code>F9B4CA</code>)</div></details></div></details><deta
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;Dispatch&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.204/src/serde/de/mod.rs.html#615">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; PeerIdentity for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../iroh_gossip/proto/trait.PeerIdentity.html" title="trait iroh_gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h3></section></div><script type="text/json" id="notable-traits-data">{"&[u8]":"<h3>Notable traits for <code>&amp;[<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u8.html\">u8</a>]</code></h3><pre><code><div class=\"where\">impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/io/trait.Read.html\" title=\"trait std::io::Read\">Read</a> for &amp;[<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u8.html\">u8</a>]</div>"}</script></section></div></main></body></html>
@@ -140,6 +140,6 @@ builds.</div></details></div></details><details class="toggle implementors-toggl
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;Dispatch&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber-1" class="method trait-impl"><a class="src rightside" href="https://docs.rs/tracing-futures/0.2.5/src/tracing_futures/lib.rs.html#237">source</a><a href="#method.with_current_subscriber-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/struct.WithDispatch.html" title="struct tracing_futures::WithDispatch">WithDispatch</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/latest/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing/latest/tracing/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<code>WithDispatch</code> wrapper. <a href="https://docs.rs/tracing-futures/0.2.5/tracing_futures/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><section id="impl-DeserializeOwned-for-T" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.204/src/serde/de/mod.rs.html#615">source</a><a href="#impl-DeserializeOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; PeerIdentity for T<div class="where">where
T: for&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section><section id="impl-PeerIdentity-for-T" class="impl"><a class="src rightside" href="../src/iroh_gossip/proto.rs.html#78">source</a><a href="#impl-PeerIdentity-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../iroh_gossip/proto/trait.PeerIdentity.html" title="trait iroh_gossip::proto::PeerIdentity">PeerIdentity</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> + <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a>,</div></h3></section><section id="impl-RuleType-for-T" class="impl"><a class="src rightside" href="https://docs.rs/pest/src/pest/lib.rs.html#378">source</a><a href="#impl-RuleType-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/pest/pest/trait.RuleType.html" title="trait pest::RuleType">RuleType</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,</div></h3></section></div></section></div></main></body></html>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long