mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 08:01:44 +00:00
deploy: 7c53b11675770ab3836be21f1b53476b84263c76
This commit is contained in:
@@ -43,7 +43,7 @@ an error.</p>
|
||||
&self,
|
||||
node_id: <a class="struct" href="../key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>,
|
||||
alpn: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.Connection.html" title="struct iroh::net::endpoint::Connection">Connection</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.27.0: Please use <code>connect</code> directly with a <code>NodeAddr</code> or <code>NodeId</code></span></div></span></summary><div class="docblock"><p>Connects to a remote endpoint, using just the nodes’s <a href="../type.NodeId.html" title="type iroh::net::NodeId"><code>NodeId</code></a>.</p>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.Connection.html" title="struct iroh::net::endpoint::Connection">Connection</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.27.0: Please use <code>connect</code> directly with a NodeId. This fn will be removed in 0.28.0.</span></div></span></summary><div class="docblock"><p>Connects to a remote endpoint, using just the nodes’s <a href="../type.NodeId.html" title="type iroh::net::NodeId"><code>NodeId</code></a>.</p>
|
||||
<p>This is a convenience function for <a href="../struct.Endpoint.html#method.connect" title="method iroh::net::Endpoint::connect"><code>Endpoint::connect</code></a>. It relies on addressing
|
||||
information being provided by either the discovery service or using
|
||||
<a href="../struct.Endpoint.html#method.add_node_addr" title="method iroh::net::Endpoint::add_node_addr"><code>Endpoint::add_node_addr</code></a>. See <a href="../struct.Endpoint.html#method.connect" title="method iroh::net::Endpoint::connect"><code>Endpoint::connect</code></a> for the details of how it
|
||||
|
||||
@@ -43,7 +43,7 @@ an error.</p>
|
||||
&self,
|
||||
node_id: <a class="struct" href="key/struct.PublicKey.html" title="struct iroh::net::key::PublicKey">PublicKey</a>,
|
||||
alpn: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="endpoint/struct.Connection.html" title="struct iroh::net::endpoint::Connection">Connection</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.27.0: Please use <code>connect</code> directly with a <code>NodeAddr</code> or <code>NodeId</code></span></div></span></summary><div class="docblock"><p>Connects to a remote endpoint, using just the nodes’s <a href="type.NodeId.html" title="type iroh::net::NodeId"><code>NodeId</code></a>.</p>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="endpoint/struct.Connection.html" title="struct iroh::net::endpoint::Connection">Connection</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.27.0: Please use <code>connect</code> directly with a NodeId. This fn will be removed in 0.28.0.</span></div></span></summary><div class="docblock"><p>Connects to a remote endpoint, using just the nodes’s <a href="type.NodeId.html" title="type iroh::net::NodeId"><code>NodeId</code></a>.</p>
|
||||
<p>This is a convenience function for <a href="struct.Endpoint.html#method.connect" title="method iroh::net::Endpoint::connect"><code>Endpoint::connect</code></a>. It relies on addressing
|
||||
information being provided by either the discovery service or using
|
||||
<a href="struct.Endpoint.html#method.add_node_addr" title="method iroh::net::Endpoint::add_node_addr"><code>Endpoint::add_node_addr</code></a>. See <a href="struct.Endpoint.html#method.connect" title="method iroh::net::Endpoint::connect"><code>Endpoint::connect</code></a> for the details of how it
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -43,7 +43,7 @@ an error.</p>
|
||||
&self,
|
||||
node_id: <a class="type" href="../type.NodeId.html" title="type iroh_net::NodeId">NodeId</a>,
|
||||
alpn: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]
|
||||
) -> <a class="type" href="https://docs.rs/anyhow/1.0.85/anyhow/type.Result.html" title="type anyhow::Result">Result</a><<a class="struct" href="struct.Connection.html" title="struct iroh_net::endpoint::Connection">Connection</a>></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.27.0: Please use <code>connect</code> directly with a <code>NodeAddr</code> or <code>NodeId</code></span></div></span></summary><div class="docblock"><p>Connects to a remote endpoint, using just the nodes’s <a href="../type.NodeId.html" title="type iroh_net::NodeId"><code>NodeId</code></a>.</p>
|
||||
) -> <a class="type" href="https://docs.rs/anyhow/1.0.85/anyhow/type.Result.html" title="type anyhow::Result">Result</a><<a class="struct" href="struct.Connection.html" title="struct iroh_net::endpoint::Connection">Connection</a>></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.27.0: Please use <code>connect</code> directly with a NodeId. This fn will be removed in 0.28.0.</span></div></span></summary><div class="docblock"><p>Connects to a remote endpoint, using just the nodes’s <a href="../type.NodeId.html" title="type iroh_net::NodeId"><code>NodeId</code></a>.</p>
|
||||
<p>This is a convenience function for <a href="struct.Endpoint.html#method.connect" title="method iroh_net::endpoint::Endpoint::connect"><code>Endpoint::connect</code></a>. It relies on addressing
|
||||
information being provided by either the discovery service or using
|
||||
<a href="struct.Endpoint.html#method.add_node_addr" title="method iroh_net::endpoint::Endpoint::add_node_addr"><code>Endpoint::add_node_addr</code></a>. See <a href="struct.Endpoint.html#method.connect" title="method iroh_net::endpoint::Endpoint::connect"><code>Endpoint::connect</code></a> for the details of how it
|
||||
|
||||
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
File diff suppressed because one or more lines are too long
@@ -2263,7 +2263,7 @@
|
||||
/// uses the discovery service to establish a connection to a remote node.
|
||||
</span><span class="attr">#[deprecated(
|
||||
since = <span class="string">"0.27.0"</span>,
|
||||
note = <span class="string">"Please use `connect` directly with a `NodeAddr` or `NodeId`"
|
||||
note = <span class="string">"Please use `connect` directly with a NodeId. This fn will be removed in 0.28.0."
|
||||
</span>)]
|
||||
</span><span class="kw">pub async fn </span>connect_by_node_id(
|
||||
<span class="kw-2">&</span><span class="self">self</span>,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"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_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>"]],
|
||||
"iroh_net":[["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_net/metrics/struct.MagicsockMetrics.html\" title=\"struct iroh_net::metrics::MagicsockMetrics\">Metrics</a>"],["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_net/netcheck/struct.Metrics.html\" title=\"struct iroh_net::netcheck::Metrics\">Metrics</a>"],["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_net/portmapper/struct.Metrics.html\" title=\"struct iroh_net::portmapper::Metrics\">Metrics</a>"],["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_net/relay/server/struct.Metrics.html\" title=\"struct iroh_net::relay::server::Metrics\">Metrics</a>"]],
|
||||
"iroh_relay":[["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_relay/metrics/struct.StunMetrics.html\" title=\"struct iroh_relay::metrics::StunMetrics\">StunMetrics</a>"]]
|
||||
"iroh_gossip":[["impl Metric for <a class=\"struct\" href=\"iroh_gossip/metrics/struct.Metrics.html\" title=\"struct iroh_gossip::metrics::Metrics\">Metrics</a>"]],
|
||||
"iroh_net":[["impl Metric for <a class=\"struct\" href=\"iroh_net/metrics/struct.MagicsockMetrics.html\" title=\"struct iroh_net::metrics::MagicsockMetrics\">Metrics</a>"],["impl Metric for <a class=\"struct\" href=\"iroh_net/netcheck/struct.Metrics.html\" title=\"struct iroh_net::netcheck::Metrics\">Metrics</a>"],["impl Metric for <a class=\"struct\" href=\"iroh_net/portmapper/struct.Metrics.html\" title=\"struct iroh_net::portmapper::Metrics\">Metrics</a>"],["impl Metric for <a class=\"struct\" href=\"iroh_net/relay/server/struct.Metrics.html\" title=\"struct iroh_net::relay::server::Metrics\">Metrics</a>"]],
|
||||
"iroh_relay":[["impl Metric for <a class=\"struct\" href=\"iroh_relay/metrics/struct.StunMetrics.html\" title=\"struct iroh_relay::metrics::StunMetrics\">StunMetrics</a>"]]
|
||||
};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
||||
Reference in New Issue
Block a user