deploy: d55933b31b334df94e00bf094893b6ce473e4256

This commit is contained in:
rklaehn
2024-10-17 08:07:00 +00:00
parent 54a231e86f
commit a1b80c11ec
9 changed files with 25 additions and 25 deletions
@@ -26,7 +26,7 @@ for more details.</p>
<p>When using <a href="../relay/enum.RelayMode.html#variant.Custom" title="variant iroh::net::relay::RelayMode::Custom">RelayMode::Custom</a>, the provided <code>relay_map</code> must contain at least one
configured relay node. If an invalid RelayMap is provided <a href="struct.Builder.html#method.bind" title="method iroh::net::endpoint::Builder::bind"><code>bind</code></a>
will result in an error.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.clear_discovery" class="method"><a class="src rightside" href="../../../src/iroh_net/endpoint.rs.html#227">source</a><h4 class="code-header">pub fn <a href="#method.clear_discovery" class="fn">clear_discovery</a>(self) -&gt; <a class="struct" href="struct.Builder.html" title="struct iroh::net::endpoint::Builder">Builder</a></h4></section></summary><div class="docblock"><p>Remove all discovery services.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.clear_discovery" class="method"><a class="src rightside" href="../../../src/iroh_net/endpoint.rs.html#227">source</a><h4 class="code-header">pub fn <a href="#method.clear_discovery" class="fn">clear_discovery</a>(self) -&gt; <a class="struct" href="struct.Builder.html" title="struct iroh::net::endpoint::Builder">Builder</a></h4></section></summary><div class="docblock"><p>Removes all discovery services from the builder.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.discovery" class="method"><a class="src rightside" href="../../../src/iroh_net/endpoint.rs.html#241">source</a><h4 class="code-header">pub fn <a href="#method.discovery" class="fn">discovery</a>(self, discovery: <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="../discovery/trait.Discovery.html" title="trait iroh::net::discovery::Discovery">Discovery</a>&gt;) -&gt; <a class="struct" href="struct.Builder.html" title="struct iroh::net::endpoint::Builder">Builder</a></h4></section></summary><div class="docblock"><p>Optionally sets a discovery mechanism for this endpoint.</p>
<p>If you want to combine multiple discovery services, you can pass a
<a href="../discovery/struct.ConcurrentDiscovery.html" title="struct iroh::net::discovery::ConcurrentDiscovery"><code>crate::discovery::ConcurrentDiscovery</code></a>.</p>
@@ -36,7 +36,7 @@ direct addresses or relay URLs will fail.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.add_discovery" class="method"><a class="src rightside" href="../../../src/iroh_net/endpoint.rs.html#256-259">source</a><h4 class="code-header">pub fn <a href="#method.add_discovery" class="fn">add_discovery</a>&lt;F, D&gt;(self, discovery: F) -&gt; <a class="struct" href="struct.Builder.html" title="struct iroh::net::endpoint::Builder">Builder</a><div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;<a class="struct" href="../key/struct.SecretKey.html" title="struct iroh::net::key::SecretKey">SecretKey</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;D&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,
D: <a class="trait" href="../discovery/trait.Discovery.html" title="trait iroh::net::discovery::Discovery">Discovery</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Adds a discovery mechanism for this endpoint.</p>
<p>If you have multiple discovery services, they will be combined using a
<p>If you have multiple discovery services, they will be combined using
<a href="../discovery/struct.ConcurrentDiscovery.html" title="struct iroh::net::discovery::ConcurrentDiscovery"><code>crate::discovery::ConcurrentDiscovery</code></a>.</p>
<p>If no discovery service is set, connecting to a node without providing its
direct addresses or relay URLs will fail.</p>
File diff suppressed because one or more lines are too long
@@ -26,7 +26,7 @@ for more details.</p>
<p>When using <a href="../relay/enum.RelayMode.html#variant.Custom" title="variant iroh_net::relay::RelayMode::Custom">RelayMode::Custom</a>, the provided <code>relay_map</code> must contain at least one
configured relay node. If an invalid RelayMap is provided <a href="struct.Builder.html#method.bind" title="method iroh_net::endpoint::Builder::bind"><code>bind</code></a>
will result in an error.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.clear_discovery" class="method"><a class="src rightside" href="../../src/iroh_net/endpoint.rs.html#227-230">source</a><h4 class="code-header">pub fn <a href="#method.clear_discovery" class="fn">clear_discovery</a>(self) -&gt; Self</h4></section></summary><div class="docblock"><p>Remove all discovery services.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.clear_discovery" class="method"><a class="src rightside" href="../../src/iroh_net/endpoint.rs.html#227-230">source</a><h4 class="code-header">pub fn <a href="#method.clear_discovery" class="fn">clear_discovery</a>(self) -&gt; Self</h4></section></summary><div class="docblock"><p>Removes all discovery services from the builder.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.discovery" class="method"><a class="src rightside" href="../../src/iroh_net/endpoint.rs.html#241-245">source</a><h4 class="code-header">pub fn <a href="#method.discovery" class="fn">discovery</a>(self, discovery: <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="../discovery/trait.Discovery.html" title="trait iroh_net::discovery::Discovery">Discovery</a>&gt;) -&gt; Self</h4></section></summary><div class="docblock"><p>Optionally sets a discovery mechanism for this endpoint.</p>
<p>If you want to combine multiple discovery services, you can pass a
<a href="../discovery/struct.ConcurrentDiscovery.html" title="struct iroh_net::discovery::ConcurrentDiscovery"><code>crate::discovery::ConcurrentDiscovery</code></a>.</p>
@@ -36,7 +36,7 @@ direct addresses or relay URLs will fail.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.add_discovery" class="method"><a class="src rightside" href="../../src/iroh_net/endpoint.rs.html#256-265">source</a><h4 class="code-header">pub fn <a href="#method.add_discovery" class="fn">add_discovery</a>&lt;F, D&gt;(self, discovery: F) -&gt; Self<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;<a class="struct" href="../key/struct.SecretKey.html" title="struct iroh_net::key::SecretKey">SecretKey</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;D&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,
D: <a class="trait" href="../discovery/trait.Discovery.html" title="trait iroh_net::discovery::Discovery">Discovery</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Adds a discovery mechanism for this endpoint.</p>
<p>If you have multiple discovery services, they will be combined using a
<p>If you have multiple discovery services, they will be combined using
<a href="../discovery/struct.ConcurrentDiscovery.html" title="struct iroh_net::discovery::ConcurrentDiscovery"><code>crate::discovery::ConcurrentDiscovery</code></a>.</p>
<p>If no discovery service is set, connecting to a node without providing its
direct addresses or relay URLs will fail.</p>
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
+2 -2
View File
@@ -2055,7 +2055,7 @@
<span class="self">self
</span>}
<span class="doccomment">/// Remove all discovery services.
<span class="doccomment">/// Removes all discovery services from the builder.
</span><span class="kw">pub fn </span>clear_discovery(<span class="kw-2">mut </span><span class="self">self</span>) -&gt; <span class="self">Self </span>{
<span class="self">self</span>.discovery.clear();
<span class="self">self
@@ -2078,7 +2078,7 @@
<span class="doccomment">/// Adds a discovery mechanism for this endpoint.
///
/// If you have multiple discovery services, they will be combined using a
/// If you have multiple discovery services, they will be combined using
/// [`crate::discovery::ConcurrentDiscovery`].
///
/// If no discovery service is set, connecting to a node without providing its
@@ -1,6 +1,6 @@
(function() {var implementors = {
"iroh":[["impl <a class=\"trait\" href=\"iroh_metrics/core/trait.Metric.html\" title=\"trait iroh_metrics::core::Metric\">Metric</a> for <a class=\"struct\" href=\"iroh/metrics/struct.Metrics.html\" title=\"struct iroh::metrics::Metrics\">Metrics</a>"]],
"iroh_blobs":[["impl <a class=\"trait\" href=\"iroh_metrics/core/trait.Metric.html\" title=\"trait iroh_metrics::core::Metric\">Metric</a> for <a class=\"struct\" href=\"iroh_blobs/metrics/struct.Metrics.html\" title=\"struct iroh_blobs::metrics::Metrics\">Metrics</a>"]],
"iroh_blobs":[["impl Metric for <a class=\"struct\" href=\"iroh_blobs/metrics/struct.Metrics.html\" title=\"struct iroh_blobs::metrics::Metrics\">Metrics</a>"]],
"iroh_dns_server":[["impl Metric for <a class=\"struct\" href=\"iroh_dns_server/metrics/struct.Metrics.html\" title=\"struct iroh_dns_server::metrics::Metrics\">Metrics</a>"]],
"iroh_docs":[["impl <a class=\"trait\" href=\"iroh_metrics/core/trait.Metric.html\" title=\"trait iroh_metrics::core::Metric\">Metric</a> for <a class=\"struct\" href=\"iroh_docs/metrics/struct.Metrics.html\" title=\"struct iroh_docs::metrics::Metrics\">Metrics</a>"]],
"iroh_gossip":[["impl <a class=\"trait\" href=\"iroh_metrics/core/trait.Metric.html\" title=\"trait iroh_metrics::core::Metric\">Metric</a> for <a class=\"struct\" href=\"iroh_gossip/metrics/struct.Metrics.html\" title=\"struct iroh_gossip::metrics::Metrics\">Metrics</a>"]],