Skip to content

Commit 9fcb9e7

Browse files
committed
deploy: 8ffa2e9
1 parent cd36657 commit 9fcb9e7

File tree

295 files changed

+254
-255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+254
-255
lines changed

pr/187/docs/iroh_blobs/struct.BlobsProtocol.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

pr/187/docs/iroh_blobs/util/connection_pool/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A simple iroh connection pool"><title>iroh_blobs::util::connection_pool - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-e56847b5.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.92.0-nightly (4082d6a3f 2025-09-27)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-061df703.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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]--><rustdoc-topbar><h2><a href="#">Module connection_pool</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../iroh_blobs/index.html">iroh_<wbr>blobs</a><span class="version">0.96.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module connection_<wbr>pool</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh_<wbr>blobs::<wbr>util</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">iroh_blobs</a>::<wbr><a href="../index.html">util</a></div><h1>Module <span>connection_<wbr>pool</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/iroh_blobs/util/connection_pool.rs.html#1-854">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A simple iroh connection pool</p>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A simple iroh connection pool"><title>iroh_blobs::util::connection_pool - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-e56847b5.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.92.0-nightly (4082d6a3f 2025-09-27)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-061df703.js" data-settings-js="settings-c38705f0.js" ><script src="../../../static.files/storage-e2aeef58.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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]--><rustdoc-topbar><h2><a href="#">Module connection_pool</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../iroh_blobs/index.html">iroh_<wbr>blobs</a><span class="version">0.96.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module connection_<wbr>pool</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh_<wbr>blobs::<wbr>util</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">iroh_blobs</a>::<wbr><a href="../index.html">util</a></div><h1>Module <span>connection_<wbr>pool</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/iroh_blobs/util/connection_pool.rs.html#1-852">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A simple iroh connection pool</p>
22
<p>Entry point is <a href="struct.ConnectionPool.html" title="struct iroh_blobs::util::connection_pool::ConnectionPool"><code>ConnectionPool</code></a>. You create a connection pool for a specific
33
ALPN and <a href="struct.Options.html" title="struct iroh_blobs::util::connection_pool::Options"><code>Options</code></a>. Then the pool will manage connections for you.</p>
44
<p>Access to connections is via the <a href="struct.ConnectionPool.html#method.get_or_connect" title="method iroh_blobs::util::connection_pool::ConnectionPool::get_or_connect"><code>ConnectionPool::get_or_connect</code></a> method, which

pr/187/docs/iroh_blobs/util/connection_pool/struct.ConnectionRef.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
</div></details><details class="toggle method-toggle" open><summary><section id="method.open_bi" class="method"><h4 class="code-header">pub fn <a href="#method.open_bi" class="fn">open_bi</a>(&amp;self) -&gt; OpenBi&lt;'_&gt;</h4></section></summary><div class="docblock"><p>Initiates a new outgoing bidirectional stream.</p>
77
<p>Streams are cheap and instantaneous to open unless blocked by flow control. As a
88
consequence, the peer won’t be notified that a stream has been opened until the
9-
stream is actually used. Calling <a href="Connection::open_bi"><code>open_bi</code></a> then waiting on the [<code>RecvStream</code>]
10-
without writing anything to [<code>SendStream</code>] will never succeed.</p>
9+
stream is actually used. Calling <a href="Connection::open_bi"><code>open_bi</code></a> then waiting on the <a href="quinn::RecvStream"><code>RecvStream</code></a>
10+
without writing anything to <a href="quinn::SendStream"><code>SendStream</code></a> will never succeed.</p>
1111
</div></details><details class="toggle method-toggle" open><summary><section id="method.accept_uni" class="method"><h4 class="code-header">pub fn <a href="#method.accept_uni" class="fn">accept_uni</a>(&amp;self) -&gt; AcceptUni&lt;'_&gt;</h4></section></summary><div class="docblock"><p>Accepts the next incoming uni-directional stream.</p>
1212
</div></details><details class="toggle method-toggle" open><summary><section id="method.accept_bi" class="method"><h4 class="code-header">pub fn <a href="#method.accept_bi" class="fn">accept_bi</a>(&amp;self) -&gt; AcceptBi&lt;'_&gt;</h4></section></summary><div class="docblock"><p>Accept the next incoming bidirectional stream.</p>
13-
<p><strong>Important Note</strong>: The peer that calls <a href="Connection::open_bi"><code>open_bi</code></a> must write to its [<code>SendStream</code>]
13+
<p><strong>Important Note</strong>: The peer that calls <a href="Connection::open_bi"><code>open_bi</code></a> must write to its <a href="quinn::SendStream"><code>SendStream</code></a>
1414
before the peer <code>Connection</code> is able to accept the stream using
15-
<code>accept_bi()</code>. Calling <a href="Connection::open_bi"><code>open_bi</code></a> then waiting on the [<code>RecvStream</code>] without
16-
writing anything to the connected [<code>SendStream</code>] will never succeed.</p>
15+
<code>accept_bi()</code>. Calling <a href="Connection::open_bi"><code>open_bi</code></a> then waiting on the <a href="quinn::RecvStream"><code>RecvStream</code></a> without
16+
writing anything to the connected <a href="quinn::SendStream"><code>SendStream</code></a> will never succeed.</p>
1717
</div></details><details class="toggle method-toggle" open><summary><section id="method.read_datagram" class="method"><h4 class="code-header">pub fn <a href="#method.read_datagram" class="fn">read_datagram</a>(&amp;self) -&gt; ReadDatagram&lt;'_&gt;</h4></section></summary><div class="docblock"><p>Receives an application datagram.</p>
1818
</div></details><details class="toggle method-toggle" open><summary><section id="method.closed" class="method"><h4 class="code-header">pub async fn <a href="#method.closed" class="fn">closed</a>(&amp;self) -&gt; ConnectionError</h4></section></summary><div class="docblock"><p>Wait for the connection to be closed for any reason.</p>
1919
<p>Despite the return type’s name, closed connections are often not an error condition
@@ -63,13 +63,13 @@ <h5 id="gracefully-closing-a-connection"><a class="doc-anchor" href="#gracefully
6363
<p>Guaranteed to return <code>Some</code> on fully established connections or after
6464
[<code>Connecting::handshake_data()</code>] succeeds. See that method’s documentations for
6565
details on the returned value.</p>
66-
</div></details><details class="toggle method-toggle" open><summary><section id="method.alpn" class="method"><h4 class="code-header">pub fn <a href="#method.alpn" class="fn">alpn</a>(&amp;self) -&gt; <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="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>Extracts the ALPN protocol from the peer’s handshake data.</p>
66+
</div></details><details class="toggle method-toggle" open><summary><section id="method.alpn" class="method"><h4 class="code-header">pub fn <a href="#method.alpn" class="fn">alpn</a>(&amp;self) -&gt; &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>] <a href="#" class="tooltip" data-notable-ty="&amp;[u8]"></a></h4></section></summary><div class="docblock"><p>Extracts the ALPN protocol from the peer’s handshake data.</p>
6767
</div></details><details class="toggle method-toggle" open><summary><section id="method.peer_identity" class="method"><h4 class="code-header">pub fn <a href="#method.peer_identity" class="fn">peer_identity</a>(&amp;self) -&gt; <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="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>&gt;&gt;</h4></section></summary><div class="docblock"><p>Cryptographic identity of the peer.</p>
6868
<p>The dynamic type returned is determined by the configured <a href="quinn_proto::crypto::Session"><code>Session</code></a>. For the
6969
default <code>rustls</code> session, the return value can be <a href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html#method.downcast" title="method alloc::boxed::Box::downcast"><code>downcast</code></a> to a
7070
<code>Vec&lt;[rustls::pki_types::CertificateDer]&gt;</code></p>
71-
</div></details><details class="toggle method-toggle" open><summary><section id="method.remote_id" class="method"><h4 class="code-header">pub fn <a href="#method.remote_id" class="fn">remote_id</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;PublicKey, RemoteEndpointIdError&gt;</h4></section></summary><div class="docblock"><p>Returns the [<code>EndpointId</code>] from the peer’s TLS certificate.</p>
72-
<p>The <a href="iroh_base::PublicKey"><code>PublicKey</code></a> of an endpoint is also known as a [<code>EndpointId</code>]. This <a href="iroh_base::PublicKey"><code>PublicKey</code></a> is
71+
</div></details><details class="toggle method-toggle" open><summary><section id="method.remote_id" class="method"><h4 class="code-header">pub fn <a href="#method.remote_id" class="fn">remote_id</a>(&amp;self) -&gt; PublicKey</h4></section></summary><div class="docblock"><p>Returns the [<code>EndpointId</code>] from the peer’s TLS certificate.</p>
72+
<p>The <a href="iroh_base::PublicKey"><code>PublicKey</code></a> of an endpoint is also known as an [<code>EndpointId</code>]. This <a href="iroh_base::PublicKey"><code>PublicKey</code></a> is
7373
included in the TLS certificate presented during the handshake when connecting.
7474
This function allows you to get the [<code>EndpointId</code>] of the remote endpoint of this
7575
connection.</p>
@@ -120,4 +120,4 @@ <h5 id="gracefully-closing-a-connection"><a class="doc-anchor" href="#gracefully
120120
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="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
121121
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -&gt; WithDispatch&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
122122
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><section id="impl-ErasedDestructor-for-T" class="impl"><a href="#impl-ErasedDestructor-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; ErasedDestructor for T<div class="where">where
123-
T: 'static,</div></h3></section></div></section></div></main></body></html>
123+
T: 'static,</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>

pr/187/docs/search.index/03085b583bcb.js renamed to pr/187/docs/search.index/005ef086bbda.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rn_("AQQAOjAAAAEAAAAAAAkAEAAAAOwT7RMBFAIUBRQGFAkUChQNFA4UAQQA868TAAABAAEA8wIBZfQoEgAAAQABAAEA8wACZW8A")
1+
rn_("AQQAOjAAAAEAAAAAAAkAEAAAAOwT7RMBFAIUBRQGFAkUChQNFA4UAQQA868TAAABAAEA8wIBZfQpEgAAAQABAAEA8wACZW8A")

pr/187/docs/search.index/0186ada37064.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

pr/187/docs/search.index/01fe60128eec.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

pr/187/docs/search.index/0222bb8e6fb4.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

pr/187/docs/search.index/025310d6b6d6.js

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

pr/187/docs/search.index/0280a77b53be.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)