deploy: fe0f11b9728ddf15bf9d66a896d4654c022ce550

This commit is contained in:
rklaehn
2026-04-09 13:28:33 +00:00
parent 7bf9046d99
commit 690ab31a51
691 changed files with 2299 additions and 2338 deletions
@@ -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="DNS endpoint discovery for iroh"><title>iroh::address_lookup::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module dns</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh::<wbr>address_<wbr>lookup</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</a>::<wbr><a href="../index.html">address_lookup</a></div><h1>Module <span>dns</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/address_lookup/dns.rs.html#1-140">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DNS endpoint discovery for iroh</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.DnsAddressLookup.html" title="struct iroh::address_lookup::dns::DnsAddressLookup">DnsAddress<wbr>Lookup</a></dt><dd>DNS endpoint discovery</dd><dt><a class="struct" href="struct.DnsAddressLookupBuilder.html" title="struct iroh::address_lookup::dns::DnsAddressLookupBuilder">DnsAddress<wbr>Lookup<wbr>Builder</a></dt><dd>Builder for <a href="struct.DnsAddressLookup.html" title="struct iroh::address_lookup::dns::DnsAddressLookup"><code>DnsAddressLookup</code></a>.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh::address_lookup::dns::N0_DNS_ENDPOINT_ORIGIN_PROD">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>PROD</a></dt><dd>The n0 address lookup DNS origin, for production.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh::address_lookup::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>STAGING</a></dt><dd>The n0 address lookup DNS origin, for testing.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.DnsResolverExt.html" title="trait iroh::address_lookup::dns::DnsResolverExt">DnsResolver<wbr>Ext</a></dt><dd>Extension trait adding iroh endpoint lookup methods to <a href="../../dns/struct.DnsResolver.html" title="struct iroh::dns::DnsResolver"><code>DnsResolver</code></a>.</dd></dl></section></div></main></body></html>
<!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="DNS endpoint discovery for iroh"><title>iroh::address_lookup::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module dns</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="#constants" title="Constants">Constants</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh::<wbr>address_<wbr>lookup</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</a>::<wbr><a href="../index.html">address_lookup</a></div><h1>Module <span>dns</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/address_lookup/dns.rs.html#1-138">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DNS endpoint discovery for iroh</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.DnsAddressLookup.html" title="struct iroh::address_lookup::dns::DnsAddressLookup">DnsAddress<wbr>Lookup</a></dt><dd>DNS endpoint discovery</dd><dt><a class="struct" href="struct.DnsAddressLookupBuilder.html" title="struct iroh::address_lookup::dns::DnsAddressLookupBuilder">DnsAddress<wbr>Lookup<wbr>Builder</a></dt><dd>Builder for <a href="struct.DnsAddressLookup.html" title="struct iroh::address_lookup::dns::DnsAddressLookup"><code>DnsAddressLookup</code></a>.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh::address_lookup::dns::N0_DNS_ENDPOINT_ORIGIN_PROD">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>PROD</a></dt><dd>The n0 address lookup DNS origin, for production.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh::address_lookup::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>STAGING</a></dt><dd>The n0 address lookup DNS origin, for testing.</dd></dl></section></div></main></body></html>
@@ -1 +1 @@
window.SIDEBAR_ITEMS = {"constant":["N0_DNS_ENDPOINT_ORIGIN_PROD","N0_DNS_ENDPOINT_ORIGIN_STAGING"],"struct":["DnsAddressLookup","DnsAddressLookupBuilder"],"trait":["DnsResolverExt"]};
window.SIDEBAR_ITEMS = {"constant":["N0_DNS_ENDPOINT_ORIGIN_PROD","N0_DNS_ENDPOINT_ORIGIN_STAGING"],"struct":["DnsAddressLookup","DnsAddressLookupBuilder"]};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,46 +0,0 @@
<!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="Extension trait adding iroh endpoint lookup methods to `DnsResolver`."><title>DnsResolverExt in iroh::address_lookup::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 trait"><!--[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="#">DnsResolverExt</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">DnsResolver<wbr>Ext</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.lookup_endpoint_by_domain_name" title="lookup_endpoint_by_domain_name">lookup_endpoint_by_domain_name</a></li><li><a href="#tymethod.lookup_endpoint_by_domain_name_staggered" title="lookup_endpoint_by_domain_name_staggered">lookup_endpoint_by_domain_name_staggered</a></li><li><a href="#tymethod.lookup_endpoint_by_id" title="lookup_endpoint_by_id">lookup_endpoint_by_id</a></li><li><a href="#tymethod.lookup_endpoint_by_id_staggered" title="lookup_endpoint_by_id_staggered">lookup_endpoint_by_id_staggered</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>address_<wbr>lookup::<wbr>dns</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</a>::<wbr><a href="../index.html">address_lookup</a>::<wbr><a href="index.html">dns</a></div><h1>Trait <span class="trait">DnsResolver<wbr>Ext</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_relay/dns.rs.html#14">Source</a> </span></div><pre class="rust item-decl"><code>pub trait DnsResolverExt {
// Required methods
fn <a href="#tymethod.lookup_endpoint_by_id" class="fn">lookup_endpoint_by_id</a>(
&amp;self,
endpoint_id: &amp;<a class="struct" href="../../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="enum" href="../../dns/enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.lookup_endpoint_by_domain_name" class="fn">lookup_endpoint_by_domain_name</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="enum" href="../../dns/enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.lookup_endpoint_by_domain_name_staggered" class="fn">lookup_endpoint_by_domain_name_staggered</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="struct" href="../../dns/struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="../../dns/enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.lookup_endpoint_by_id_staggered" class="fn">lookup_endpoint_by_id_staggered</a>(
&amp;self,
endpoint_id: &amp;<a class="struct" href="../../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="struct" href="../../dns/struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="../../dns/enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Extension trait adding iroh endpoint lookup methods to <a href="../../dns/struct.DnsResolver.html" title="struct iroh::dns::DnsResolver"><code>DnsResolver</code></a>.</p>
</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.lookup_endpoint_by_id" class="method"><a class="src rightside" href="../../../src/iroh_relay/dns.rs.html#19-23">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_id" class="fn">lookup_endpoint_by_id</a>(
&amp;self,
endpoint_id: &amp;<a class="struct" href="../../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="enum" href="../../dns/enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&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>Looks up endpoint info by <a href="../../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> and origin domain name.</p>
<p>To lookup endpoints that published their endpoint info to the DNS servers run by n0,
pass <a href="../../dns/constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh::dns::N0_DNS_ENDPOINT_ORIGIN_PROD"><code>N0_DNS_ENDPOINT_ORIGIN_PROD</code></a> as <code>origin</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.lookup_endpoint_by_domain_name" class="method"><a class="src rightside" href="../../../src/iroh_relay/dns.rs.html#26-29">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_domain_name" class="fn">lookup_endpoint_by_domain_name</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="enum" href="../../dns/enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&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>Looks up endpoint info by DNS name.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.lookup_endpoint_by_domain_name_staggered" class="method"><a class="src rightside" href="../../../src/iroh_relay/dns.rs.html#32-36">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_domain_name_staggered" class="fn">lookup_endpoint_by_domain_name_staggered</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="struct" href="../../dns/struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="../../dns/enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&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>Looks up endpoint info by DNS name in a staggered fashion.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.lookup_endpoint_by_id_staggered" class="method"><a class="src rightside" href="../../../src/iroh_relay/dns.rs.html#39-44">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_id_staggered" class="fn">lookup_endpoint_by_id_staggered</a>(
&amp;self,
endpoint_id: &amp;<a class="struct" href="../../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="struct" href="../../dns/struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="../../dns/enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&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>Looks up endpoint info by <a href="../../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> and origin domain name in a staggered fashion.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-DnsResolverExt-for-DnsResolver" class="impl"><a class="src rightside" href="../../../src/iroh_relay/dns.rs.html#47">Source</a><a href="#impl-DnsResolverExt-for-DnsResolver" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../../dns/trait.DnsResolverExt.html" title="trait iroh::dns::DnsResolverExt">DnsResolverExt</a> for <a class="struct" href="../../dns/struct.DnsResolver.html" title="struct iroh::dns::DnsResolver">DnsResolver</a></h3></section></div><script src="../../../trait.impl/iroh_relay/dns/trait.DnsResolverExt.js" data-ignore-extern-crates="iroh_dns" 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
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
@@ -20,5 +20,5 @@ endpoint to <a href="trait.AddressLookupBuilder.html#tymethod.into_address_looku
endpoint: &amp;<a class="struct" href="../endpoint/struct.Endpoint.html" title="struct iroh::endpoint::Endpoint">Endpoint</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;impl <a class="trait" href="trait.AddressLookup.html" title="trait iroh::address_lookup::AddressLookup">AddressLookup</a>, <a class="enum" href="enum.AddressLookupBuilderError.html" title="enum iroh::address_lookup::AddressLookupBuilderError">AddressLookupBuilderError</a>&gt;</h4></section></summary><div class="docblock"><p>Turns this builder into a ready-to-use <a href="trait.AddressLookup.html" title="trait iroh::address_lookup::AddressLookup"><code>AddressLookup</code></a>.</p>
<p>If an error is returned, building the endpoint will fail with this error.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-AddressLookupBuilder-for-DnsAddressLookupBuilder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/dns.rs.html#105-115">Source</a><a href="#impl-AddressLookupBuilder-for-DnsAddressLookupBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="dns/struct.DnsAddressLookupBuilder.html" title="struct iroh::address_lookup::dns::DnsAddressLookupBuilder">DnsAddressLookupBuilder</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span></section><section id="impl-AddressLookupBuilder-for-MdnsAddressLookupBuilder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/mdns.rs.html#234-241">Source</a><a href="#impl-AddressLookupBuilder-for-MdnsAddressLookupBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="mdns/struct.MdnsAddressLookupBuilder.html" title="struct iroh::address_lookup::mdns::MdnsAddressLookupBuilder">MdnsAddressLookupBuilder</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>address-lookup-mdns</code></strong> only.</div></span></section><section id="impl-AddressLookupBuilder-for-Builder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/pkarr/dht.rs.html#234-241">Source</a><a href="#impl-AddressLookupBuilder-for-Builder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="pkarr/dht/struct.Builder.html" title="struct iroh::address_lookup::pkarr::dht::Builder">Builder</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>address-lookup-pkarr-dht</code></strong> only.</div></span></section><section id="impl-AddressLookupBuilder-for-PkarrPublisherBuilder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/pkarr.rs.html#245-257">Source</a><a href="#impl-AddressLookupBuilder-for-PkarrPublisherBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="pkarr/struct.PkarrPublisherBuilder.html" title="struct iroh::address_lookup::pkarr::PkarrPublisherBuilder">PkarrPublisherBuilder</a></h3></section><section id="impl-AddressLookupBuilder-for-PkarrResolverBuilder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/pkarr.rs.html#480-492">Source</a><a href="#impl-AddressLookupBuilder-for-PkarrResolverBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="pkarr/struct.PkarrResolverBuilder.html" title="struct iroh::address_lookup::pkarr::PkarrResolverBuilder">PkarrResolverBuilder</a></h3></section><section id="impl-AddressLookupBuilder-for-T" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup.rs.html#221-228">Source</a><a href="#impl-AddressLookupBuilder-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T: <a class="trait" href="trait.AddressLookup.html" title="trait iroh::address_lookup::AddressLookup">AddressLookup</a>&gt; <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for T</h3><div class="docblock"><p>Blanket no-op impl of <code>AddressLookupBuilder</code> for <code>T: AddressLookup</code>.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-AddressLookupBuilder-for-DnsAddressLookupBuilder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/dns.rs.html#103-113">Source</a><a href="#impl-AddressLookupBuilder-for-DnsAddressLookupBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="dns/struct.DnsAddressLookupBuilder.html" title="struct iroh::address_lookup::dns::DnsAddressLookupBuilder">DnsAddressLookupBuilder</a></h3><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span></section><section id="impl-AddressLookupBuilder-for-MdnsAddressLookupBuilder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/mdns.rs.html#234-241">Source</a><a href="#impl-AddressLookupBuilder-for-MdnsAddressLookupBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="mdns/struct.MdnsAddressLookupBuilder.html" title="struct iroh::address_lookup::mdns::MdnsAddressLookupBuilder">MdnsAddressLookupBuilder</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>address-lookup-mdns</code></strong> only.</div></span></section><section id="impl-AddressLookupBuilder-for-Builder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/pkarr/dht.rs.html#234-241">Source</a><a href="#impl-AddressLookupBuilder-for-Builder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="pkarr/dht/struct.Builder.html" title="struct iroh::address_lookup::pkarr::dht::Builder">Builder</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>address-lookup-pkarr-dht</code></strong> only.</div></span></section><section id="impl-AddressLookupBuilder-for-PkarrPublisherBuilder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/pkarr.rs.html#245-257">Source</a><a href="#impl-AddressLookupBuilder-for-PkarrPublisherBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="pkarr/struct.PkarrPublisherBuilder.html" title="struct iroh::address_lookup::pkarr::PkarrPublisherBuilder">PkarrPublisherBuilder</a></h3></section><section id="impl-AddressLookupBuilder-for-PkarrResolverBuilder" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup/pkarr.rs.html#480-492">Source</a><a href="#impl-AddressLookupBuilder-for-PkarrResolverBuilder" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for <a class="struct" href="pkarr/struct.PkarrResolverBuilder.html" title="struct iroh::address_lookup::pkarr::PkarrResolverBuilder">PkarrResolverBuilder</a></h3></section><section id="impl-AddressLookupBuilder-for-T" class="impl"><a class="src rightside" href="../../src/iroh/address_lookup.rs.html#221-228">Source</a><a href="#impl-AddressLookupBuilder-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T: <a class="trait" href="trait.AddressLookup.html" title="trait iroh::address_lookup::AddressLookup">AddressLookup</a>&gt; <a class="trait" href="trait.AddressLookupBuilder.html" title="trait iroh::address_lookup::AddressLookupBuilder">AddressLookupBuilder</a> for T</h3><div class="docblock"><p>Blanket no-op impl of <code>AddressLookupBuilder</code> for <code>T: AddressLookup</code>.</p>
</div></section></div><script src="../../trait.impl/iroh/address_lookup/trait.AddressLookupBuilder.js" async></script></section></div></main></body></html>
File diff suppressed because one or more lines are too long
@@ -1,10 +0,0 @@
<!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="Staggers calls to the future F with the given delays."><title>stagger_call in iroh::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 fn"><!--[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="#">stagger_call</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>dns</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</a>::<wbr><a href="index.html">dns</a></div><h1>Function <span class="fn">stagger_<wbr>call</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_dns/dns.rs.html#657-665">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn stagger_call&lt;T, E, F, Fut&gt;(
f: F,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, <a class="struct" href="struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">StaggeredError</a>&lt;E&gt;&gt;<div class="where">where
E: StackError + 'static,
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -&gt; Fut,
Fut: <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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, E&gt;&gt;,</div></code></pre><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Staggers calls to the future F with the given delays.</p>
<p>The first call is performed immediately. The first call to succeed generates an Ok result
ignoring any previous error. If all calls fail, an error summarizing all errors is returned.</p>
</div></details></section></div></main></body></html>
+3 -4
View File
@@ -1,4 +1,3 @@
<!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="DNS resolver and endpoint lookup."><title>iroh::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module dns</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh</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</a></div><h1>Module <span>dns</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_relay/lib.rs.html#49">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DNS resolver and endpoint lookup.</p>
<p>Re-exports the DNS resolver from <a href="../../iroh_dns/dns/index.html" title="mod iroh_dns::dns"><code>iroh_dns::dns</code></a> and adds iroh-specific
endpoint lookup methods via <a href="trait.DnsResolverExt.html" title="trait iroh::dns::DnsResolverExt"><code>DnsResolverExt</code></a>.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Builder.html" title="struct iroh::dns::Builder">Builder</a></dt><dd>Builder for <a href="struct.DnsResolver.html" title="struct iroh::dns::DnsResolver"><code>DnsResolver</code></a>.</dd><dt><a class="struct" href="struct.DnsResolver.html" title="struct iroh::dns::DnsResolver">DnsResolver</a></dt><dd>The DNS resolver used throughout <code>iroh</code>.</dd><dt><a class="struct" href="struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">Staggered<wbr>Error</a></dt><dd>Error returned when a staggered call fails.</dd><dt><a class="struct" href="struct.TxtRecordData.html" title="struct iroh::dns::TxtRecordData">TxtRecord<wbr>Data</a></dt><dd>Record data for a TXT record.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DnsError.html" title="enum iroh::dns::DnsError">DnsError</a></dt><dd>Potential errors related to DNS operations.</dd><dt><a class="enum" href="enum.DnsProtocol.html" title="enum iroh::dns::DnsProtocol">DnsProtocol</a></dt><dd>Protocols over which DNS records can be resolved.</dd><dt><a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">Lookup<wbr>Error</a></dt><dd>Potential errors related to DNS endpoint address lookups.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.DNS_TIMEOUT.html" title="constant iroh::dns::DNS_TIMEOUT">DNS_<wbr>TIMEOUT</a></dt><dd>Default DNS query timeout.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh::dns::N0_DNS_ENDPOINT_ORIGIN_PROD">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>PROD</a></dt><dd>The n0 address lookup DNS origin, for production.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>STAGING</a></dt><dd>The n0 address lookup DNS origin, for testing.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.DnsResolverExt.html" title="trait iroh::dns::DnsResolverExt">DnsResolver<wbr>Ext</a></dt><dd>Extension trait adding iroh endpoint lookup methods to <a href="struct.DnsResolver.html" title="struct iroh::dns::DnsResolver"><code>DnsResolver</code></a>.</dd><dt><a class="trait" href="trait.Resolver.html" title="trait iroh::dns::Resolver">Resolver</a></dt><dd>Trait for DNS resolvers used in iroh.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.stagger_call.html" title="fn iroh::dns::stagger_call">stagger_<wbr>call</a></dt><dd>Staggers calls to the future F with the given delays.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.BoxIter.html" title="type iroh::dns::BoxIter">BoxIter</a></dt><dd>Boxed iterator alias.</dd></dl></section></div></main></body></html>
<!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="DNS resolver and endpoint lookup."><title>iroh::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module dns</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh</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</a></div><h1>Module <span>dns</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_relay/lib.rs.html#49">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DNS resolver and endpoint lookup.</p>
<p>Re-exports from <a href="../../iroh_dns/dns/index.html" title="mod iroh_dns::dns"><code>iroh_dns::dns</code></a>.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Builder.html" title="struct iroh::dns::Builder">Builder</a></dt><dd>Builder for <a href="struct.DnsResolver.html" title="struct iroh::dns::DnsResolver"><code>DnsResolver</code></a>.</dd><dt><a class="struct" href="struct.DnsResolver.html" title="struct iroh::dns::DnsResolver">DnsResolver</a></dt><dd>The DNS resolver used throughout <code>iroh</code>.</dd><dt><a class="struct" href="struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">Staggered<wbr>Error</a></dt><dd>Error returned when a staggered call fails.</dd><dt><a class="struct" href="struct.TxtRecordData.html" title="struct iroh::dns::TxtRecordData">TxtRecord<wbr>Data</a></dt><dd>Record data for a TXT record.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DnsError.html" title="enum iroh::dns::DnsError">DnsError</a></dt><dd>Potential errors related to DNS operations.</dd><dt><a class="enum" href="enum.DnsProtocol.html" title="enum iroh::dns::DnsProtocol">DnsProtocol</a></dt><dd>Protocols over which DNS records can be resolved.</dd><dt><a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">Lookup<wbr>Error</a></dt><dd>Potential errors related to DNS endpoint address lookups.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.DNS_TIMEOUT.html" title="constant iroh::dns::DNS_TIMEOUT">DNS_<wbr>TIMEOUT</a></dt><dd>Default DNS query timeout.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh::dns::N0_DNS_ENDPOINT_ORIGIN_PROD">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>PROD</a></dt><dd>The n0 address lookup DNS origin, for production.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>STAGING</a></dt><dd>The n0 address lookup DNS origin, for testing.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Resolver.html" title="trait iroh::dns::Resolver">Resolver</a></dt><dd>Trait for DNS resolvers used in iroh.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.BoxIter.html" title="type iroh::dns::BoxIter">BoxIter</a></dt><dd>Boxed iterator alias.</dd></dl></section></div></main></body></html>
+1 -1
View File
@@ -1 +1 @@
window.SIDEBAR_ITEMS = {"constant":["DNS_TIMEOUT","N0_DNS_ENDPOINT_ORIGIN_PROD","N0_DNS_ENDPOINT_ORIGIN_STAGING"],"enum":["DnsError","DnsProtocol","LookupError"],"fn":["stagger_call"],"struct":["Builder","DnsResolver","StaggeredError","TxtRecordData"],"trait":["DnsResolverExt","Resolver"],"type":["BoxIter"]};
window.SIDEBAR_ITEMS = {"constant":["DNS_TIMEOUT","N0_DNS_ENDPOINT_ORIGIN_PROD","N0_DNS_ENDPOINT_ORIGIN_STAGING"],"enum":["DnsError","DnsProtocol","LookupError"],"struct":["Builder","DnsResolver","StaggeredError","TxtRecordData"],"trait":["Resolver"],"type":["BoxIter"]};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,46 +0,0 @@
<!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="Extension trait adding iroh endpoint lookup methods to `DnsResolver`."><title>DnsResolverExt in iroh::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 trait"><!--[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="#">DnsResolverExt</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">DnsResolver<wbr>Ext</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.lookup_endpoint_by_domain_name" title="lookup_endpoint_by_domain_name">lookup_endpoint_by_domain_name</a></li><li><a href="#tymethod.lookup_endpoint_by_domain_name_staggered" title="lookup_endpoint_by_domain_name_staggered">lookup_endpoint_by_domain_name_staggered</a></li><li><a href="#tymethod.lookup_endpoint_by_id" title="lookup_endpoint_by_id">lookup_endpoint_by_id</a></li><li><a href="#tymethod.lookup_endpoint_by_id_staggered" title="lookup_endpoint_by_id_staggered">lookup_endpoint_by_id_staggered</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>dns</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</a>::<wbr><a href="index.html">dns</a></div><h1>Trait <span class="trait">DnsResolver<wbr>Ext</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_relay/dns.rs.html#14">Source</a> </span></div><pre class="rust item-decl"><code>pub trait DnsResolverExt {
// Required methods
fn <a href="#tymethod.lookup_endpoint_by_id" class="fn">lookup_endpoint_by_id</a>(
&amp;self,
endpoint_id: &amp;<a class="struct" href="../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../address_lookup/struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.lookup_endpoint_by_domain_name" class="fn">lookup_endpoint_by_domain_name</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../address_lookup/struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.lookup_endpoint_by_domain_name_staggered" class="fn">lookup_endpoint_by_domain_name_staggered</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../address_lookup/struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="struct" href="struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.lookup_endpoint_by_id_staggered" class="fn">lookup_endpoint_by_id_staggered</a>(
&amp;self,
endpoint_id: &amp;<a class="struct" href="../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../address_lookup/struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="struct" href="struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Extension trait adding iroh endpoint lookup methods to <a href="struct.DnsResolver.html" title="struct iroh::dns::DnsResolver"><code>DnsResolver</code></a>.</p>
</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.lookup_endpoint_by_id" class="method"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#19-23">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_id" class="fn">lookup_endpoint_by_id</a>(
&amp;self,
endpoint_id: &amp;<a class="struct" href="../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../address_lookup/struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&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>Looks up endpoint info by <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> and origin domain name.</p>
<p>To lookup endpoints that published their endpoint info to the DNS servers run by n0,
pass <a href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh::dns::N0_DNS_ENDPOINT_ORIGIN_PROD"><code>N0_DNS_ENDPOINT_ORIGIN_PROD</code></a> as <code>origin</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.lookup_endpoint_by_domain_name" class="method"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#26-29">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_domain_name" class="fn">lookup_endpoint_by_domain_name</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../address_lookup/struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&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>Looks up endpoint info by DNS name.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.lookup_endpoint_by_domain_name_staggered" class="method"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#32-36">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_domain_name_staggered" class="fn">lookup_endpoint_by_domain_name_staggered</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../address_lookup/struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="struct" href="struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&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>Looks up endpoint info by DNS name in a staggered fashion.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.lookup_endpoint_by_id_staggered" class="method"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#39-44">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_id_staggered" class="fn">lookup_endpoint_by_id_staggered</a>(
&amp;self,
endpoint_id: &amp;<a class="struct" href="../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../address_lookup/struct.EndpointInfo.html" title="struct iroh::address_lookup::EndpointInfo">EndpointInfo</a>, <a class="struct" href="struct.StaggeredError.html" title="struct iroh::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="enum.LookupError.html" title="enum iroh::dns::LookupError">LookupError</a>&gt;&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>Looks up endpoint info by <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> and origin domain name in a staggered fashion.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-DnsResolverExt-for-DnsResolver" class="impl"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#47">Source</a><a href="#impl-DnsResolverExt-for-DnsResolver" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.DnsResolverExt.html" title="trait iroh::dns::DnsResolverExt">DnsResolverExt</a> for <a class="struct" href="struct.DnsResolver.html" title="struct iroh::dns::DnsResolver">DnsResolver</a></h3></section></div><script src="../../trait.impl/iroh_relay/dns/trait.DnsResolverExt.js" data-ignore-extern-crates="iroh_dns" async></script></section></div></main></body></html>
File diff suppressed because one or more lines are too long
+1 -32
View File
@@ -1,35 +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="Support for handling DNS resource records for dialing by `EndpointId`."><title>iroh::endpoint_info - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 endpoint_info</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module endpoint_<wbr>info</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh</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</a></div><h1>Module <span>endpoint_<wbr>info</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_relay/lib.rs.html#50">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Support for handling DNS resource records for dialing by <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a>.</p>
<p>Dialing by <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> is supported by iroh endpoints publishing <a href="https://app.pkarr.org">Pkarr</a> records to DNS
servers or the Mainline DHT. This module supports creating and parsing these records.</p>
<p>DNS records are published under the following names:</p>
<p><code>_iroh.&lt;z32-endpoint-id&gt;.&lt;origin-domain&gt; TXT</code></p>
<ul>
<li>
<p><code>_iroh</code> is the record name as defined by <a href="constant.IROH_TXT_NAME.html" title="constant iroh::endpoint_info::IROH_TXT_NAME"><code>IROH_TXT_NAME</code></a>.</p>
</li>
<li>
<p><code>&lt;z32-endpoint-id&gt;</code> is the <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding of the <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a>.</p>
</li>
<li>
<p><code>&lt;origin-domain&gt;</code> is the domain name of the publishing DNS server,
<a href="../dns/constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh::dns::N0_DNS_ENDPOINT_ORIGIN_PROD"><code>N0_DNS_ENDPOINT_ORIGIN_PROD</code></a> is the server operated by number0 for production.
<a href="../dns/constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING"><code>N0_DNS_ENDPOINT_ORIGIN_STAGING</code></a> is the server operated by number0 for testing.</p>
</li>
<li>
<p><code>TXT</code> is the DNS record type.</p>
</li>
</ul>
<p>The returned TXT records must contain a string value of the form <code>key=value</code> as defined
in <a href="https://www.rfc-editor.org/rfc/rfc1464">RFC1464</a>. The following attributes are defined:</p>
<ul>
<li>
<p><code>relay=&lt;url&gt;</code>: The home <a href="../struct.RelayUrl.html" title="struct iroh::RelayUrl"><code>RelayUrl</code></a> of this endpoint.</p>
</li>
<li>
<p><code>addr=&lt;addr&gt; &lt;addr&gt;</code>: A space-separated list of sockets addresses for this iroh endpoint.
Each address is an IPv4 or IPv6 address with a port.</p>
</li>
</ul>
<!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="Re-export of endpoint info types from `iroh_dns::endpoint_info`."><title>iroh::endpoint_info - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 endpoint_info</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module endpoint_<wbr>info</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh</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</a></div><h1>Module <span>endpoint_<wbr>info</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_relay/lib.rs.html#50">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Re-export of endpoint info types from <a href="../../iroh_dns/endpoint_info/index.html" title="mod iroh_dns::endpoint_info"><code>iroh_dns::endpoint_info</code></a>.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AddrFilter.html" title="struct iroh::endpoint_info::AddrFilter">Addr<wbr>Filter</a></dt><dd>A filter and/or reordering function applied to transport addresses,
typically used by AddressLookup services in iroh before publishing.</dd><dt><a class="struct" href="struct.EndpointData.html" title="struct iroh::endpoint_info::EndpointData">Endpoint<wbr>Data</a></dt><dd>Data about an endpoint that may be published to and resolved from discovery services.</dd><dt><a class="struct" href="struct.EndpointInfo.html" title="struct iroh::endpoint_info::EndpointInfo">Endpoint<wbr>Info</a></dt><dd>Information about an endpoint that may be published to and resolved from discovery services.</dd><dt><a class="struct" href="struct.MaxLengthExceededError.html" title="struct iroh::endpoint_info::MaxLengthExceededError">MaxLength<wbr>Exceeded<wbr>Error</a></dt><dd>Error returned when an input value is too long for <a href="../address_lookup/struct.UserData.html" title="struct iroh::address_lookup::UserData"><code>UserData</code></a>.</dd><dt><a class="struct" href="struct.UserData.html" title="struct iroh::endpoint_info::UserData">User<wbr>Data</a></dt><dd>Under the hood this is a UTF-8 String is no longer than <a href="../address_lookup/struct.UserData.html#associatedconstant.MAX_LENGTH" title="associated constant iroh::address_lookup::UserData::MAX_LENGTH"><code>UserData::MAX_LENGTH</code></a> bytes.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DecodingError.html" title="enum iroh::endpoint_info::DecodingError">Decoding<wbr>Error</a></dt><dt><a class="enum" href="enum.EncodingError.html" title="enum iroh::endpoint_info::EncodingError">Encoding<wbr>Error</a></dt><dt><a class="enum" href="enum.ParseError.html" title="enum iroh::endpoint_info::ParseError">Parse<wbr>Error</a></dt></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.IROH_TXT_NAME.html" title="constant iroh::endpoint_info::IROH_TXT_NAME">IROH_<wbr>TXT_<wbr>NAME</a></dt><dd>The DNS name for the iroh TXT record.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.EndpointIdExt.html" title="trait iroh::endpoint_info::EndpointIdExt">Endpoint<wbr>IdExt</a></dt><dd>Extension methods for <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> to encode to and decode from z-base-32,
which is the encoding used by <a href="https://pkarr.org">pkarr</a> domain names.</dd></dl></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
File diff suppressed because one or more lines are too long
@@ -1,9 +1,9 @@
<!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="Extension methods for `EndpointId` to encode to and decode from z-base-32, which is the encoding used by pkarr domain names."><title>EndpointIdExt in iroh::endpoint_info - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 trait"><!--[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="#">EndpointIdExt</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Endpoint<wbr>IdExt</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.from_z32" title="from_z32">from_z32</a></li><li><a href="#tymethod.to_z32" title="to_z32">to_z32</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint_<wbr>info</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</a>::<wbr><a href="index.html">endpoint_info</a></div><h1>Trait <span class="trait">Endpoint<wbr>IdExt</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_dns/lib.rs.html#40">Source</a> </span></div><pre class="rust item-decl"><code>pub trait EndpointIdExt {
<!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="Extension methods for `EndpointId` to encode to and decode from z-base-32, which is the encoding used by pkarr domain names."><title>EndpointIdExt in iroh::endpoint_info - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 trait"><!--[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="#">EndpointIdExt</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Endpoint<wbr>IdExt</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.from_z32" title="from_z32">from_z32</a></li><li><a href="#tymethod.to_z32" title="to_z32">to_z32</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint_<wbr>info</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</a>::<wbr><a href="index.html">endpoint_info</a></div><h1>Trait <span class="trait">Endpoint<wbr>IdExt</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_dns/lib.rs.html#41">Source</a> </span></div><pre class="rust item-decl"><code>pub trait EndpointIdExt {
// Required methods
fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh::endpoint_info::DecodingError">DecodingError</a>&gt;;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Extension methods for <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> to encode to and decode from z-base-32,
which is the encoding used by <a href="https://pkarr.org">pkarr</a> domain names.</p>
</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.to_z32" class="method"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#42">Source</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Encodes a <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> in <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.from_z32" class="method"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#45">Source</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh::endpoint_info::DecodingError">DecodingError</a>&gt;</h4></section></summary><div class="docblock"><p>Parses a <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> from <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-EndpointIdExt-for-PublicKey" class="impl"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#48">Source</a><a href="#impl-EndpointIdExt-for-PublicKey" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EndpointIdExt.html" title="trait iroh::endpoint_info::EndpointIdExt">EndpointIdExt</a> for <a class="struct" href="../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a></h3></section></div><script src="../../trait.impl/iroh_dns/trait.EndpointIdExt.js" data-ignore-extern-crates="iroh_base" async></script></section></div></main></body></html>
</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.to_z32" class="method"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#43">Source</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Encodes a <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> in <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.from_z32" class="method"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#46">Source</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh::endpoint_info::DecodingError">DecodingError</a>&gt;</h4></section></summary><div class="docblock"><p>Parses a <a href="../type.EndpointId.html" title="type iroh::EndpointId"><code>EndpointId</code></a> from <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-EndpointIdExt-for-PublicKey" class="impl"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#49">Source</a><a href="#impl-EndpointIdExt-for-PublicKey" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EndpointIdExt.html" title="trait iroh::endpoint_info::EndpointIdExt">EndpointIdExt</a> for <a class="struct" href="../struct.PublicKey.html" title="struct iroh::PublicKey">PublicKey</a></h3></section></div><script src="../../trait.impl/iroh_dns/trait.EndpointIdExt.js" data-ignore-extern-crates="iroh_base" 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
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
@@ -1,6 +1,6 @@
<!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="Support for handling DNS resource records for dialing by `EndpointId`."><title>iroh_dns::attrs - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 attrs</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module attrs</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="#constants" title="Constants">Constants</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>dns</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_dns</a></div><h1>Module <span>attrs</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_dns/attrs.rs.html#1-188">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Support for handling DNS resource records for dialing by <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</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="Support for handling DNS resource records for dialing by `EndpointId`."><title>iroh_dns::attrs - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 attrs</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module attrs</a></h2><h3><a href="#enums">Module Items</a></h3><ul class="block"><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#constants" title="Constants">Constants</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>dns</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_dns</a></div><h1>Module <span>attrs</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_dns/attrs.rs.html#1-188">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Support for handling DNS resource records for dialing by <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</p>
<p>DNS records are published under the following names:</p>
<p><code>_iroh.&lt;z32-endpoint-id&gt;.&lt;origin-domain&gt; TXT</code></p>
<p>The returned TXT records must contain a string value of the form <code>key=value</code> as defined
in <a href="https://www.rfc-editor.org/rfc/rfc1464">RFC1464</a>.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.TxtAttrs.html" title="struct iroh_dns::attrs::TxtAttrs">TxtAttrs</a></dt><dd>Attributes parsed from <a href="constant.IROH_TXT_NAME.html" title="constant iroh_dns::attrs::IROH_TXT_NAME"><code>IROH_TXT_NAME</code></a> TXT records.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.EncodingError.html" title="enum iroh_dns::attrs::EncodingError">Encoding<wbr>Error</a></dt><dt><a class="enum" href="enum.IrohAttr.html" title="enum iroh_dns::attrs::IrohAttr">Iroh<wbr>Attr</a></dt><dd>The attributes supported by iroh for <a href="constant.IROH_TXT_NAME.html" title="constant iroh_dns::attrs::IROH_TXT_NAME"><code>IROH_TXT_NAME</code></a> DNS resource records.</dd><dt><a class="enum" href="enum.ParseError.html" title="enum iroh_dns::attrs::ParseError">Parse<wbr>Error</a></dt></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.IROH_TXT_NAME.html" title="constant iroh_dns::attrs::IROH_TXT_NAME">IROH_<wbr>TXT_<wbr>NAME</a></dt><dd>The DNS name for the iroh TXT record.</dd></dl></section></div></main></body></html>
</div></details><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.EncodingError.html" title="enum iroh_dns::attrs::EncodingError">Encoding<wbr>Error</a></dt><dt><a class="enum" href="enum.ParseError.html" title="enum iroh_dns::attrs::ParseError">Parse<wbr>Error</a></dt></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.IROH_TXT_NAME.html" title="constant iroh_dns::attrs::IROH_TXT_NAME">IROH_<wbr>TXT_<wbr>NAME</a></dt><dd>The DNS name for the iroh TXT record.</dd></dl></section></div></main></body></html>
+1 -1
View File
@@ -1 +1 @@
window.SIDEBAR_ITEMS = {"constant":["IROH_TXT_NAME"],"enum":["EncodingError","IrohAttr","ParseError"],"struct":["TxtAttrs"]};
window.SIDEBAR_ITEMS = {"constant":["IROH_TXT_NAME"],"enum":["EncodingError","ParseError"]};
File diff suppressed because one or more lines are too long
@@ -1,7 +0,0 @@
<!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="Staggers calls to the future F with the given delays."><title>stagger_call in iroh_dns::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 fn"><!--[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="#">stagger_call</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>dns::<wbr>dns</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_dns</a>::<wbr><a href="index.html">dns</a></div><h1>Function <span class="fn">stagger_<wbr>call</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_dns/dns.rs.html#657-688">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn stagger_call&lt;T, E: StackError + 'static, F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -&gt; Fut, Fut: <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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, E&gt;&gt;&gt;(
f: F,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, <a class="struct" href="struct.StaggeredError.html" title="struct iroh_dns::dns::StaggeredError">StaggeredError</a>&lt;E&gt;&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Staggers calls to the future F with the given delays.</p>
<p>The first call is performed immediately. The first call to succeed generates an Ok result
ignoring any previous error. If all calls fail, an error summarizing all errors is returned.</p>
</div></details></section></div></main></body></html>
+2 -2
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="Configurable DNS resolver."><title>iroh_dns::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module dns</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>dns</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_dns</a></div><h1>Module <span>dns</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_dns/dns.rs.html#1-806">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Configurable DNS resolver.</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="Configurable DNS resolver."><title>iroh_dns::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module dns</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>dns</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_dns</a></div><h1>Module <span>dns</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_dns/dns.rs.html#1-858">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Configurable DNS resolver.</p>
<p>The main export is the <a href="struct.DnsResolver.html" title="struct iroh_dns::dns::DnsResolver"><code>DnsResolver</code></a> struct. It provides methods to resolve domain names
to IPv4 and IPv6 addresses, and to look up TXT records.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Builder.html" title="struct iroh_dns::dns::Builder">Builder</a></dt><dd>Builder for <a href="struct.DnsResolver.html" title="struct iroh_dns::dns::DnsResolver"><code>DnsResolver</code></a>.</dd><dt><a class="struct" href="struct.DnsResolver.html" title="struct iroh_dns::dns::DnsResolver">DnsResolver</a></dt><dd>The DNS resolver used throughout <code>iroh</code>.</dd><dt><a class="struct" href="struct.StaggeredError.html" title="struct iroh_dns::dns::StaggeredError">Staggered<wbr>Error</a></dt><dd>Error returned when a staggered call fails.</dd><dt><a class="struct" href="struct.TxtRecordData.html" title="struct iroh_dns::dns::TxtRecordData">TxtRecord<wbr>Data</a></dt><dd>Record data for a TXT record.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DnsError.html" title="enum iroh_dns::dns::DnsError">DnsError</a></dt><dd>Potential errors related to DNS operations.</dd><dt><a class="enum" href="enum.DnsProtocol.html" title="enum iroh_dns::dns::DnsProtocol">DnsProtocol</a></dt><dd>Protocols over which DNS records can be resolved.</dd><dt><a class="enum" href="enum.LookupError.html" title="enum iroh_dns::dns::LookupError">Lookup<wbr>Error</a></dt><dd>Potential errors related to DNS endpoint address lookups.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.DNS_TIMEOUT.html" title="constant iroh_dns::dns::DNS_TIMEOUT">DNS_<wbr>TIMEOUT</a></dt><dd>Default DNS query timeout.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh_dns::dns::N0_DNS_ENDPOINT_ORIGIN_PROD">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>PROD</a></dt><dd>The n0 address lookup DNS origin, for production.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh_dns::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>STAGING</a></dt><dd>The n0 address lookup DNS origin, for testing.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Resolver.html" title="trait iroh_dns::dns::Resolver">Resolver</a></dt><dd>Trait for DNS resolvers used in iroh.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.stagger_call.html" title="fn iroh_dns::dns::stagger_call">stagger_<wbr>call</a></dt><dd>Staggers calls to the future F with the given delays.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.BoxIter.html" title="type iroh_dns::dns::BoxIter">BoxIter</a></dt><dd>Boxed iterator alias.</dd></dl></section></div></main></body></html>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Builder.html" title="struct iroh_dns::dns::Builder">Builder</a></dt><dd>Builder for <a href="struct.DnsResolver.html" title="struct iroh_dns::dns::DnsResolver"><code>DnsResolver</code></a>.</dd><dt><a class="struct" href="struct.DnsResolver.html" title="struct iroh_dns::dns::DnsResolver">DnsResolver</a></dt><dd>The DNS resolver used throughout <code>iroh</code>.</dd><dt><a class="struct" href="struct.StaggeredError.html" title="struct iroh_dns::dns::StaggeredError">Staggered<wbr>Error</a></dt><dd>Error returned when a staggered call fails.</dd><dt><a class="struct" href="struct.TxtRecordData.html" title="struct iroh_dns::dns::TxtRecordData">TxtRecord<wbr>Data</a></dt><dd>Record data for a TXT record.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DnsError.html" title="enum iroh_dns::dns::DnsError">DnsError</a></dt><dd>Potential errors related to DNS operations.</dd><dt><a class="enum" href="enum.DnsProtocol.html" title="enum iroh_dns::dns::DnsProtocol">DnsProtocol</a></dt><dd>Protocols over which DNS records can be resolved.</dd><dt><a class="enum" href="enum.LookupError.html" title="enum iroh_dns::dns::LookupError">Lookup<wbr>Error</a></dt><dd>Potential errors related to DNS endpoint address lookups.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.DNS_TIMEOUT.html" title="constant iroh_dns::dns::DNS_TIMEOUT">DNS_<wbr>TIMEOUT</a></dt><dd>Default DNS query timeout.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh_dns::dns::N0_DNS_ENDPOINT_ORIGIN_PROD">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>PROD</a></dt><dd>The n0 address lookup DNS origin, for production.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh_dns::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>STAGING</a></dt><dd>The n0 address lookup DNS origin, for testing.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Resolver.html" title="trait iroh_dns::dns::Resolver">Resolver</a></dt><dd>Trait for DNS resolvers used in iroh.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.BoxIter.html" title="type iroh_dns::dns::BoxIter">BoxIter</a></dt><dd>Boxed iterator alias.</dd></dl></section></div></main></body></html>
+1 -1
View File
@@ -1 +1 @@
window.SIDEBAR_ITEMS = {"constant":["DNS_TIMEOUT","N0_DNS_ENDPOINT_ORIGIN_PROD","N0_DNS_ENDPOINT_ORIGIN_STAGING"],"enum":["DnsError","DnsProtocol","LookupError"],"fn":["stagger_call"],"struct":["Builder","DnsResolver","StaggeredError","TxtRecordData"],"trait":["Resolver"],"type":["BoxIter"]};
window.SIDEBAR_ITEMS = {"constant":["DNS_TIMEOUT","N0_DNS_ENDPOINT_ORIGIN_PROD","N0_DNS_ENDPOINT_ORIGIN_STAGING"],"enum":["DnsError","DnsProtocol","LookupError"],"struct":["Builder","DnsResolver","StaggeredError","TxtRecordData"],"trait":["Resolver"],"type":["BoxIter"]};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,34 @@
<!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="Support for handling DNS resource records for dialing by `EndpointId`."><title>iroh_dns::endpoint_info - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 endpoint_info</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module endpoint_<wbr>info</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>dns</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_dns</a></div><h1>Module <span>endpoint_<wbr>info</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_dns/endpoint_info.rs.html#1-712">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Support for handling DNS resource records for dialing by <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</p>
<p>Dialing by <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> is supported by iroh endpoints publishing <a href="https://app.pkarr.org">Pkarr</a> records to DNS
servers or the Mainline DHT. This module supports creating and parsing these records.</p>
<p>DNS records are published under the following names:</p>
<p><code>_iroh.&lt;z32-endpoint-id&gt;.&lt;origin-domain&gt; TXT</code></p>
<ul>
<li>
<p><code>_iroh</code> is the record name as defined by [<code>IROH_TXT_NAME</code>].</p>
</li>
<li>
<p><code>&lt;z32-endpoint-id&gt;</code> is the <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding of the <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</p>
</li>
<li>
<p><code>&lt;origin-domain&gt;</code> is the domain name of the publishing DNS server,
<a href="../dns/constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh_dns::dns::N0_DNS_ENDPOINT_ORIGIN_PROD"><code>N0_DNS_ENDPOINT_ORIGIN_PROD</code></a> is the server operated by number0 for production.
<a href="../dns/constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh_dns::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING"><code>N0_DNS_ENDPOINT_ORIGIN_STAGING</code></a> is the server operated by number0 for testing.</p>
</li>
<li>
<p><code>TXT</code> is the DNS record type.</p>
</li>
</ul>
<p>The returned TXT records must contain a string value of the form <code>key=value</code> as defined
in <a href="https://www.rfc-editor.org/rfc/rfc1464">RFC1464</a>. The following attributes are defined:</p>
<ul>
<li>
<p><code>relay=&lt;url&gt;</code>: The home <a href="../../iroh_base/relay_url/struct.RelayUrl.html" title="struct iroh_base::relay_url::RelayUrl"><code>RelayUrl</code></a> of this endpoint.</p>
</li>
<li>
<p><code>addr=&lt;addr&gt; &lt;addr&gt;</code>: A space-separated list of sockets addresses for this iroh endpoint.
Each address is an IPv4 or IPv6 address with a port.</p>
</li>
</ul>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AddrFilter.html" title="struct iroh_dns::endpoint_info::AddrFilter">Addr<wbr>Filter</a></dt><dd>A filter and/or reordering function applied to transport addresses,
typically used by AddressLookup services in iroh before publishing.</dd><dt><a class="struct" href="struct.EndpointData.html" title="struct iroh_dns::endpoint_info::EndpointData">Endpoint<wbr>Data</a></dt><dd>Data about an endpoint that may be published to and resolved from discovery services.</dd><dt><a class="struct" href="struct.EndpointInfo.html" title="struct iroh_dns::endpoint_info::EndpointInfo">Endpoint<wbr>Info</a></dt><dd>Information about an endpoint that may be published to and resolved from discovery services.</dd><dt><a class="struct" href="struct.MaxLengthExceededError.html" title="struct iroh_dns::endpoint_info::MaxLengthExceededError">MaxLength<wbr>Exceeded<wbr>Error</a></dt><dd>Error returned when an input value is too long for <a href="struct.UserData.html" title="struct iroh_dns::endpoint_info::UserData"><code>UserData</code></a>.</dd><dt><a class="struct" href="struct.UserData.html" title="struct iroh_dns::endpoint_info::UserData">User<wbr>Data</a></dt><dd>Under the hood this is a UTF-8 String is no longer than <a href="struct.UserData.html#associatedconstant.MAX_LENGTH" title="associated constant iroh_dns::endpoint_info::UserData::MAX_LENGTH"><code>UserData::MAX_LENGTH</code></a> bytes.</dd></dl></section></div></main></body></html>
@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["AddrFilter","EndpointData","EndpointInfo","MaxLengthExceededError","UserData"]};
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
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,5 +1,5 @@
<!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="DNS-based endpoint discovery for iroh."><title>iroh_dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.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 crate"><!--[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="#">Crate iroh_dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"></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"><h1>Crate <span>iroh_<wbr>dns</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_dns/lib.rs.html#1-61">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DNS-based endpoint discovery for iroh.</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="DNS-based endpoint discovery for iroh."><title>iroh_dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.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 crate"><!--[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="#">Crate iroh_dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"></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"><h1>Crate <span>iroh_<wbr>dns</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_dns/lib.rs.html#1-62">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DNS-based endpoint discovery for iroh.</p>
<p>This crate contains the core types for publishing and resolving iroh endpoint
information via DNS, using the <a href="https://pkarr.org">pkarr</a> signed packet format.</p>
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="attrs/index.html" title="mod iroh_dns::attrs">attrs</a></dt><dd>Support for handling DNS resource records for dialing by <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</dd><dt><a class="mod" href="dns/index.html" title="mod iroh_dns::dns">dns</a></dt><dd>Configurable DNS resolver.</dd><dt><a class="mod" href="pkarr/index.html" title="mod iroh_dns::pkarr">pkarr</a></dt><dd>Pkarr signed packet encoding.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DecodingError.html" title="enum iroh_dns::DecodingError">Decoding<wbr>Error</a></dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.EndpointIdExt.html" title="trait iroh_dns::EndpointIdExt">Endpoint<wbr>IdExt</a></dt><dd>Extension methods for <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> to encode to and decode from z-base-32,
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="attrs/index.html" title="mod iroh_dns::attrs">attrs</a></dt><dd>Support for handling DNS resource records for dialing by <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</dd><dt><a class="mod" href="dns/index.html" title="mod iroh_dns::dns">dns</a></dt><dd>Configurable DNS resolver.</dd><dt><a class="mod" href="endpoint_info/index.html" title="mod iroh_dns::endpoint_info">endpoint_<wbr>info</a></dt><dd>Support for handling DNS resource records for dialing by <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</dd><dt><a class="mod" href="pkarr/index.html" title="mod iroh_dns::pkarr">pkarr</a></dt><dd>Pkarr signed packet encoding.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DecodingError.html" title="enum iroh_dns::DecodingError">Decoding<wbr>Error</a></dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.EndpointIdExt.html" title="trait iroh_dns::EndpointIdExt">Endpoint<wbr>IdExt</a></dt><dd>Extension methods for <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> to encode to and decode from z-base-32,
which is the encoding used by <a href="https://pkarr.org">pkarr</a> domain names.</dd></dl><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>
+1 -1
View File
@@ -1 +1 @@
window.SIDEBAR_ITEMS = {"enum":["DecodingError"],"mod":["attrs","dns","pkarr"],"trait":["EndpointIdExt"]};
window.SIDEBAR_ITEMS = {"enum":["DecodingError"],"mod":["attrs","dns","endpoint_info","pkarr"],"trait":["EndpointIdExt"]};
@@ -1,9 +1,9 @@
<!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="Extension methods for `EndpointId` to encode to and decode from z-base-32, which is the encoding used by pkarr domain names."><title>EndpointIdExt in iroh_dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 trait"><!--[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="#">EndpointIdExt</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Endpoint<wbr>IdExt</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.from_z32" title="from_z32">from_z32</a></li><li><a href="#tymethod.to_z32" title="to_z32">to_z32</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-EndpointIdExt-for-PublicKey" title="EndpointId">EndpointId</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate iroh_<wbr>dns</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_dns</a></div><h1>Trait <span class="trait">Endpoint<wbr>IdExt</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_dns/lib.rs.html#40-46">Source</a> </span></div><pre class="rust item-decl"><code>pub trait EndpointIdExt {
<!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="Extension methods for `EndpointId` to encode to and decode from z-base-32, which is the encoding used by pkarr domain names."><title>EndpointIdExt in iroh_dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="iroh_dns" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 trait"><!--[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="#">EndpointIdExt</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../iroh_dns/index.html">iroh_<wbr>dns</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Endpoint<wbr>IdExt</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.from_z32" title="from_z32">from_z32</a></li><li><a href="#tymethod.to_z32" title="to_z32">to_z32</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-EndpointIdExt-for-PublicKey" title="EndpointId">EndpointId</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate iroh_<wbr>dns</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_dns</a></div><h1>Trait <span class="trait">Endpoint<wbr>IdExt</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_dns/lib.rs.html#41-47">Source</a> </span></div><pre class="rust item-decl"><code>pub trait EndpointIdExt {
// Required methods
fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="type" href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_dns::DecodingError">DecodingError</a>&gt;;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Extension methods for <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> to encode to and decode from z-base-32,
which is the encoding used by <a href="https://pkarr.org">pkarr</a> domain names.</p>
</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.to_z32" class="method"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#42">Source</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Encodes a <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> in <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.from_z32" class="method"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#45">Source</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="type" href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_dns::DecodingError">DecodingError</a>&gt;</h4></section></summary><div class="docblock"><p>Parses a <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> from <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></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-EndpointIdExt-for-PublicKey" class="impl"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#48-61">Source</a><a href="#impl-EndpointIdExt-for-PublicKey" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EndpointIdExt.html" title="trait iroh_dns::EndpointIdExt">EndpointIdExt</a> for <a class="type" href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a></h3></section></summary><div class="impl-items"><section id="method.to_z32" class="method trait-impl"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#49-51">Source</a><a href="#method.to_z32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.from_z32" class="method trait-impl"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#53-60">Source</a><a href="#method.from_z32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="type" href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_dns::DecodingError">DecodingError</a>&gt;</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_dns/trait.EndpointIdExt.js" data-ignore-extern-crates="iroh_base" async></script></section></div></main></body></html>
</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.to_z32" class="method"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#43">Source</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Encodes a <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> in <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.from_z32" class="method"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#46">Source</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="type" href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_dns::DecodingError">DecodingError</a>&gt;</h4></section></summary><div class="docblock"><p>Parses a <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> from <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></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-EndpointIdExt-for-PublicKey" class="impl"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#49-62">Source</a><a href="#impl-EndpointIdExt-for-PublicKey" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EndpointIdExt.html" title="trait iroh_dns::EndpointIdExt">EndpointIdExt</a> for <a class="type" href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a></h3></section></summary><div class="impl-items"><section id="method.to_z32" class="method trait-impl"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#50-52">Source</a><a href="#method.to_z32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.from_z32" class="method trait-impl"><a class="src rightside" href="../src/iroh_dns/lib.rs.html#54-61">Source</a><a href="#method.from_z32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="type" href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_dns::DecodingError">DecodingError</a>&gt;</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_dns/trait.EndpointIdExt.js" data-ignore-extern-crates="iroh_base" async></script></section></div></main></body></html>
File diff suppressed because one or more lines are too long
@@ -1,10 +0,0 @@
<!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="Staggers calls to the future F with the given delays."><title>stagger_call in iroh_relay::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_relay" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 fn"><!--[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="#">stagger_call</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_relay/index.html">iroh_<wbr>relay</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>relay::<wbr>dns</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_relay</a>::<wbr><a href="index.html">dns</a></div><h1>Function <span class="fn">stagger_<wbr>call</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_dns/dns.rs.html#657-665">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn stagger_call&lt;T, E, F, Fut&gt;(
f: F,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, <a class="struct" href="struct.StaggeredError.html" title="struct iroh_relay::dns::StaggeredError">StaggeredError</a>&lt;E&gt;&gt;<div class="where">where
E: StackError + 'static,
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>() -&gt; Fut,
Fut: <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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, E&gt;&gt;,</div></code></pre><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Staggers calls to the future F with the given delays.</p>
<p>The first call is performed immediately. The first call to succeed generates an Ok result
ignoring any previous error. If all calls fail, an error summarizing all errors is returned.</p>
</div></details></section></div></main></body></html>
+3 -4
View File
@@ -1,4 +1,3 @@
<!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="DNS resolver and endpoint lookup."><title>iroh_relay::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_relay" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_relay/index.html">iroh_<wbr>relay</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module dns</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>relay</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_relay</a></div><h1>Module <span>dns</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_relay/dns.rs.html#1-91">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DNS resolver and endpoint lookup.</p>
<p>Re-exports the DNS resolver from <a href="../../iroh_dns/dns/index.html" title="mod iroh_dns::dns"><code>iroh_dns::dns</code></a> and adds iroh-specific
endpoint lookup methods via <a href="trait.DnsResolverExt.html" title="trait iroh_relay::dns::DnsResolverExt"><code>DnsResolverExt</code></a>.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Builder.html" title="struct iroh_relay::dns::Builder">Builder</a></dt><dd>Builder for <a href="struct.DnsResolver.html" title="struct iroh_relay::dns::DnsResolver"><code>DnsResolver</code></a>.</dd><dt><a class="struct" href="struct.DnsResolver.html" title="struct iroh_relay::dns::DnsResolver">DnsResolver</a></dt><dd>The DNS resolver used throughout <code>iroh</code>.</dd><dt><a class="struct" href="struct.StaggeredError.html" title="struct iroh_relay::dns::StaggeredError">Staggered<wbr>Error</a></dt><dd>Error returned when a staggered call fails.</dd><dt><a class="struct" href="struct.TxtRecordData.html" title="struct iroh_relay::dns::TxtRecordData">TxtRecord<wbr>Data</a></dt><dd>Record data for a TXT record.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DnsError.html" title="enum iroh_relay::dns::DnsError">DnsError</a></dt><dd>Potential errors related to DNS operations.</dd><dt><a class="enum" href="enum.DnsProtocol.html" title="enum iroh_relay::dns::DnsProtocol">DnsProtocol</a></dt><dd>Protocols over which DNS records can be resolved.</dd><dt><a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">Lookup<wbr>Error</a></dt><dd>Potential errors related to DNS endpoint address lookups.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.DNS_TIMEOUT.html" title="constant iroh_relay::dns::DNS_TIMEOUT">DNS_<wbr>TIMEOUT</a></dt><dd>Default DNS query timeout.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh_relay::dns::N0_DNS_ENDPOINT_ORIGIN_PROD">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>PROD</a></dt><dd>The n0 address lookup DNS origin, for production.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh_relay::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>STAGING</a></dt><dd>The n0 address lookup DNS origin, for testing.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.DnsResolverExt.html" title="trait iroh_relay::dns::DnsResolverExt">DnsResolver<wbr>Ext</a></dt><dd>Extension trait adding iroh endpoint lookup methods to <a href="struct.DnsResolver.html" title="struct iroh_relay::dns::DnsResolver"><code>DnsResolver</code></a>.</dd><dt><a class="trait" href="trait.Resolver.html" title="trait iroh_relay::dns::Resolver">Resolver</a></dt><dd>Trait for DNS resolvers used in iroh.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.stagger_call.html" title="fn iroh_relay::dns::stagger_call">stagger_<wbr>call</a></dt><dd>Staggers calls to the future F with the given delays.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.BoxIter.html" title="type iroh_relay::dns::BoxIter">BoxIter</a></dt><dd>Boxed iterator alias.</dd></dl></section></div></main></body></html>
<!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="DNS resolver and endpoint lookup."><title>iroh_relay::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_relay" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 dns</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_relay/index.html">iroh_<wbr>relay</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module dns</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>relay</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_relay</a></div><h1>Module <span>dns</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_relay/dns.rs.html#1-5">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>DNS resolver and endpoint lookup.</p>
<p>Re-exports from <a href="../../iroh_dns/dns/index.html" title="mod iroh_dns::dns"><code>iroh_dns::dns</code></a>.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Builder.html" title="struct iroh_relay::dns::Builder">Builder</a></dt><dd>Builder for <a href="struct.DnsResolver.html" title="struct iroh_relay::dns::DnsResolver"><code>DnsResolver</code></a>.</dd><dt><a class="struct" href="struct.DnsResolver.html" title="struct iroh_relay::dns::DnsResolver">DnsResolver</a></dt><dd>The DNS resolver used throughout <code>iroh</code>.</dd><dt><a class="struct" href="struct.StaggeredError.html" title="struct iroh_relay::dns::StaggeredError">Staggered<wbr>Error</a></dt><dd>Error returned when a staggered call fails.</dd><dt><a class="struct" href="struct.TxtRecordData.html" title="struct iroh_relay::dns::TxtRecordData">TxtRecord<wbr>Data</a></dt><dd>Record data for a TXT record.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DnsError.html" title="enum iroh_relay::dns::DnsError">DnsError</a></dt><dd>Potential errors related to DNS operations.</dd><dt><a class="enum" href="enum.DnsProtocol.html" title="enum iroh_relay::dns::DnsProtocol">DnsProtocol</a></dt><dd>Protocols over which DNS records can be resolved.</dd><dt><a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">Lookup<wbr>Error</a></dt><dd>Potential errors related to DNS endpoint address lookups.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.DNS_TIMEOUT.html" title="constant iroh_relay::dns::DNS_TIMEOUT">DNS_<wbr>TIMEOUT</a></dt><dd>Default DNS query timeout.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh_relay::dns::N0_DNS_ENDPOINT_ORIGIN_PROD">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>PROD</a></dt><dd>The n0 address lookup DNS origin, for production.</dd><dt><a class="constant" href="constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh_relay::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING">N0_<wbr>DNS_<wbr>ENDPOINT_<wbr>ORIGIN_<wbr>STAGING</a></dt><dd>The n0 address lookup DNS origin, for testing.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Resolver.html" title="trait iroh_relay::dns::Resolver">Resolver</a></dt><dd>Trait for DNS resolvers used in iroh.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.BoxIter.html" title="type iroh_relay::dns::BoxIter">BoxIter</a></dt><dd>Boxed iterator alias.</dd></dl></section></div></main></body></html>
+1 -1
View File
@@ -1 +1 @@
window.SIDEBAR_ITEMS = {"constant":["DNS_TIMEOUT","N0_DNS_ENDPOINT_ORIGIN_PROD","N0_DNS_ENDPOINT_ORIGIN_STAGING"],"enum":["DnsError","DnsProtocol","LookupError"],"fn":["stagger_call"],"struct":["Builder","DnsResolver","StaggeredError","TxtRecordData"],"trait":["DnsResolverExt","Resolver"],"type":["BoxIter"]};
window.SIDEBAR_ITEMS = {"constant":["DNS_TIMEOUT","N0_DNS_ENDPOINT_ORIGIN_PROD","N0_DNS_ENDPOINT_ORIGIN_STAGING"],"enum":["DnsError","DnsProtocol","LookupError"],"struct":["Builder","DnsResolver","StaggeredError","TxtRecordData"],"trait":["Resolver"],"type":["BoxIter"]};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,46 +0,0 @@
<!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="Extension trait adding iroh endpoint lookup methods to `DnsResolver`."><title>DnsResolverExt in iroh_relay::dns - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_relay" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 trait"><!--[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="#">DnsResolverExt</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_relay/index.html">iroh_<wbr>relay</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">DnsResolver<wbr>Ext</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.lookup_endpoint_by_domain_name" title="lookup_endpoint_by_domain_name">lookup_endpoint_by_domain_name</a></li><li><a href="#tymethod.lookup_endpoint_by_domain_name_staggered" title="lookup_endpoint_by_domain_name_staggered">lookup_endpoint_by_domain_name_staggered</a></li><li><a href="#tymethod.lookup_endpoint_by_id" title="lookup_endpoint_by_id">lookup_endpoint_by_id</a></li><li><a href="#tymethod.lookup_endpoint_by_id_staggered" title="lookup_endpoint_by_id_staggered">lookup_endpoint_by_id_staggered</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>relay::<wbr>dns</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_relay</a>::<wbr><a href="index.html">dns</a></div><h1>Trait <span class="trait">DnsResolver<wbr>Ext</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_relay/dns.rs.html#14-45">Source</a> </span></div><pre class="rust item-decl"><code>pub trait DnsResolverExt {
// Required methods
fn <a href="#tymethod.lookup_endpoint_by_id" class="fn">lookup_endpoint_by_id</a>(
&amp;self,
endpoint_id: &amp;<a class="type" href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../endpoint_info/struct.EndpointInfo.html" title="struct iroh_relay::endpoint_info::EndpointInfo">EndpointInfo</a>, <a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">LookupError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.lookup_endpoint_by_domain_name" class="fn">lookup_endpoint_by_domain_name</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../endpoint_info/struct.EndpointInfo.html" title="struct iroh_relay::endpoint_info::EndpointInfo">EndpointInfo</a>, <a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">LookupError</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.lookup_endpoint_by_domain_name_staggered" class="fn">lookup_endpoint_by_domain_name_staggered</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../endpoint_info/struct.EndpointInfo.html" title="struct iroh_relay::endpoint_info::EndpointInfo">EndpointInfo</a>, <a class="struct" href="struct.StaggeredError.html" title="struct iroh_relay::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">LookupError</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.lookup_endpoint_by_id_staggered" class="fn">lookup_endpoint_by_id_staggered</a>(
&amp;self,
endpoint_id: &amp;<a class="type" href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../endpoint_info/struct.EndpointInfo.html" title="struct iroh_relay::endpoint_info::EndpointInfo">EndpointInfo</a>, <a class="struct" href="struct.StaggeredError.html" title="struct iroh_relay::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">LookupError</a>&gt;&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>;
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>non-<code>wasm_browser</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Extension trait adding iroh endpoint lookup methods to <a href="struct.DnsResolver.html" title="struct iroh_relay::dns::DnsResolver"><code>DnsResolver</code></a>.</p>
</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.lookup_endpoint_by_id" class="method"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#19-23">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_id" class="fn">lookup_endpoint_by_id</a>(
&amp;self,
endpoint_id: &amp;<a class="type" href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../endpoint_info/struct.EndpointInfo.html" title="struct iroh_relay::endpoint_info::EndpointInfo">EndpointInfo</a>, <a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">LookupError</a>&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>Looks up endpoint info by <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> and origin domain name.</p>
<p>To lookup endpoints that published their endpoint info to the DNS servers run by n0,
pass <a href="constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh_relay::dns::N0_DNS_ENDPOINT_ORIGIN_PROD"><code>N0_DNS_ENDPOINT_ORIGIN_PROD</code></a> as <code>origin</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.lookup_endpoint_by_domain_name" class="method"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#26-29">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_domain_name" class="fn">lookup_endpoint_by_domain_name</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../endpoint_info/struct.EndpointInfo.html" title="struct iroh_relay::endpoint_info::EndpointInfo">EndpointInfo</a>, <a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">LookupError</a>&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>Looks up endpoint info by DNS name.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.lookup_endpoint_by_domain_name_staggered" class="method"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#32-36">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_domain_name_staggered" class="fn">lookup_endpoint_by_domain_name_staggered</a>(
&amp;self,
name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../endpoint_info/struct.EndpointInfo.html" title="struct iroh_relay::endpoint_info::EndpointInfo">EndpointInfo</a>, <a class="struct" href="struct.StaggeredError.html" title="struct iroh_relay::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">LookupError</a>&gt;&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>Looks up endpoint info by DNS name in a staggered fashion.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.lookup_endpoint_by_id_staggered" class="method"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#39-44">Source</a><h4 class="code-header">fn <a href="#tymethod.lookup_endpoint_by_id_staggered" class="fn">lookup_endpoint_by_id_staggered</a>(
&amp;self,
endpoint_id: &amp;<a class="type" href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId">EndpointId</a>,
origin: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
delays_ms: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../endpoint_info/struct.EndpointInfo.html" title="struct iroh_relay::endpoint_info::EndpointInfo">EndpointInfo</a>, <a class="struct" href="struct.StaggeredError.html" title="struct iroh_relay::dns::StaggeredError">StaggeredError</a>&lt;<a class="enum" href="enum.LookupError.html" title="enum iroh_relay::dns::LookupError">LookupError</a>&gt;&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>Looks up endpoint info by <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> and origin domain name in a staggered fashion.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-DnsResolverExt-for-DnsResolver" class="impl"><a class="src rightside" href="../../src/iroh_relay/dns.rs.html#47-91">Source</a><a href="#impl-DnsResolverExt-for-DnsResolver" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.DnsResolverExt.html" title="trait iroh_relay::dns::DnsResolverExt">DnsResolverExt</a> for <a class="struct" href="struct.DnsResolver.html" title="struct iroh_relay::dns::DnsResolver">DnsResolver</a></h3></section></div><script src="../../trait.impl/iroh_relay/dns/trait.DnsResolverExt.js" data-ignore-extern-crates="iroh_dns" async></script></section></div></main></body></html>
File diff suppressed because one or more lines are too long
@@ -1,35 +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="Support for handling DNS resource records for dialing by `EndpointId`."><title>iroh_relay::endpoint_info - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_relay" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 endpoint_info</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_relay/index.html">iroh_<wbr>relay</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module endpoint_<wbr>info</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>relay</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_relay</a></div><h1>Module <span>endpoint_<wbr>info</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_relay/endpoint_info.rs.html#1-713">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Support for handling DNS resource records for dialing by <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</p>
<p>Dialing by <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> is supported by iroh endpoints publishing <a href="https://app.pkarr.org">Pkarr</a> records to DNS
servers or the Mainline DHT. This module supports creating and parsing these records.</p>
<p>DNS records are published under the following names:</p>
<p><code>_iroh.&lt;z32-endpoint-id&gt;.&lt;origin-domain&gt; TXT</code></p>
<ul>
<li>
<p><code>_iroh</code> is the record name as defined by <a href="constant.IROH_TXT_NAME.html" title="constant iroh_relay::endpoint_info::IROH_TXT_NAME"><code>IROH_TXT_NAME</code></a>.</p>
</li>
<li>
<p><code>&lt;z32-endpoint-id&gt;</code> is the <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding of the <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</p>
</li>
<li>
<p><code>&lt;origin-domain&gt;</code> is the domain name of the publishing DNS server,
<a href="../dns/constant.N0_DNS_ENDPOINT_ORIGIN_PROD.html" title="constant iroh_relay::dns::N0_DNS_ENDPOINT_ORIGIN_PROD"><code>N0_DNS_ENDPOINT_ORIGIN_PROD</code></a> is the server operated by number0 for production.
<a href="../dns/constant.N0_DNS_ENDPOINT_ORIGIN_STAGING.html" title="constant iroh_relay::dns::N0_DNS_ENDPOINT_ORIGIN_STAGING"><code>N0_DNS_ENDPOINT_ORIGIN_STAGING</code></a> is the server operated by number0 for testing.</p>
</li>
<li>
<p><code>TXT</code> is the DNS record type.</p>
</li>
</ul>
<p>The returned TXT records must contain a string value of the form <code>key=value</code> as defined
in <a href="https://www.rfc-editor.org/rfc/rfc1464">RFC1464</a>. The following attributes are defined:</p>
<ul>
<li>
<p><code>relay=&lt;url&gt;</code>: The home <a href="../../iroh_base/relay_url/struct.RelayUrl.html" title="struct iroh_base::relay_url::RelayUrl"><code>RelayUrl</code></a> of this endpoint.</p>
</li>
<li>
<p><code>addr=&lt;addr&gt; &lt;addr&gt;</code>: A space-separated list of sockets addresses for this iroh endpoint.
Each address is an IPv4 or IPv6 address with a port.</p>
</li>
</ul>
<!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="Re-export of endpoint info types from `iroh_dns::endpoint_info`."><title>iroh_relay::endpoint_info - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_relay" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 endpoint_info</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_relay/index.html">iroh_<wbr>relay</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module endpoint_<wbr>info</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="#constants" title="Constants">Constants</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iroh_<wbr>relay</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_relay</a></div><h1>Module <span>endpoint_<wbr>info</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_relay/endpoint_info.rs.html#1-6">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Re-export of endpoint info types from <a href="../../iroh_dns/endpoint_info/index.html" title="mod iroh_dns::endpoint_info"><code>iroh_dns::endpoint_info</code></a>.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AddrFilter.html" title="struct iroh_relay::endpoint_info::AddrFilter">Addr<wbr>Filter</a></dt><dd>A filter and/or reordering function applied to transport addresses,
typically used by AddressLookup services in iroh before publishing.</dd><dt><a class="struct" href="struct.EndpointData.html" title="struct iroh_relay::endpoint_info::EndpointData">Endpoint<wbr>Data</a></dt><dd>Data about an endpoint that may be published to and resolved from discovery services.</dd><dt><a class="struct" href="struct.EndpointInfo.html" title="struct iroh_relay::endpoint_info::EndpointInfo">Endpoint<wbr>Info</a></dt><dd>Information about an endpoint that may be published to and resolved from discovery services.</dd><dt><a class="struct" href="struct.MaxLengthExceededError.html" title="struct iroh_relay::endpoint_info::MaxLengthExceededError">MaxLength<wbr>Exceeded<wbr>Error</a></dt><dd>Error returned when an input value is too long for <a href="struct.UserData.html" title="struct iroh_relay::endpoint_info::UserData"><code>UserData</code></a>.</dd><dt><a class="struct" href="struct.UserData.html" title="struct iroh_relay::endpoint_info::UserData">User<wbr>Data</a></dt><dd>Under the hood this is a UTF-8 String is no longer than <a href="struct.UserData.html#associatedconstant.MAX_LENGTH" title="associated constant iroh_relay::endpoint_info::UserData::MAX_LENGTH"><code>UserData::MAX_LENGTH</code></a> bytes.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.DecodingError.html" title="enum iroh_relay::endpoint_info::DecodingError">Decoding<wbr>Error</a></dt><dt><a class="enum" href="enum.EncodingError.html" title="enum iroh_relay::endpoint_info::EncodingError">Encoding<wbr>Error</a></dt><dt><a class="enum" href="enum.ParseError.html" title="enum iroh_relay::endpoint_info::ParseError">Parse<wbr>Error</a></dt></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.IROH_TXT_NAME.html" title="constant iroh_relay::endpoint_info::IROH_TXT_NAME">IROH_<wbr>TXT_<wbr>NAME</a></dt><dd>The DNS name for the iroh TXT record.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.EndpointIdExt.html" title="trait iroh_relay::endpoint_info::EndpointIdExt">Endpoint<wbr>IdExt</a></dt><dd>Extension methods for <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> to encode to and decode from z-base-32,
which is the encoding used by <a href="https://pkarr.org">pkarr</a> domain names.</dd></dl></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
File diff suppressed because one or more lines are too long
@@ -1,9 +1,9 @@
<!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="Extension methods for `EndpointId` to encode to and decode from z-base-32, which is the encoding used by pkarr domain names."><title>EndpointIdExt in iroh_relay::endpoint_info - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_relay" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 trait"><!--[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="#">EndpointIdExt</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_relay/index.html">iroh_<wbr>relay</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Endpoint<wbr>IdExt</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.from_z32" title="from_z32">from_z32</a></li><li><a href="#tymethod.to_z32" title="to_z32">to_z32</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-EndpointIdExt-for-PublicKey" title="PublicKey">PublicKey</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>relay::<wbr>endpoint_<wbr>info</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_relay</a>::<wbr><a href="index.html">endpoint_info</a></div><h1>Trait <span class="trait">Endpoint<wbr>IdExt</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_dns/lib.rs.html#40">Source</a> </span></div><pre class="rust item-decl"><code>pub trait EndpointIdExt {
<!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="Extension methods for `EndpointId` to encode to and decode from z-base-32, which is the encoding used by pkarr domain names."><title>EndpointIdExt in iroh_relay::endpoint_info - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_relay" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.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 trait"><!--[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="#">EndpointIdExt</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_relay/index.html">iroh_<wbr>relay</a><span class="version">0.97.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Endpoint<wbr>IdExt</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.from_z32" title="from_z32">from_z32</a></li><li><a href="#tymethod.to_z32" title="to_z32">to_z32</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-EndpointIdExt-for-PublicKey" title="PublicKey">PublicKey</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>relay::<wbr>endpoint_<wbr>info</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_relay</a>::<wbr><a href="index.html">endpoint_info</a></div><h1>Trait <span class="trait">Endpoint<wbr>IdExt</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_dns/lib.rs.html#41">Source</a> </span></div><pre class="rust item-decl"><code>pub trait EndpointIdExt {
// Required methods
fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_relay::endpoint_info::DecodingError">DecodingError</a>&gt;;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Extension methods for <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> to encode to and decode from z-base-32,
which is the encoding used by <a href="https://pkarr.org">pkarr</a> domain names.</p>
</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.to_z32" class="method"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#42">Source</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Encodes a <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> in <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.from_z32" class="method"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#45">Source</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_relay::endpoint_info::DecodingError">DecodingError</a>&gt;</h4></section></summary><div class="docblock"><p>Parses a <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> from <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></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-EndpointIdExt-for-PublicKey" class="impl"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#48">Source</a><a href="#impl-EndpointIdExt-for-PublicKey" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EndpointIdExt.html" title="trait iroh_relay::endpoint_info::EndpointIdExt">EndpointIdExt</a> for <a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a></h3></section></summary><div class="impl-items"><section id="method.to_z32" class="method trait-impl"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#49">Source</a><a href="#method.to_z32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.from_z32" class="method trait-impl"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#53">Source</a><a href="#method.from_z32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_relay::endpoint_info::DecodingError">DecodingError</a>&gt;</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_dns/trait.EndpointIdExt.js" data-ignore-extern-crates="iroh_base" async></script></section></div></main></body></html>
</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.to_z32" class="method"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#43">Source</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Encodes a <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> in <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.from_z32" class="method"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#46">Source</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_relay::endpoint_info::DecodingError">DecodingError</a>&gt;</h4></section></summary><div class="docblock"><p>Parses a <a href="../../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a> from <a href="https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt">z-base-32</a> encoding.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></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-EndpointIdExt-for-PublicKey" class="impl"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#49">Source</a><a href="#impl-EndpointIdExt-for-PublicKey" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EndpointIdExt.html" title="trait iroh_relay::endpoint_info::EndpointIdExt">EndpointIdExt</a> for <a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a></h3></section></summary><div class="impl-items"><section id="method.to_z32" class="method trait-impl"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#50">Source</a><a href="#method.to_z32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.to_z32" class="fn">to_z32</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.from_z32" class="method trait-impl"><a class="src rightside" href="../../src/iroh_dns/lib.rs.html#54">Source</a><a href="#method.from_z32" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.from_z32" class="fn">from_z32</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>, <a class="enum" href="enum.DecodingError.html" title="enum iroh_relay::endpoint_info::DecodingError">DecodingError</a>&gt;</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_dns/trait.EndpointIdExt.js" data-ignore-extern-crates="iroh_base" async></script></section></div></main></body></html>
+1 -1
View File
@@ -25,7 +25,7 @@ Tailscale.</p>
QAD support and expose metrics.</p>
</li>
</ul>
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt id="reexport.MAX_PACKET_SIZE"><code>pub use protos::relay::<a class="constant" href="protos/relay/constant.MAX_PACKET_SIZE.html" title="constant iroh_relay::protos::relay::MAX_PACKET_SIZE">MAX_PACKET_SIZE</a>;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="client/index.html" title="mod iroh_relay::client">client</a></dt><dd>Exposes <a href="client/struct.Client.html" title="struct iroh_relay::client::Client"><code>Client</code></a>, which allows to establish connections to a relay server.</dd><dt><a class="mod" href="defaults/index.html" title="mod iroh_relay::defaults">defaults</a></dt><dd>Default values used in the relay.</dd><dt><a class="mod" href="dns/index.html" title="mod iroh_relay::dns">dns</a><wbr><span class="stab portability" title="Available on non-`wasm_browser` only">Non-<code>wasm_browser</code></span></dt><dd>DNS resolver and endpoint lookup.</dd><dt><a class="mod" href="endpoint_info/index.html" title="mod iroh_relay::endpoint_info">endpoint_<wbr>info</a></dt><dd>Support for handling DNS resource records for dialing by <a href="../iroh_base/key/type.EndpointId.html" title="type iroh_base::key::EndpointId"><code>EndpointId</code></a>.</dd><dt><a class="mod" href="http/index.html" title="mod iroh_relay::http">http</a></dt><dd>HTTP-specific constants for the relay server and client.</dd><dt><a class="mod" href="protos/index.html" title="mod iroh_relay::protos">protos</a></dt><dd>Protocols used by the iroh-relay</dd><dt><a class="mod" href="quic/index.html" title="mod iroh_relay::quic">quic</a></dt><dd>Create a QUIC server that accepts connections
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt id="reexport.MAX_PACKET_SIZE"><code>pub use protos::relay::<a class="constant" href="protos/relay/constant.MAX_PACKET_SIZE.html" title="constant iroh_relay::protos::relay::MAX_PACKET_SIZE">MAX_PACKET_SIZE</a>;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="client/index.html" title="mod iroh_relay::client">client</a></dt><dd>Exposes <a href="client/struct.Client.html" title="struct iroh_relay::client::Client"><code>Client</code></a>, which allows to establish connections to a relay server.</dd><dt><a class="mod" href="defaults/index.html" title="mod iroh_relay::defaults">defaults</a></dt><dd>Default values used in the relay.</dd><dt><a class="mod" href="dns/index.html" title="mod iroh_relay::dns">dns</a><wbr><span class="stab portability" title="Available on non-`wasm_browser` only">Non-<code>wasm_browser</code></span></dt><dd>DNS resolver and endpoint lookup.</dd><dt><a class="mod" href="endpoint_info/index.html" title="mod iroh_relay::endpoint_info">endpoint_<wbr>info</a></dt><dd>Re-export of endpoint info types from <a href="../iroh_dns/endpoint_info/index.html" title="mod iroh_dns::endpoint_info"><code>iroh_dns::endpoint_info</code></a>.</dd><dt><a class="mod" href="http/index.html" title="mod iroh_relay::http">http</a></dt><dd>HTTP-specific constants for the relay server and client.</dd><dt><a class="mod" href="protos/index.html" title="mod iroh_relay::protos">protos</a></dt><dd>Protocols used by the iroh-relay</dd><dt><a class="mod" href="quic/index.html" title="mod iroh_relay::quic">quic</a></dt><dd>Create a QUIC server that accepts connections
for QUIC address discovery.</dd><dt><a class="mod" href="server/index.html" title="mod iroh_relay::server">server</a><wbr><span class="stab portability" title="Available on crate feature `server` only"><code>server</code></span></dt><dd>A fully-fledged iroh-relay server over HTTP or HTTPS.</dd><dt><a class="mod" href="tls/index.html" title="mod iroh_relay::tls">tls</a></dt><dd>TLS verification configuration for iroh and iroh-relay.</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.PingTracker.html" title="struct iroh_relay::PingTracker">Ping<wbr>Tracker</a></dt><dd>Tracks pings on a single relay connection.</dd><dt><a class="struct" href="struct.RelayConfig.html" title="struct iroh_relay::RelayConfig">Relay<wbr>Config</a></dt><dd>Information on a specific relay server.</dd><dt><a class="struct" href="struct.RelayMap.html" title="struct iroh_relay::RelayMap">Relay<wbr>Map</a></dt><dd>List of relay server configurations to be used in an iroh endpoint.</dd><dt><a class="struct" href="struct.RelayQuicConfig.html" title="struct iroh_relay::RelayQuicConfig">Relay<wbr>Quic<wbr>Config</a></dt><dd>Configuration for speaking to the QUIC endpoint on the relay
server to do QUIC address discovery.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.KeyCache.html" title="enum iroh_relay::KeyCache">KeyCache</a></dt><dd>A cache for public keys.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.ExportKeyingMaterial.html" title="trait iroh_relay::ExportKeyingMaterial">Export<wbr>Keying<wbr>Material</a></dt><dd>This trait allows anything that ends up potentially
wrapping a TLS stream use the underlying <a href="rustls::ConnectionCommon::export_keying_material"><code>export_keying_material</code></a>
@@ -1 +0,0 @@
rn_("AQYBsEAlaQABZfOzJAAAlwAVAPMFAWI7MAAAAQAAHwALAJ4gBADtIQQAkiMAAJQjAAALJAAAmyQNANkkAAD5JAAARyUAAKklAADJJQAARwAAAIWwECXMAAGg0AAAJVOwYCWsABugYAAAJWEwCAk6MAAAAQAAAAAABwAQAAAAjhiPGEAf6CCZIZohWCLNJA==")
@@ -1 +0,0 @@
rn_("AQUA80UbAADFBIcEAQQA9KgYAAABAAEAAQABggKgAAAAIlWgAAAAIlY0NkODhKBQAAAj4qBAAAAiV6BAAAAjeUQBATcBAACFoLAAACRyoDAAABQnWBACOjAAAAEAAAAAAAkAEAAAABoFGwUzGjQahxyIHCkkKiRsJG0k")
@@ -1 +0,0 @@
rn_("AYECoAAAACHXoAAAACHYNDYBBAD18yMAAIsAAQA6AAEAAQQBoAAAACP2ZPKLIwAAAQBnAAABh6CgAAAlWaAwAAAhBaAQAAAle6BgAAAll7CgJQQAl5VQBPUFFAAAUAATDuIBFgEBgQKwICJbAAGgIAAAIl1hc+cAAIDFsCAlfgABoBAAACBogAA4CA==")
@@ -0,0 +1 @@
rn_("AQAA8xgFAADLHwEAAQkA9fwiAAABAAEAAQABACOBAqAQAAASB2lyAQoBoEAAACXWZfQsJQAAdwABAAEAAQIA9CQiAAABAAEAAQATgAKgEAAAIT9hZQEHAPPUJAAAAQAVAfMEAWPyThQAAB8GtwwAAImggAAAIqmgIAAAELWgcAAAJHigoAAAJAosmQo7MAAAAQAAHwANAJsEBADCGAAA2RgAAN4YBADwGAIAXRsGANscAAChHgAAsh4CAHggAACHIQAACCQBAG0kAAA=")
@@ -1 +0,0 @@
rn_("AQIBoEAAACW8dPRdJAAACAEVACkAE4ACoDAAACWKaXBDggOgcAAAJSWwcCGjAAFlbnMTAAKgIAAADl9mbfSVAQAARgEHDwIA")
@@ -0,0 +1 @@
rn_("AQcAOzAAAAEAAAUAAQDTIgUAAYACoFAAACWBoNAAACWNaXIBDADzXiUAAAEAAQAjgAKgoAAAJOd0eQGBAqCAAAAk5qCwAAAljGFkAQYA9c4iAAABAAEAAQABAPOAAmV0AYECoDAAACB0oHAAACPyZW8BAgGwQCUgAAFl8ockAAB3ABOAAqBAAAAj5HByAQgBgCRZABABczswAAABAAAFAAEA7CMFABOAAqBAAAAloGFvAQUBgCH2ABABc/L2IAAAAQABggKgsAAAJYuwEB7IAAFpcpf+AACMoPAAACYRsJAkVwABoPAAACWsFfEP8pkfAADtBQ==")
@@ -0,0 +1 @@
rn_("AQQAOzAAAAEAAAUAAQAaIgUA8wIBZTswAAABAAALAAUAvBgBAFweAwAGJAEAJCQBAPokAQABAwGgUAAAIqtjASAfAAABgAKhMAAAJgWgkAAAJblhZQEGAaDwAAAmL2bziCEAAAEAAQAjgAKwECTwAAFycwGAAqBQAAAhh6BQAAAiL2tvQ4CEoHAAACRKoIAAACPpoNAAACVZgEEBAYACoGAAACXRsDAfCgHib3IBAwD0lSQAAAEAQwABAAEBAPSTJAAAAQBDAAEAE4ECoEAAACWIY20BAQA7MAAAAQAABgADAAUjAQAoJQMAkyUAAEOAA6CQAAAki6BgAAAlqGduegEEA7BQJHMAAaBgAAAlFaAwAAAkPmFjcPPwHgAAAQABABOAArAAG3YAAWNkE4ACoFAAACWHbngBBgD0VCUAAAEALQABAPcDAACHoGAAACWJGAEPOjAAAAEAAAAAAAcAEAAAACASIRLJEsoS2CDZIFoh3yMBAAKwQBuXAAGgwAAAJdBldAFhDgAAAQQBoCAAACMIcwGmIAAAQwCEoDAAACDaoFAAACE8sDAlIgABRYAAOzAAAAEAABYACAAJEgMAtxILAK4gAQBFIQAAMyIAAPAiAAALJAAAYyQAACOBAqAwAAAba2lzAQMCoGAAACQLoGAAACSzbXTyzRgAALYFI4ADoKAAACThoPAAACXQY3B0AYACoNAAACYLoFAAACQxY27zgIQRAUABgAKgYAAAIr+gUAAAIPNlaQECAPRxJAAAAQArAQEA84ACb3IBBQA7MAAAAQAAoQACAAQhAAAyI6AAg4CEoFAAACRtsFAhIwABoCAAACYkAEQMAYkCoIAAACYXoJAAACYlYnUTgQOgcAAAJE6hoAAAJjNjaXITgAOgUAAAIUWwgCTrAAFhZW8BAgA7MAAAAQAABgADANkYAADwGAIAsh4CAAGAAqCwAAAlWKBwAAAj6GRyAQ0A9LkkAACaAEkASgABEAGgQAAAJiR0Ac8lAAABAgD17x4AAAoDSwL5ANgA8wEBb/J4FQAAWBDzgIQAMAMBAgDzUxQAAD8HFwkjgAOgQAAAJeOwACT5AGJlcnODgISgMAAAJUOAJKoFkAGwoCSKAA0MIAEBAgGgUAAAI+dm9ZwbAAAfBQoCqgEBABMAAqAwAAAar2RsOzAAAAEAAA0BAwAZBQAAtQoLAVsUAAAX7b8A1KCQAAAloaBQAAAk7aCgAAAkTaBwAAAiw6BwAAAiKrAAFJIAAcBnt387MAAAAQAAMwAUAJMEAwBBDAEAWg4GALEOAAC8EAAAwBACANoQAQAmFAAA5xgAAAQZAwDiHgMAtyAAAB8hAwBbIgAAtCIBAAgjAACLJAAALiUFAKklAgDMJQIA")
@@ -1 +0,0 @@
rn_("AQIA80UUAAABAAEAAYICoAAAACWYoAAAACWZNDbzAwFpATwlAADzgAJkdAEFArAwJFQAm7AgJBAAoWJ19E0gAADLAJcBdwEBgAKwECHLAhGgUAAAI3FkbuOAhLBAI6cAyQEJQA==")
@@ -1 +0,0 @@
rn_("AQQAOzAAAAEAAAUAAQC8IQUA8wIBZTswAAABAAALAAUAfBgBAAYeAwCeIwEAvCMBAI8kAQABAwGgUAAAIkpjAcYeAAABgAKhMAAAJZugkAAAJU9hZQEGAaDwAAAlyWbyKiEAAAEAI4ACsBAkhQABcnMBgAKgUAAAISmgUAAAIdFrb0OAhKBwAAAj4aCAAAAjgaDQAAAk7oBBAQGAAqBgAAAlZ7AwHrAB3m9yAQMA9CskAAABAEIAAQABAQD0KSQAAAEAQgABABOBAqBAAAAlH2NtAQEAOzAAAAEAAAYAAwChIgEAvSQDAColAABDgAOgkAAAJCGgYAAAJT5nbnoBBAOwUCQJAAGgYAAAJKqgMAAAI9VhY3Dzlh4AAAEAAQATgAKwABsrAAFjZBOAAqBQAAAlHm54AQYA9OkkAAABAC8AAQD3AwAAh6BgAAAlIBgBDzowAAABAAAAAAAHABAAAADwEfERlhKXEnogeyD+IHcjAQACsEAbTAABoMAAACVmZXQBOA4AAAEEAaAgAAAipHMBSSAAAEMAhKAwAAAgfKBQAAAg4bAwJLcAAUWAADswAAABAAAWAAgA2REDAIQSCwBRIAEA6iAAANUhAACMIgAAoyMAAPkjAAAjgQKgMAAAGyBpcwEDAqBgAAAjo6BgAAAkSW108o0YAACgBSOAA6CgAAAkdqDwAAAlZmNwdAGAAqDQAAAloaBQAAAjyGNu84CEEQFAAYACoGAAACJeoFAAACCVZWkBAgD0ByQAAAEAKwEBAPOAAm9yAQUAOzAAAAEAAJ0AAgCpIAAAziKcAIOAhKBQAAAkA7BQIMgAAaAgAAAlvABEDAGJAqCAAAAlraCQAAAlvWJ1E4EDoHAAACPloaAAACXNY2lyE4ADoFAAACDqsIAkgAABYWVvAQIAOzAAAAEAAAYAAwCZGAAAsBgCAFkeAgABgAKgsAAAJO2gcAAAI4BkcgENAPRPJAAAmQBKAEoAARABoEAAACW8dAFlJQAAAQIA9ZUeAAADA0MC9wDZAPMBAW/yQhUAACQQ84CEADADAQIA8x8UAAAoB/gII4ADoEAAACV5sAAkjgBiZXJzg4CEoDAAACTYgCRABYABsKAkIAANDCABAQIBoFAAACN/ZvVRGwAADQUGAqEBAQATAAKgMAAAGmlkbDswAAABAAAMAQMACgUAAJUKCgEnFAAAF+2/ANSgkAAAJTegUAAAJIKgoAAAI+SgcAAAImKgcAAAIcywABRfAAHAZ7d/OzAAAAEAADMAFACHBAMAIQwBADEOBgCIDgAAjhAAAJIQAgCsEAEA8RMAAKcYAADEGAMAiB4DAFogAADEIAMA/CEAAFMiAQCkIgAAISQAAMMkBQA/JQIAYiUCAA==")
@@ -1 +0,0 @@
rn_("AQACoSAAACXEsAAUSgABY3MBNh4AAAEAAPR2IgAAAQABAAEAE4ACsKAkgAABcnQBhQKgAAAAI2ywICQgAA1kbvMAAXDyfRAAAAEAAQQA9FslAAABAAEAAQDzAQFlASEhAADnAQAAhbEwJcwAAR0ABAEIEgAA")
@@ -0,0 +1 @@
rn_("AQUA9AEjAAABAAEAAQATgQKgIAAAHolqbAEFAPO/IAAAAQABAGMAhKBQAAAhOaBwAAAlvSQAAzswAAABAAAPAAUAVwwHALESAgCmHgIAHiEAABslAAA=")
@@ -0,0 +1 @@
rn_("AQABoIAAACYfZvIqFAAA0xABBwDzxCQAAAEAAQAjgAKgUAAAIgdhb/MCAmZz9vQRAABWAAEAAQBVCcYGE4CEsIAglQDboEAAACAgsBAQkAABEUEA")
@@ -0,0 +1 @@
rn_("AQEA8/0jAAClABsBAQEBoDAAACGAcAEyIAAAY4ADoHAAACSEYWVvAYACoHAAACSMoFAAACT/bm9jgAOwoCVKAAFsb3Q=")
@@ -1 +0,0 @@
rn_("AYACoBAAAB5YsCAhowABYXABAgDzRhsAAMgEAQABAAA7MAAAAQAABgACAC4UAQA/GgQA84ACZG4BCQGgQAAAJQJl83MkAADYAAEAAQMCoCAAACTNoIAAACUcZXbzCyAAAAEAAQD3AACAhbFAJcwAARExAA==")
@@ -1 +0,0 @@
rn_("AQAA9XQgAADxAQEAAQBsASMBAqBwAAAjs2ZzOzAAAAEAANgABQCfDgAANxQAAG4aawAyIWMAnCEGAAEEAaAgAAAipHMBSSAAAEMAhKAwAAAgfKBQAAAg4bAwJLcAAUWAADswAAABAAAWAAgA2REDAIQSCwBRIAEA6iAAANUhAACMIgAAoyMAAPkjAAAjgAOgMAAAGyCgIAAAG0tpc3TzgAJjbg==")
@@ -1 +0,0 @@
rn_("AQcA81IkAACZAAEAAQABoIAAACXIYQFPDAAAAYICoBAAACB1oKAAACWgYW8BgwKgIAAAIaWgAAAAIGZkcxOBAqBAAAAgHWNlE4ACoBAAABjNZnNHBwAAx7BQGucAAaAQAAAlPrAwE/QE4wBFhAn2RQUAAD8LAQABAD0TiwA=")
@@ -1 +0,0 @@
rn_("AQIA9nYYAAABAEwJuAHDAC4BAYADoCAAACHNoEAAACICsDAlJgABbHFylwAAAIWwYCP4AbKgYAAAI/mwABQOAAEwEAM6MAAAAQAAAAAACAAQAAAAzxj8GgMbeR/bIfkhsCK2Ij0k")
@@ -0,0 +1 @@
rn_("AQMAOzAAAAEAAKEAAgAvEgAAlxWgAAEDAaBQAAAi3m8BFxkAAAEFAPP/IAAAAQAxAvMAAmN08lckAAABACOAArBQJO4AAWNzAYACoDAAABRvsDAUcAABaG0BAgDzMBIAAAAQAQABAwD1bRQAAAEAtQwBAAsBUwADoDAAACT/YWRvAVAFAAABAgA7MAAAAQAABQABAHkeBQABCADzfCUAAAEAAQDzAAFzOzAAAAEAAAUAAQA6IAUAAQgA83klAAABAAEAAQgA8/UlAAABAAEA8wMBc/M/JAAAAQABAPMAAmlzOzAAAAEAAAUAAQA0IAUA84ICNDYBBQA7MAAAAQAABQABAJ0gBQABAwA7MAAAAQAABgACAPMeBQA3JAAAAQgA8ycmAAABAAEA8wEBc/N2JQAAAQABAAEIAPM0JgAAAQABAPMJAXPzICYAAAEAAQDziAJkafOAAm5yAQYBsEAl0wABZfMeJQAAlgAVAPcEAAGHoHAAACUBoGAAACTJMiEGOzAAAAEAACMADQClIAAA+SAEAEsiBADWIwIA+iMAAPwjAAB1JAAABiUNAEQlAABkJQAAsSUAABMmAAAvJgAAAQAA80QOAAABANUS84ACc3VnDgCAiLCgIi0AAaAAAAAk3KAAAAAlagKMFw==")
@@ -0,0 +1 @@
rn_("AQsAOzAAAAEAAAUAAQAuJQUAAYMCoCAAACXkoDAAACX0aXDzAAFmARQSAABjgAOgkAAAJO1jZmlDgISwICS+AJygMAAAGQ2gQAAAJH0AQUg=")
@@ -0,0 +1 @@
rn_("AQIBoGAAACTWdQFAIQAAAQAA9VUMAAABAFkOfQZfBEMAA7BAGKoAAaCwAAAk6GVxczswAAABAAAJAAMAAgUBAEUFBQCpDgEAAQgA87UkAAABAAEA04CEsJAlFgADAXAA")
@@ -0,0 +1 @@
rn_("AQMA9PAlAAABAAEAAQATgAKgMAAAIlxveQGAAqBQAAAj+aCAAAAlHW5yAQMBsDAk+gABdPIkIwAAAQABBAA7MAAAAQAABgABAB0kBgDzgAJvcgEBAPVQIQAAAQABAAEAAQAjgAOwgCUmAAGgAAAAIgZmbnLnBAAAyaBQAAAkfaAwAAAhgKBQAAAkfrDAJboAAbBgJMEAAYBMIA86MAAAAQAAAAAAIgAQAAAAIBQiFFwUjxSWGzIghiDUINUg1iDXIOUg5iABIQIhrSIBIwIjAyMEIykjKiMrIywjGSQaJKokAyUEJUMlXSWFJYklqCXLJQ==")
@@ -1 +0,0 @@
rn_("AYACsEAh9wABoJAAACSVYXQBAQGg0AAAJNVi86EOAAABABQDAYICoAAAACWYoAAAACWZNDbzBwFpATwlAADzgANlbnA=")
@@ -1 +0,0 @@
rn_("AQIA8zYaAAABAAEAAYACsIAlMwABsLAldAABYWwThgKwICKxAAF0dQEGAbDAJXIAAWnyTiAAAAEAlwEAgIWgYAAAIk2gcAAAIk6kAQgBBgD0ZSIAAAEAAQBsAQEDAPPyIAAAAQABABOEArAAIBUCt2RzAYACsMAlFgABsEAj7QABbnLzgAJhZQEDAPPOIAAAAQABAAEEAPNuIwAAAQABABOAAqBwAAAjd29zAYACsBAQfQABoRAAACVhbnInDwAAiKBAAAAUP6AgAAAR3qBQAAAf5zEpAzswAAABAAAVAAgAqgsBAMkRAACdGAAALRoCACMeBQDAIAIALyECALQhAgABAAKwMCHLAhGwICDgApZidQHmHwAAI4QCsDAg3wKWZHMBgAKg0AAAJSqgEAAAFBtnevOAAml0AQ4A9IYlAAABAAEAAQATgAKxkCXMAAFhZQEQAaBAAAAlbGX0wSQAAHgAAQABAAEDAPPREQAAAQBMEwEDAbAwJI8AAXTywCIAAAEAAQQAOzAAAAEAAAYAAQC1IwYA84ACb3IBAgD19SAAAAEAAQABAAEAMwSEoEAAACH9sMAlUAABMAAMAVwUAAABBwA7MAAAAQAABQACAKEiAQC9JAMAE4ACsDAYiwdaY3TzgIQRQQABAgGwwCUrAAFl8h0bAAABACMCAqBAAAAh1mVn84MSAADECxcEAQIA9LoRAAABAAEAAQBDgAOwkCPbAdCgYAAAI+VkbnQBAQD08QsAAAEA2gw+BQEDAaBwAAAkJGfy2BEAAG0DAYECoIAAACWaoGAAACWtZHMTiAOg0AAAJbuwkCWOAC9ibXUBDQD0vSQAAAEAAQABAAEBAbBAJSsAAWXy1SQAAFAA84ICZXPzgAJlbwGAAqCAAAAjdKAwAAAYinV5AQABoEAAACHZZQFOHgAAI4ECoFAAACEUa3T3/QEAjbBgIKYAAZ+JRzswAAABAACLAAsAlAEAAJwBAQAeDgAArhEDAF0UAwDYGAEAyh50ABkgAAByIAEA3CABAP8jAwA=")
@@ -1 +0,0 @@
rn_("AQEBoGAAACUAYgHUIQAAJwAAAYagQAAAI3qwcCR0AQ2gMAAAJHGwYCOXAAGgUAAAJOQYIQw7MAAAAQAACAACAJoSBwAuHgAAAQIAOzAAAAEAAAcAAwCeGAQASx4AAKAjAQDzAAFr8pcQAAABAPOAAmNz")
@@ -1 +0,0 @@
rn_("AQQA8yQaAAABAF4GAQEBoAAAACWhcgFsGgAAE4ECoEAAAB9VYnABgAKwUCRIAJuwQCGxAAFjZSOCArAQGwEAAWV5AQEA8ysgAABLAAEAE4MCsAAfdwABZXMBBAD14iEAAAEAAQABAAEAEwICsDAldwABZXU6MAAAAQAAAAAACgAQAAAAeBi/GMAYZR5mHpQeGyCkIKUg4SDNIlOAA7CwJaUAAWZnbmOAA6AQAAAbVWRudgECAPMiGgAAAQC7CSOAArAgIQ8AAW5zAQUA9S4kAAABAAEAAQBzAfMDAWMBIRoAAPOAAmlvAYQCoDAAACV2oFAAACWWY3KXBwAAh6DAAAAlyKAwAAAkFJRICQF9JAAA")
@@ -0,0 +1 @@
rn_("AQAA9EAFAAAxFdIFAQABgAKgIAAAIy2gEAAAIkphcwGDAqBwAAAk/6CAAAAlQ2NzAQcBsFAknwCiY/J3IAAA3wAjgAKwMBj8AAFscgEAADswAAABAAAHAAMA3hgEAKEeAAAIJAEAAYACoHAAACRKoGAAACIvaG8BAwD0lSQAAAEAQwABAAEBAPSTJAAAAQBDAAEAE4ECoEAAACWIY20BAQA7MAAAAQAABgADAAUjAQAoJQMAkyUAACOAAqBgAAAlqG56AYACsBAbdgABoFAAACWHbngBBgD0VCUAAAEALQABAPcBAACHoHAAACXRoGAAACWJGAEP9iASAAABALcOAQCBAIUCAQMA9ZwbAAAfBQoCqgEBABcMAADKoJAAACWhoFAAACTtoEAAACSpoCAAABjZoGAAACFFsCAk8AABoKAAACW5wAUFDzswAAABAAAdAAsAwBAAANoQAQAEGQMA4h4DALcgAAAfIQMAWyIAAIskAAAuJQUAqSUCAMwlAgABAAGgIAAAG59y8gUfAADfAQEAArAwJL4AnLAgJHoAomJ1OjAAAAEAAAAAAAoAEAAAANkeqiDIIHYhEyN5JJAkzSQaJUglSSWnAwCAhrAQDoUNAqEAAAAlvAwIRQGAAqAwAAAhcqEQAAAmK2Vp5yMAAIuggAAAJCugQAAAJCig0AAAJe+gUAAAJMOwECQPAMy50Av3kwEAACoPAQBTAYQO2wA8BA==")
@@ -1 +0,0 @@
rn_("AYECoAAAACWYoAAAACWZNDYBBAGgAAAAJBtz86wkAAD5AAEAJwAAAYWhAAAAJaqgQAAAI8aggAAAJcSgUAAAJBwUABYBKx0AAMOAhKBAAAAgVbAQEr8AAQDwAA==")
@@ -0,0 +1 @@
rn_("AQQBoGAAACU8YgE+IQAAE4ACoCAAACJHb3UBgAKgEAAAH6ygwAAAJiN0dQGBAqCAAAAmBKBgAAAmF2RzY4GEoMAAACWxsJAl+AAtAxAIAQMA8ywkAAABAAEAAQUBoGAAACW4YgEQJAAAFwEAgoWgMAAAJbegYAAAJeygkAAAJaIEgA7HBACAx6BQAAAj4KAAAAAUQaBAAAAiULAwG4gAAQAKygE=")
@@ -0,0 +1 @@
rn_("AQEBoGAAACVrYgEyIgAAJwAAAYagQAAAI+KwcCTfAQygMAAAJNywYCP/AAGgUAAAJU8YIQw7MAAAAQAACAACAM0SBwCEHgAAAQIAOzAAAAEAAAcAAwDeGAQAoR4AAAgkAQDzAAFr8sUQAAABAPOAAmNz")
@@ -1 +0,0 @@
rn_("AQAAOzAAAAEAAAcAAgBSHgUAxCMBAAEJAPNLJAAAAQABAPMBAnBzOzAAAAEAAA0ABQArFAIAPhoAAPwgAQBtIgMAjiIDACOAAqBQAAAk8nByAQcBoEAAACWEYgEBJQAAE4YCsCAjrAABZG0TgAKggAAAJThvcgECArBwJTAAAaCQAAAlNnN38lMgAAABAAEBAaAwAAAlHXcB4yMAAPOCAmVpEwACoFAAACWCZXTzoBAAAAEAuRQBgwKgUAAAIrWwMCVIAAFjcAGBA6BQAAAjq6AAAAAlTaCwAAAlNWJkdAGAAqBAAAAlnKBgAAAlrmFy8wEBcwFDGwAAE4ACsEAj6QB5dHnzgAJhcgECAPSsGAAAAQCiBQ8GAQEA9ikUAAABABIGAQDhCQEAU4CEsFAgUQABsBAjjgABEUACAQIBsGAh0gABdPSPHgAAAQBZBXkAI4ACoFAAACEhYW8BBQD29CMAAAkAAQAvAQEAAQAjgQKgcAAAJChtcwEHAaBAAAAlfWIB+CQAAAEEAPStHgAAAQABANwBAQQBoGAAACVOYgGoIwAA84ACbG8BAQKgQAAAGx+ggAAAIcxmdPJ2HgAAAQB39wEAzaBwAAAg57AwHlAAAYAndgc6MAAAAQAAAAAAHwAQAAAAGQwaDBsMHAwdDB4MHwwgDDwMLw4wDs4RPxVAFUEVHx4zHlweBiB1IIwgFCHNIXgjeSN6I8kjyiPLIwYlByUIJQ==")
@@ -1 +0,0 @@
rn_("AQIBoAAAACB0czswAAABAAAGAAEAnCEGAPMAAWk7MAAAAQAACgACANQRAADbFAkAAYECoFAAACRRsAAexQHVZXPzgAJhcgGAAqAQAAAie6AQAAAkJG56AQAA9ewhAACiAQEAHQABAAGGAqAgAAAleqAwAAAlimlwE4ECoBAAACApYmUTgAKgUAAAIQ5ucgGFArAwJFQAm7AgJBAAoWJ1I4ACsCAhywIRaWznBQAAiKAwAAAkU6AwAAAiSLAgIOACllMJDDswAAABAAAWAAsAtxIGAHAYBADaGAIA5h8AAFciAAByJAAAeyUAAI4lAACaJQAArSUAAL0lAAA=")
@@ -1 +0,0 @@
rn_("AQUA8yAgAAABAAEA8wABczowAAABAAAAAAASABAAAABjDmQOXxBgEGEQzxEiGiMaoyDeILchuCG5IbohuyGQI94j9iM3JA==")

Some files were not shown because too many files have changed in this diff Show More