Skip to content

Commit 9be2e8c

Browse files
committed
deploy: d1d7804
1 parent f1832d1 commit 9be2e8c

26 files changed

+103
-92
lines changed

pr/11/docs/iroh_blobs/all.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pr/11/docs/iroh_blobs/format/collection/trait.SimpleStore.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="https://docs.rs/anyhow/1.0.92/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Bytes&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + '_;
77
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A simple store trait for loading blobs</p>
88
</div></details><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.load" class="method"><a class="src rightside" href="../../../src/iroh_blobs/format/collection.rs.html#70">source</a><h4 class="code-header">fn <a href="#tymethod.load" class="fn">load</a>(&amp;self, hash: <a class="struct" href="../../struct.Hash.html" title="struct iroh_blobs::Hash">Hash</a>) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="https://docs.rs/anyhow/1.0.92/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Bytes&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + '_</h4></section></summary><div class="docblock"><p>Load a blob from the store</p>
9-
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-SimpleStore-for-Client%3CC%3E" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/rpc/client/blobs.rs.html#468-475">source</a><a href="#impl-SimpleStore-for-Client%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="trait.SimpleStore.html" title="trait iroh_blobs::format::collection::SimpleStore">SimpleStore</a> for <a class="struct" href="../../rpc/client/blobs/struct.Client.html" title="struct iroh_blobs::rpc::client::blobs::Client">Client</a>&lt;C&gt;<div class="where">where
9+
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-SimpleStore-for-Client%3CC%3E" class="impl"><a class="src rightside" href="../../../src/iroh_blobs/rpc/client/blobs.rs.html#471-478">source</a><a href="#impl-SimpleStore-for-Client%3CC%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C&gt; <a class="trait" href="trait.SimpleStore.html" title="trait iroh_blobs::format::collection::SimpleStore">SimpleStore</a> for <a class="struct" href="../../rpc/client/blobs/struct.Client.html" title="struct iroh_blobs::rpc::client::blobs::Client">Client</a>&lt;C&gt;<div class="where">where
1010
C: Connector&lt;<a class="struct" href="../../rpc/proto/struct.RpcService.html" title="struct iroh_blobs::rpc::proto::RpcService">RpcService</a>&gt;,</div></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>rpc</code></strong> only.</div></span></section></div><script src="../../../trait.impl/iroh_blobs/format/collection/trait.SimpleStore.js" async></script></section></div></main></body></html>

pr/11/docs/iroh_blobs/net_protocol/struct.Blobs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
events: <a class="struct" href="../provider/struct.EventSender.html" title="struct iroh_blobs::provider::EventSender">EventSender</a>,
55
downloader: <a class="struct" href="../downloader/struct.Downloader.html" title="struct iroh_blobs::downloader::Downloader">Downloader</a>,
66
endpoint: Endpoint
7-
) -&gt; Self</h4></section><section id="method.store" class="method"><a class="src rightside" href="../../src/iroh_blobs/net_protocol.rs.html#120-122">source</a><h4 class="code-header">pub fn <a href="#method.store" class="fn">store</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;S</a></h4></section><section id="method.rt" class="method"><a class="src rightside" href="../../src/iroh_blobs/net_protocol.rs.html#124-126">source</a><h4 class="code-header">pub fn <a href="#method.rt" class="fn">rt</a>(&amp;self) -&gt; &amp;<a class="struct" href="../util/local_pool/struct.LocalPoolHandle.html" title="struct iroh_blobs::util::local_pool::LocalPoolHandle">LocalPoolHandle</a></h4></section><section id="method.endpoint" class="method"><a class="src rightside" href="../../src/iroh_blobs/net_protocol.rs.html#128-130">source</a><h4 class="code-header">pub fn <a href="#method.endpoint" class="fn">endpoint</a>(&amp;self) -&gt; &amp;Endpoint</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Blobs%3CD%3E" class="impl"><a class="src rightside" href="../../src/iroh_blobs/rpc.rs.html#63-888">source</a><a href="#impl-Blobs%3CD%3E" class="anchor">§</a><h3 class="code-header">impl&lt;D: <a class="trait" href="../store/trait.Store.html" title="trait iroh_blobs::store::Store">Store</a>&gt; <a class="struct" href="struct.Blobs.html" title="struct iroh_blobs::net_protocol::Blobs">Blobs</a>&lt;D&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.client" class="method"><a class="src rightside" href="../../src/iroh_blobs/rpc.rs.html#65-72">source</a><h4 class="code-header">pub fn <a href="#method.client" class="fn">client</a>(self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Self&gt;) -&gt; <a class="struct" href="../rpc/client/blobs/struct.Client.html" title="struct iroh_blobs::rpc::client::blobs::Client">Client</a>&lt;FlumeConnector&lt;<a class="enum" href="../rpc/proto/enum.Response.html" title="enum iroh_blobs::rpc::proto::Response">Response</a>, <a class="enum" href="../rpc/proto/enum.Request.html" title="enum iroh_blobs::rpc::proto::Request">Request</a>&gt;&gt;</h4></section><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>rpc</code></strong> only.</div></span></summary><div class="docblock"><p>Get a client for the blobs protocol</p>
7+
) -&gt; Self</h4></section><section id="method.store" class="method"><a class="src rightside" href="../../src/iroh_blobs/net_protocol.rs.html#120-122">source</a><h4 class="code-header">pub fn <a href="#method.store" class="fn">store</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;S</a></h4></section><section id="method.rt" class="method"><a class="src rightside" href="../../src/iroh_blobs/net_protocol.rs.html#124-126">source</a><h4 class="code-header">pub fn <a href="#method.rt" class="fn">rt</a>(&amp;self) -&gt; &amp;<a class="struct" href="../util/local_pool/struct.LocalPoolHandle.html" title="struct iroh_blobs::util::local_pool::LocalPoolHandle">LocalPoolHandle</a></h4></section><section id="method.endpoint" class="method"><a class="src rightside" href="../../src/iroh_blobs/net_protocol.rs.html#128-130">source</a><h4 class="code-header">pub fn <a href="#method.endpoint" class="fn">endpoint</a>(&amp;self) -&gt; &amp;Endpoint</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Blobs%3CD%3E" class="impl"><a class="src rightside" href="../../src/iroh_blobs/rpc.rs.html#63-888">source</a><a href="#impl-Blobs%3CD%3E" class="anchor">§</a><h3 class="code-header">impl&lt;D: <a class="trait" href="../store/trait.Store.html" title="trait iroh_blobs::store::Store">Store</a>&gt; <a class="struct" href="struct.Blobs.html" title="struct iroh_blobs::net_protocol::Blobs">Blobs</a>&lt;D&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.client" class="method"><a class="src rightside" href="../../src/iroh_blobs/rpc.rs.html#65-72">source</a><h4 class="code-header">pub fn <a href="#method.client" class="fn">client</a>(self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Self&gt;) -&gt; <a class="type" href="../rpc/client/blobs/type.MemClient.html" title="type iroh_blobs::rpc::client::blobs::MemClient">MemClient</a></h4></section><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>rpc</code></strong> only.</div></span></summary><div class="docblock"><p>Get a client for the blobs protocol</p>
88
</div></details><details class="toggle method-toggle" open><summary><section id="method.handle_rpc_request" class="method"><a class="src rightside" href="../../src/iroh_blobs/rpc.rs.html#75-88">source</a><h4 class="code-header">pub async fn <a href="#method.handle_rpc_request" class="fn">handle_rpc_request</a>&lt;C&gt;(
99
self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Self&gt;,
1010
msg: <a class="enum" href="../rpc/proto/enum.Request.html" title="enum iroh_blobs::rpc::proto::Request">Request</a>,

0 commit comments

Comments
 (0)