mirror of
https://github.com/n0-computer/iroh.git
synced 2026-12-01 00:01:52 +00:00
deploy: 1b252265309c39828ca5b595cd96e1c2b437a08e
This commit is contained in:
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,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="Environment variable to force the use of staging relays."><title>ENV_FORCE_STAGING_RELAYS in iroh::endpoint - 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 constant"><!--[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="#">ENV_FORCE_STAGING_RELAYS</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint</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</a></div><h1>Constant <span class="constant">ENV_<wbr>FORCE_<wbr>STAGING_<wbr>RELAYS</span> <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/endpoint.rs.html#1910">Source</a> </span></div><pre class="rust item-decl"><code>pub const ENV_FORCE_STAGING_RELAYS: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> = "IROH_FORCE_STAGING_RELAYS";</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Environment variable to force the use of staging relays.</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="Environment variable to force the use of staging relays."><title>ENV_FORCE_STAGING_RELAYS in iroh::endpoint - 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 constant"><!--[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="#">ENV_FORCE_STAGING_RELAYS</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint</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</a></div><h1>Constant <span class="constant">ENV_<wbr>FORCE_<wbr>STAGING_<wbr>RELAYS</span> <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/endpoint.rs.html#1914">Source</a> </span></div><pre class="rust item-decl"><code>pub const ENV_FORCE_STAGING_RELAYS: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> = "IROH_FORCE_STAGING_RELAYS";</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Environment variable to force the use of staging relays.</p>
|
||||
</div></details></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
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,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="Returns the default relay mode."><title>default_relay_mode in iroh::endpoint - 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="#">default_relay_mode</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint</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</a></div><h1>Function <span class="fn">default_<wbr>relay_<wbr>mode</span> <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/endpoint.rs.html#1921-1927">Source</a> </span></div><pre class="rust item-decl"><code>pub fn default_relay_mode() -> <a class="enum" href="enum.RelayMode.html" title="enum iroh::endpoint::RelayMode">RelayMode</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns the default relay mode.</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="Returns the default relay mode."><title>default_relay_mode in iroh::endpoint - 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="#">default_relay_mode</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint</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</a></div><h1>Function <span class="fn">default_<wbr>relay_<wbr>mode</span> <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/endpoint.rs.html#1925-1931">Source</a> </span></div><pre class="rust item-decl"><code>pub fn default_relay_mode() -> <a class="enum" href="enum.RelayMode.html" title="enum iroh::endpoint::RelayMode">RelayMode</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns the default relay mode.</p>
|
||||
<p>If the <code>IROH_FORCE_STAGING_RELAYS</code> environment variable is non empty, it will return <code>RelayMode::Staging</code>.
|
||||
Otherwise, it will return <code>RelayMode::Default</code>.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -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="Returns `true` if the use of staging relays is forced."><title>force_staging_infra in iroh::endpoint - 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="#">force_staging_infra</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint</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</a></div><h1>Function <span class="fn">force_<wbr>staging_<wbr>infra</span> <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/endpoint.rs.html#1913-1915">Source</a> </span></div><pre class="rust item-decl"><code>pub fn force_staging_infra() -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns <code>true</code> if the use of staging relays is forced.</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="Returns `true` if the use of staging relays is forced."><title>force_staging_infra in iroh::endpoint - 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="#">force_staging_infra</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint</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</a></div><h1>Function <span class="fn">force_<wbr>staging_<wbr>infra</span> <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/endpoint.rs.html#1917-1919">Source</a> </span></div><pre class="rust item-decl"><code>pub fn force_staging_infra() -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns <code>true</code> if the use of staging relays is forced.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -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="The `Endpoint` allows establishing connections to other iroh endpoints."><title>iroh::endpoint - 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</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module endpoint</a></h2><h3><a href="#reexports">Module Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><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>endpoint</span> <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/endpoint.rs.html#1-3909">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The <a href="struct.Endpoint.html" title="struct iroh::endpoint::Endpoint"><code>Endpoint</code></a> allows establishing connections to other iroh endpoints.</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="The `Endpoint` allows establishing connections to other iroh endpoints."><title>iroh::endpoint - 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</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module endpoint</a></h2><h3><a href="#reexports">Module Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><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>endpoint</span> <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/endpoint.rs.html#1-3913">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The <a href="struct.Endpoint.html" title="struct iroh::endpoint::Endpoint"><code>Endpoint</code></a> allows establishing connections to other iroh endpoints.</p>
|
||||
<p>The <a href="struct.Endpoint.html" title="struct iroh::endpoint::Endpoint"><code>Endpoint</code></a> is the main API interface to manage a local iroh endpoint. It allows
|
||||
connecting to and accepting connections from other endpoints. See the <a href="../index.html" title="mod iroh">module docs</a> for
|
||||
more details on how iroh connections work.</p>
|
||||
@@ -16,7 +16,9 @@ A chunk of data from the receive stream</dd><dt><a class="struct" href="struct.C
|
||||
Error indicating that a stream has not been opened or has already been finished or reset</dd><dt><a class="struct" href="struct.ConnectOptions.html" title="struct iroh::endpoint::ConnectOptions">Connect<wbr>Options</a></dt><dd>Options for the <a href="struct.Endpoint.html#method.connect_with_opts" title="method iroh::endpoint::Endpoint::connect_with_opts"><code>Endpoint::connect_with_opts</code></a> function.</dd><dt><a class="struct" href="struct.Connecting.html" title="struct iroh::endpoint::Connecting">Connecting</a></dt><dd>An outgoing connection in progress.</dd><dt><a class="struct" href="struct.Connection.html" title="struct iroh::endpoint::Connection">Connection</a></dt><dd>A QUIC connection.</dd><dt><a class="struct" href="struct.ConnectionClose.html" title="struct iroh::endpoint::ConnectionClose">Connection<wbr>Close</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Reason given by the transport for closing the connection</dd><dt><a class="struct" href="struct.ConnectionStats.html" title="struct iroh::endpoint::ConnectionStats">Connection<wbr>Stats</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Connection statistics.</dd><dt><a class="struct" href="struct.ControllerMetrics.html" title="struct iroh::endpoint::ControllerMetrics">Controller<wbr>Metrics</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Common congestion controller metrics</dd><dt><a class="struct" href="struct.CryptoError.html" title="struct iroh::endpoint::CryptoError">Crypto<wbr>Error</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Common congestion controller metrics used both for logging purposes
|
||||
but also to alter the pacing of the connection with
|
||||
<code>pacing_rate</code> and <code>send_quantum</code></dd><dt><a class="struct" href="struct.CryptoError.html" title="struct iroh::endpoint::CryptoError">Crypto<wbr>Error</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Generic crypto errors</dd><dt><a class="struct" href="struct.DecryptedInitial.html" title="struct iroh::endpoint::DecryptedInitial">Decrypted<wbr>Initial</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Decrypted payload of a QUIC Initial packet</dd><dt><a class="struct" href="struct.DirectAddr.html" title="struct iroh::endpoint::DirectAddr">Direct<wbr>Addr</a></dt><dd>A <em>direct address</em> on which an iroh-endpoint might be contactable.</dd><dt><a class="struct" href="struct.Endpoint.html" title="struct iroh::endpoint::Endpoint">Endpoint</a></dt><dd>Controls an iroh endpoint, establishing connections with other endpoints.</dd><dt><a class="struct" href="struct.EndpointClosed.html" title="struct iroh::endpoint::EndpointClosed">Endpoint<wbr>Closed</a></dt><dd>Future returned from <a href="struct.Endpoint.html#method.closed" title="method iroh::endpoint::Endpoint::closed"><code>Endpoint::closed</code></a>.</dd><dt><a class="struct" href="struct.ExportKeyingMaterialError.html" title="struct iroh::endpoint::ExportKeyingMaterialError">Export<wbr>Keying<wbr>Material<wbr>Error</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Error returned by [Session::export_keying_material].</dd><dt><a class="struct" href="struct.FrameStats.html" title="struct iroh::endpoint::FrameStats">Frame<wbr>Stats</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
@@ -36,7 +38,7 @@ RTT estimation for a particular network path</dd><dt><a class="struct" href="str
|
||||
Future produced by [<code>Connection::send_datagram_wait</code>]</dd><dt><a class="struct" href="struct.SendStream.html" title="struct iroh::endpoint::SendStream">Send<wbr>Stream</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
A stream that can only be used to send data</dd><dt><a class="struct" href="struct.ServerConfig.html" title="struct iroh::endpoint::ServerConfig">Server<wbr>Config</a></dt><dd>Parameters governing incoming connections</dd><dt><a class="struct" href="struct.ServerConfigBuilder.html" title="struct iroh::endpoint::ServerConfigBuilder">Server<wbr>Config<wbr>Builder</a></dt><dd>A builder for a <a href="struct.ServerConfig.html" title="struct iroh::endpoint::ServerConfig"><code>ServerConfig</code></a>.</dd><dt><a class="struct" href="struct.StreamId.html" title="struct iroh::endpoint::StreamId">Stream<wbr>Id</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Identifier for a stream within a particular connection</dd><dt><a class="struct" href="struct.TokenReuseError.html" title="struct iroh::endpoint::TokenReuseError">Token<wbr>Reuse<wbr>Error</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Error for when a validation token may have been reused</dd><dt><a class="struct" href="struct.TransportAddrInfo.html" title="struct iroh::endpoint::TransportAddrInfo">Transport<wbr>Addr<wbr>Info</a></dt><dd>Address of a remote with some metadata</dd><dt><a class="struct" href="struct.TransportBias.html" title="struct iroh::endpoint::TransportBias">Transport<wbr>Bias</a></dt><dd>Bias configuration for a transport type.</dd><dt><a class="struct" href="struct.TransportError.html" title="struct iroh::endpoint::TransportError">Transport<wbr>Error</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Error for when a validation token may have been reused</dd><dt><a class="struct" href="struct.TransportAddrInfo.html" title="struct iroh::endpoint::TransportAddrInfo">Transport<wbr>Addr<wbr>Info</a></dt><dd>Address of a remote with some metadata</dd><dt><a class="struct" href="struct.TransportError.html" title="struct iroh::endpoint::TransportError">Transport<wbr>Error</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Transport-level errors occur when a peer violates the protocol specification</dd><dt><a class="struct" href="struct.TransportErrorCode.html" title="struct iroh::endpoint::TransportErrorCode">Transport<wbr>Error<wbr>Code</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Transport-level error code</dd><dt><a class="struct" href="struct.TransportParameters.html" title="struct iroh::endpoint::TransportParameters">Transport<wbr>Parameters</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Transport parameters used to negotiate connection-level preferences between peers</dd><dt><a class="struct" href="struct.UdpStats.html" title="struct iroh::endpoint::UdpStats">UdpStats</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
@@ -46,7 +48,7 @@ Error indicating that the specified QUIC version is not supported</dd><dt><a cla
|
||||
Configuration for sending and handling validation tokens in incoming connections</dd><dt><a class="struct" href="struct.VarInt.html" title="struct iroh::endpoint::VarInt">VarInt</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
An integer less than 2^62</dd><dt><a class="struct" href="struct.VarIntBoundsExceeded.html" title="struct iroh::endpoint::VarIntBoundsExceeded">VarInt<wbr>Bounds<wbr>Exceeded</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Error returned when constructing a <code>VarInt</code> from a value >= 2^62</dd><dt><a class="struct" href="struct.WeakConnectionHandle.html" title="struct iroh::endpoint::WeakConnectionHandle">Weak<wbr>Connection<wbr>Handle</a></dt><dd>A weak handle to a <a href="struct.Connection.html" title="struct iroh::endpoint::Connection"><code>Connection</code></a>.</dd><dt><a class="struct" href="struct.Written.html" title="struct iroh::endpoint::Written">Written</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Indicates how many bytes and chunks had been transferred in a write operation</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.AddrKind.html" title="enum iroh::endpoint::AddrKind">Addr<wbr>Kind</a></dt><dd>The kind of a transport address, used for configuring bias.</dd><dt><a class="enum" href="enum.AfterHandshakeOutcome.html" title="enum iroh::endpoint::AfterHandshakeOutcome">After<wbr>Handshake<wbr>Outcome</a></dt><dd>Outcome of <a href="trait.EndpointHooks.html#method.after_handshake" title="method iroh::endpoint::EndpointHooks::after_handshake"><code>EndpointHooks::after_handshake</code></a></dd><dt><a class="enum" href="enum.AlpnError.html" title="enum iroh::endpoint::AlpnError">Alpn<wbr>Error</a></dt><dt><a class="enum" href="enum.AuthenticationError.html" title="enum iroh::endpoint::AuthenticationError">Authentication<wbr>Error</a></dt><dt><a class="enum" href="enum.BeforeConnectOutcome.html" title="enum iroh::endpoint::BeforeConnectOutcome">Before<wbr>Connect<wbr>Outcome</a></dt><dd>Outcome of <a href="trait.EndpointHooks.html#method.before_connect" title="method iroh::endpoint::EndpointHooks::before_connect"><code>EndpointHooks::before_connect</code></a></dd><dt><a class="enum" href="enum.BindError.html" title="enum iroh::endpoint::BindError">Bind<wbr>Error</a></dt><dt><a class="enum" href="enum.ConnectError.html" title="enum iroh::endpoint::ConnectError">Connect<wbr>Error</a></dt><dt><a class="enum" href="enum.ConnectWithOptsError.html" title="enum iroh::endpoint::ConnectWithOptsError">Connect<wbr>With<wbr>Opts<wbr>Error</a></dt><dt><a class="enum" href="enum.ConnectingError.html" title="enum iroh::endpoint::ConnectingError">Connecting<wbr>Error</a></dt><dt><a class="enum" href="enum.ConnectionError.html" title="enum iroh::endpoint::ConnectionError">Connection<wbr>Error</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Indicates how many bytes and chunks had been transferred in a write operation</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.AfterHandshakeOutcome.html" title="enum iroh::endpoint::AfterHandshakeOutcome">After<wbr>Handshake<wbr>Outcome</a></dt><dd>Outcome of <a href="trait.EndpointHooks.html#method.after_handshake" title="method iroh::endpoint::EndpointHooks::after_handshake"><code>EndpointHooks::after_handshake</code></a></dd><dt><a class="enum" href="enum.AlpnError.html" title="enum iroh::endpoint::AlpnError">Alpn<wbr>Error</a></dt><dt><a class="enum" href="enum.AuthenticationError.html" title="enum iroh::endpoint::AuthenticationError">Authentication<wbr>Error</a></dt><dt><a class="enum" href="enum.BeforeConnectOutcome.html" title="enum iroh::endpoint::BeforeConnectOutcome">Before<wbr>Connect<wbr>Outcome</a></dt><dd>Outcome of <a href="trait.EndpointHooks.html#method.before_connect" title="method iroh::endpoint::EndpointHooks::before_connect"><code>EndpointHooks::before_connect</code></a></dd><dt><a class="enum" href="enum.BindError.html" title="enum iroh::endpoint::BindError">Bind<wbr>Error</a></dt><dt><a class="enum" href="enum.ConnectError.html" title="enum iroh::endpoint::ConnectError">Connect<wbr>Error</a></dt><dt><a class="enum" href="enum.ConnectWithOptsError.html" title="enum iroh::endpoint::ConnectWithOptsError">Connect<wbr>With<wbr>Opts<wbr>Error</a></dt><dt><a class="enum" href="enum.ConnectingError.html" title="enum iroh::endpoint::ConnectingError">Connecting<wbr>Error</a></dt><dt><a class="enum" href="enum.ConnectionError.html" title="enum iroh::endpoint::ConnectionError">Connection<wbr>Error</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Reasons why a connection might be lost</dd><dt><a class="enum" href="enum.Dir.html" title="enum iroh::endpoint::Dir">Dir</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Whether a stream communicates data in both directions or only from the initiator</dd><dt><a class="enum" href="enum.DirectAddrType.html" title="enum iroh::endpoint::DirectAddrType">Direct<wbr>Addr<wbr>Type</a></dt><dd>The type of direct address.</dd><dt><a class="enum" href="enum.EndpointError.html" title="enum iroh::endpoint::EndpointError">Endpoint<wbr>Error</a></dt><dt><a class="enum" href="enum.FrameType.html" title="enum iroh::endpoint::FrameType">Frame<wbr>Type</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.</dd><dt><a class="enum" href="enum.IncomingAddr.html" title="enum iroh::endpoint::IncomingAddr">Incoming<wbr>Addr</a></dt><dd>The remote address for an incoming connection.</dd><dt><a class="enum" href="enum.IncomingLocalAddr.html" title="enum iroh::endpoint::IncomingLocalAddr">Incoming<wbr>Local<wbr>Addr</a></dt><dd>The local address that received an incoming connection.</dd><dt><a class="enum" href="enum.InvalidSocketAddr.html" title="enum iroh::endpoint::InvalidSocketAddr">Invalid<wbr>Socket<wbr>Addr</a><wbr><span class="stab portability" title="Available on non-`wasm_browser` only">Non-<code>wasm_browser</code></span></dt><dt><a class="enum" href="enum.PortmapperConfig.html" title="enum iroh::endpoint::PortmapperConfig">Portmapper<wbr>Config</a></dt><dd>Configuration for the portmapper service (UPnP, PCP, NAT-PMP).</dd><dt><a class="enum" href="enum.QuicConnectError.html" title="enum iroh::endpoint::QuicConnectError">Quic<wbr>Connect<wbr>Error</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Errors in the parameters being used to create a new connection</dd><dt><a class="enum" href="enum.ReadError.html" title="enum iroh::endpoint::ReadError">Read<wbr>Error</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
@@ -55,8 +57,7 @@ Errors that arise from reading from a stream.</dd><dt><a class="enum" href="enum
|
||||
Errors from <a href="struct.RecvStream.html#method.read_to_end" title="method iroh::endpoint::RecvStream::read_to_end"><code>RecvStream::read_to_end</code></a></dd><dt><a class="enum" href="enum.RelayMode.html" title="enum iroh::endpoint::RelayMode">Relay<wbr>Mode</a></dt><dd>Configuration of the relay servers for an <a href="struct.Endpoint.html" title="struct iroh::endpoint::Endpoint"><code>Endpoint</code></a>.</dd><dt><a class="enum" href="enum.ResetError.html" title="enum iroh::endpoint::ResetError">Reset<wbr>Error</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Errors that arise while waiting for a stream to be reset</dd><dt><a class="enum" href="enum.SendDatagramError.html" title="enum iroh::endpoint::SendDatagramError">Send<wbr>Datagram<wbr>Error</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Errors that can arise when sending a datagram</dd><dt><a class="enum" href="enum.Side.html" title="enum iroh::endpoint::Side">Side</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Whether an endpoint was the initiator of a connection</dd><dt><a class="enum" href="enum.Source.html" title="enum iroh::endpoint::Source">Source</a></dt><dd>The origin or <em>source</em> through which an address associated with a remote endpoint
|
||||
was discovered.</dd><dt><a class="enum" href="enum.StoppedError.html" title="enum iroh::endpoint::StoppedError">Stopped<wbr>Error</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Whether an endpoint was the initiator of a connection</dd><dt><a class="enum" href="enum.StoppedError.html" title="enum iroh::endpoint::StoppedError">Stopped<wbr>Error</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Errors that arise while monitoring for a send stream stop from the peer</dd><dt><a class="enum" href="enum.TransportAddrUsage.html" title="enum iroh::endpoint::TransportAddrUsage">Transport<wbr>Addr<wbr>Usage</a></dt><dd>Information how a transport address is used.</dd><dt><a class="enum" href="enum.WriteError.html" title="enum iroh::endpoint::WriteError">Write<wbr>Error</a></dt><dd><code>noq</code> types that are used in the public iroh API.
|
||||
Errors that arise from writing to a stream</dd><dt><a class="enum" href="enum.ZeroRttStatus.html" title="enum iroh::endpoint::ZeroRttStatus">Zero<wbr>RttStatus</a></dt><dd>Returned from <a href="struct.Connection.html#method.handshake_completed" title="method iroh::endpoint::Connection::handshake_completed"><code>OutgoingZeroRttConnection::handshake_completed</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.ENV_FORCE_STAGING_RELAYS.html" title="constant iroh::endpoint::ENV_FORCE_STAGING_RELAYS">ENV_<wbr>FORCE_<wbr>STAGING_<wbr>RELAYS</a></dt><dd>Environment variable to force the use of staging relays.</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.ConnectionState.html" title="trait iroh::endpoint::ConnectionState">Connection<wbr>State</a></dt><dd>Trait to track the state of a <a href="struct.Connection.html" title="struct iroh::endpoint::Connection"><code>Connection</code></a> at compile time.</dd><dt><a class="trait" href="trait.Controller.html" title="trait iroh::endpoint::Controller">Controller</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Common interface for different congestion controllers</dd><dt><a class="trait" href="trait.ControllerFactory.html" title="trait iroh::endpoint::ControllerFactory">Controller<wbr>Factory</a></dt><dd><code>noq_proto</code> types that are used in the public iroh API.
|
||||
|
||||
@@ -1 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"constant":["ENV_FORCE_STAGING_RELAYS"],"enum":["AddrKind","AfterHandshakeOutcome","AlpnError","AuthenticationError","BeforeConnectOutcome","BindError","ConnectError","ConnectWithOptsError","ConnectingError","ConnectionError","Dir","DirectAddrType","EndpointError","FrameType","IncomingAddr","IncomingLocalAddr","InvalidSocketAddr","PortmapperConfig","QuicConnectError","ReadError","ReadExactError","ReadToEndError","RelayMode","ResetError","SendDatagramError","Side","Source","StoppedError","TransportAddrUsage","WriteError","ZeroRttStatus"],"fn":["default_relay_mode","force_staging_infra"],"mod":["presets","transports"],"struct":["Accept","AcceptBi","AcceptUni","Accepting","AckFrequencyConfig","ApplicationClose","BindOpts","Builder","Chunk","ClosedStream","ConnectOptions","Connecting","Connection","ConnectionClose","ConnectionStats","ControllerMetrics","CryptoError","DecryptedInitial","DirectAddr","Endpoint","EndpointClosed","ExportKeyingMaterialError","FrameStats","HandshakeCompleted","IdleTimeout","Incoming","IncomingAlpns","IncomingZeroRtt","Keys","MtuDiscoveryConfig","OpenBi","OpenUni","OutgoingZeroRtt","PathId","PathInfo","PathInfoList","PathInfoListIter","PathStats","PathWatcher","QlogConfig","QlogFileFactory","QuicTransportConfig","QuicTransportConfigBuilder","ReadDatagram","RecvStream","RelayStatus","RemoteEndpointIdError","RemoteInfo","RetryError","RttEstimator","SendDatagram","SendStream","ServerConfig","ServerConfigBuilder","StreamId","TokenReuseError","TransportAddrInfo","TransportBias","TransportError","TransportErrorCode","TransportParameters","UdpStats","UnorderedRecvStream","UnsupportedVersion","ValidationTokenConfig","VarInt","VarIntBoundsExceeded","WeakConnectionHandle","Written"],"trait":["ConnectionState","Controller","ControllerFactory","EndpointHooks","HandshakeTokenKey","HeaderKey","PacketKey","QlogFactory","TimeSource","ToSocketAddr","TokenLog"],"type":["IncomingZeroRttConnection","OutgoingZeroRttConnection"]};
|
||||
window.SIDEBAR_ITEMS = {"constant":["ENV_FORCE_STAGING_RELAYS"],"enum":["AfterHandshakeOutcome","AlpnError","AuthenticationError","BeforeConnectOutcome","BindError","ConnectError","ConnectWithOptsError","ConnectingError","ConnectionError","Dir","DirectAddrType","EndpointError","FrameType","IncomingAddr","IncomingLocalAddr","InvalidSocketAddr","PortmapperConfig","QuicConnectError","ReadError","ReadExactError","ReadToEndError","RelayMode","ResetError","SendDatagramError","Side","StoppedError","TransportAddrUsage","WriteError","ZeroRttStatus"],"fn":["default_relay_mode","force_staging_infra"],"mod":["presets","transports"],"struct":["Accept","AcceptBi","AcceptUni","Accepting","AckFrequencyConfig","ApplicationClose","BindOpts","Builder","Chunk","ClosedStream","ConnectOptions","Connecting","Connection","ConnectionClose","ConnectionStats","ControllerMetrics","CryptoError","DecryptedInitial","DirectAddr","Endpoint","EndpointClosed","ExportKeyingMaterialError","FrameStats","HandshakeCompleted","IdleTimeout","Incoming","IncomingAlpns","IncomingZeroRtt","Keys","MtuDiscoveryConfig","OpenBi","OpenUni","OutgoingZeroRtt","PathId","PathInfo","PathInfoList","PathInfoListIter","PathStats","PathWatcher","QlogConfig","QlogFileFactory","QuicTransportConfig","QuicTransportConfigBuilder","ReadDatagram","RecvStream","RelayStatus","RemoteEndpointIdError","RemoteInfo","RetryError","RttEstimator","SendDatagram","SendStream","ServerConfig","ServerConfigBuilder","StreamId","TokenReuseError","TransportAddrInfo","TransportError","TransportErrorCode","TransportParameters","UdpStats","UnorderedRecvStream","UnsupportedVersion","ValidationTokenConfig","VarInt","VarIntBoundsExceeded","WeakConnectionHandle","Written"],"trait":["ConnectionState","Controller","ControllerFactory","EndpointHooks","HandshakeTokenKey","HeaderKey","PacketKey","QlogFactory","TimeSource","ToSocketAddr","TokenLog"],"type":["IncomingZeroRttConnection","OutgoingZeroRttConnection"]};
|
||||
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
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
@@ -1,8 +1,8 @@
|
||||
<!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="`noq_proto` types that are used in the public iroh API. Common interface for different congestion controllers"><title>Controller in iroh::endpoint - 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="#">Controller</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Controller</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.clone_box" title="clone_box">clone_box</a></li><li><a href="#tymethod.initial_window" title="initial_window">initial_window</a></li><li><a href="#tymethod.into_any" title="into_any">into_any</a></li><li><a href="#tymethod.on_congestion_event" title="on_congestion_event">on_congestion_event</a></li><li><a href="#tymethod.on_mtu_update" title="on_mtu_update">on_mtu_update</a></li><li><a href="#tymethod.window" title="window">window</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.metrics" title="metrics">metrics</a></li><li><a href="#method.on_ack" title="on_ack">on_ack</a></li><li><a href="#method.on_end_acks" title="on_end_acks">on_end_acks</a></li><li><a href="#method.on_sent" title="on_sent">on_sent</a></li><li><a href="#method.on_spurious_congestion_event" title="on_spurious_congestion_event">on_spurious_congestion_event</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint</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</a></div><h1>Trait <span class="trait">Controller</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait Controller:
|
||||
<!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="`noq_proto` types that are used in the public iroh API. Common interface for different congestion controllers"><title>Controller in iroh::endpoint - 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="#">Controller</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Controller</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.clone_box" title="clone_box">clone_box</a></li><li><a href="#tymethod.initial_window" title="initial_window">initial_window</a></li><li><a href="#tymethod.into_any" title="into_any">into_any</a></li><li><a href="#tymethod.on_congestion_event" title="on_congestion_event">on_congestion_event</a></li><li><a href="#tymethod.on_mtu_update" title="on_mtu_update">on_mtu_update</a></li><li><a href="#tymethod.window" title="window">window</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.metrics" title="metrics">metrics</a></li><li><a href="#method.on_ack" title="on_ack">on_ack</a></li><li><a href="#method.on_ack_frequency_update" title="on_ack_frequency_update">on_ack_frequency_update</a></li><li><a href="#method.on_end_acks" title="on_end_acks">on_end_acks</a></li><li><a href="#method.on_packet_lost" title="on_packet_lost">on_packet_lost</a></li><li><a href="#method.on_packet_sent" title="on_packet_sent">on_packet_sent</a></li><li><a href="#method.on_sent" title="on_sent">on_sent</a></li><li><a href="#method.on_spurious_congestion_event" title="on_spurious_congestion_event">on_spurious_congestion_event</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>endpoint</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</a></div><h1>Trait <span class="trait">Controller</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait Controller:
|
||||
<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>
|
||||
+ <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>
|
||||
+ <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> {
|
||||
// Required methods
|
||||
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 14 methods</span></summary> // Required methods
|
||||
fn <a href="#tymethod.on_congestion_event" class="fn">on_congestion_event</a>(
|
||||
&mut self,
|
||||
now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>,
|
||||
@@ -10,6 +10,7 @@
|
||||
is_persistent_congestion: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
is_ecn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
lost_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
largest_lost_pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
);
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.on_mtu_update" class="fn">on_mtu_update</a>(&mut self, new_mtu: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>);
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.window" class="fn">window</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
||||
@@ -18,12 +19,14 @@
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.into_any" class="fn">into_any</a>(self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>>;
|
||||
|
||||
// Provided methods
|
||||
fn <a href="#method.on_sent" class="fn">on_sent</a>(&mut self, now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>, bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, last_packet_number: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) { ... }
|
||||
fn <a href="#method.on_sent" class="fn">on_sent</a>(&mut self, now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>, bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, largest_pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.on_packet_sent" class="fn">on_packet_sent</a>(&mut self, now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>, bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.on_ack" class="fn">on_ack</a>(
|
||||
&mut self,
|
||||
now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>,
|
||||
sent: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>,
|
||||
bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
app_limited: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
rtt: &<a class="struct" href="struct.RttEstimator.html" title="struct iroh::endpoint::RttEstimator">RttEstimator</a>,
|
||||
) { ... }
|
||||
@@ -34,9 +37,15 @@
|
||||
app_limited: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
largest_packet_num_acked: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>>,
|
||||
) { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.on_packet_lost" class="fn">on_packet_lost</a>(&mut self, lost_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>) { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.on_spurious_congestion_event" class="fn">on_spurious_congestion_event</a>(&mut self) { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.on_ack_frequency_update" class="fn">on_ack_frequency_update</a>(
|
||||
&mut self,
|
||||
ack_eliciting_threshold: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
requested_max_ack_delay: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>,
|
||||
) { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.metrics" class="fn">metrics</a>(&self) -> <a class="struct" href="struct.ControllerMetrics.html" title="struct iroh::endpoint::ControllerMetrics">ControllerMetrics</a> { ... }
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>noq_proto</code> types that are used in the public iroh API.
|
||||
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Common interface for different congestion controllers</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.on_congestion_event" class="method"><h4 class="code-header">fn <a href="#tymethod.on_congestion_event" class="fn">on_congestion_event</a>(
|
||||
&mut self,
|
||||
@@ -45,22 +54,27 @@ Common interface for different congestion controllers</p>
|
||||
is_persistent_congestion: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
is_ecn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
lost_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
largest_lost_pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
)</h4></section></summary><div class="docblock"><p>Packets were deemed lost or marked congested</p>
|
||||
<p><code>in_persistent_congestion</code> indicates whether all packets sent within the persistent
|
||||
congestion threshold period ending when the most recent packet in this batch was sent were
|
||||
lost.
|
||||
<code>lost_bytes</code> indicates how many bytes were lost. This value will be 0 for ECN triggers.</p>
|
||||
<code>lost_bytes</code> indicates how many bytes were lost. This value will be 0 for ECN triggers.
|
||||
<code>largest_lost_pn</code> indicates the packet number of the packet with the highest packet number
|
||||
in the congestion event.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.on_mtu_update" class="method"><h4 class="code-header">fn <a href="#tymethod.on_mtu_update" class="fn">on_mtu_update</a>(&mut self, new_mtu: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>)</h4></section></summary><div class="docblock"><p>The known MTU for the current network path has been updated</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.window" class="method"><h4 class="code-header">fn <a href="#tymethod.window" class="fn">window</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Number of ack-eliciting bytes that may be in flight</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.clone_box" class="method"><h4 class="code-header">fn <a href="#tymethod.clone_box" class="fn">clone_box</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.Controller.html" title="trait iroh::endpoint::Controller">Controller</a>></h4></section></summary><div class="docblock"><p>Duplicate the controller’s state</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.initial_window" class="method"><h4 class="code-header">fn <a href="#tymethod.initial_window" class="fn">initial_window</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Initial congestion window</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.into_any" class="method"><h4 class="code-header">fn <a href="#tymethod.into_any" class="fn">into_any</a>(self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class="docblock"><p>Returns Self for use in down-casting to extract implementation details</p>
|
||||
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.on_sent" class="method"><h4 class="code-header">fn <a href="#method.on_sent" class="fn">on_sent</a>(&mut self, now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>, bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, last_packet_number: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</h4></section></summary><div class="docblock"><p>One or more packets were just sent</p>
|
||||
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.on_sent" class="method"><h4 class="code-header">fn <a href="#method.on_sent" class="fn">on_sent</a>(&mut self, now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>, bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, largest_pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</h4></section></summary><div class="docblock"><p>One or more packets were just sent</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.on_packet_sent" class="method"><h4 class="code-header">fn <a href="#method.on_packet_sent" class="fn">on_packet_sent</a>(&mut self, now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>, bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</h4></section></summary><div class="docblock"><p>One packet was just sent</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.on_ack" class="method"><h4 class="code-header">fn <a href="#method.on_ack" class="fn">on_ack</a>(
|
||||
&mut self,
|
||||
now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>,
|
||||
sent: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>,
|
||||
bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
app_limited: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
rtt: &<a class="struct" href="struct.RttEstimator.html" title="struct iroh::endpoint::RttEstimator">RttEstimator</a>,
|
||||
)</h4></section></summary><div class="docblock"><p>Packet deliveries were confirmed</p>
|
||||
@@ -73,8 +87,22 @@ application data prior to receiving these acknowledgements.</p>
|
||||
app_limited: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
largest_packet_num_acked: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>>,
|
||||
)</h4></section></summary><div class="docblock"><p>Packets are acked in batches, all with the same <code>now</code> argument. This indicates one of those batches has completed.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.on_packet_lost" class="method"><h4 class="code-header">fn <a href="#method.on_packet_lost" class="fn">on_packet_lost</a>(&mut self, lost_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>, pn: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>)</h4></section></summary><div class="docblock"><p>One packet was just lost</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.on_spurious_congestion_event" class="method"><h4 class="code-header">fn <a href="#method.on_spurious_congestion_event" class="fn">on_spurious_congestion_event</a>(&mut self)</h4></section></summary><div class="docblock"><p>Packets were incorrectly deemed lost</p>
|
||||
<p>This function is called when all packets that were deemed lost (for instance because
|
||||
of packet reordering) are acknowledged after the congestion event was raised.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.metrics" class="method"><h4 class="code-header">fn <a href="#method.metrics" class="fn">metrics</a>(&self) -> <a class="struct" href="struct.ControllerMetrics.html" title="struct iroh::endpoint::ControllerMetrics">ControllerMetrics</a></h4></section></summary><div class="docblock"><p>Retrieve implementation-specific metrics used to populate <code>qlog</code> traces when they are enabled</p>
|
||||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Controller-for-Bbr" class="impl"><a href="#impl-Controller-for-Bbr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Controller.html" title="trait iroh::endpoint::Controller">Controller</a> for Bbr</h3></section><section id="impl-Controller-for-Cubic" class="impl"><a href="#impl-Controller-for-Cubic" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Controller.html" title="trait iroh::endpoint::Controller">Controller</a> for Cubic</h3></section><section id="impl-Controller-for-NewReno" class="impl"><a href="#impl-Controller-for-NewReno" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Controller.html" title="trait iroh::endpoint::Controller">Controller</a> for NewReno</h3></section></div><script src="../../trait.impl/noq_proto/congestion/trait.Controller.js" data-ignore-extern-crates="noq_proto" async></script></section></div></main></body></html>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.on_ack_frequency_update" class="method"><h4 class="code-header">fn <a href="#method.on_ack_frequency_update" class="fn">on_ack_frequency_update</a>(
|
||||
&mut self,
|
||||
ack_eliciting_threshold: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
requested_max_ack_delay: <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a>,
|
||||
)</h4></section></summary><div class="docblock"><p>The peer’s ACK-frequency parameters have changed</p>
|
||||
<p><code>ack_eliciting_threshold</code> is the number of ack-eliciting packets the peer may receive
|
||||
before being required to send an immediate ACK (per the QUIC ACK frequency extension).
|
||||
<code>requested_max_ack_delay</code> is the maximum delay we asked the peer to wait before sending
|
||||
an ACK when the threshold hasn’t been reached.</p>
|
||||
<p>Controllers can use this to refine estimates that depend on peer ACK behavior (e.g.
|
||||
BBR’s offload budget).</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.metrics" class="method"><h4 class="code-header">fn <a href="#method.metrics" class="fn">metrics</a>(&self) -> <a class="struct" href="struct.ControllerMetrics.html" title="struct iroh::endpoint::ControllerMetrics">ControllerMetrics</a></h4></section></summary><div class="docblock"><p>Retrieve implementation-specific metrics used to populate <code>qlog</code> traces when they are enabled
|
||||
This is also used to alter the pacing of the connection with
|
||||
<code>pacing_rate</code> and <code>send_quantum</code></p>
|
||||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Controller-for-Bbr3" class="impl"><a href="#impl-Controller-for-Bbr3" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Controller.html" title="trait iroh::endpoint::Controller">Controller</a> for Bbr3</h3></section><section id="impl-Controller-for-Cubic" class="impl"><a href="#impl-Controller-for-Cubic" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Controller.html" title="trait iroh::endpoint::Controller">Controller</a> for Cubic</h3></section><section id="impl-Controller-for-NewReno" class="impl"><a href="#impl-Controller-for-NewReno" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Controller.html" title="trait iroh::endpoint::Controller">Controller</a> for NewReno</h3></section></div><script src="../../trait.impl/noq_proto/congestion/trait.Controller.js" data-ignore-extern-crates="noq_proto" async></script></section></div></main></body></html>
|
||||
@@ -8,4 +8,4 @@
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>noq_proto</code> types that are used in the public iroh API.
|
||||
Constructs controllers on demand</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.build" class="method"><h4 class="code-header">fn <a href="#tymethod.build" class="fn">build</a>(self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>, now: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.Instant.html" title="struct std::time::Instant">Instant</a>, current_mtu: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="trait.Controller.html" title="trait iroh::endpoint::Controller">Controller</a>></h4></section></summary><div class="docblock"><p>Construct a fresh <code>Controller</code></p>
|
||||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-ControllerFactory-for-BbrConfig" class="impl"><a href="#impl-ControllerFactory-for-BbrConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ControllerFactory.html" title="trait iroh::endpoint::ControllerFactory">ControllerFactory</a> for BbrConfig</h3></section><section id="impl-ControllerFactory-for-CubicConfig" class="impl"><a href="#impl-ControllerFactory-for-CubicConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ControllerFactory.html" title="trait iroh::endpoint::ControllerFactory">ControllerFactory</a> for CubicConfig</h3></section><section id="impl-ControllerFactory-for-NewRenoConfig" class="impl"><a href="#impl-ControllerFactory-for-NewRenoConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ControllerFactory.html" title="trait iroh::endpoint::ControllerFactory">ControllerFactory</a> for NewRenoConfig</h3></section></div><script src="../../trait.impl/noq_proto/congestion/trait.ControllerFactory.js" data-ignore-extern-crates="noq_proto" async></script></section></div></main></body></html>
|
||||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-ControllerFactory-for-Bbr3Config" class="impl"><a href="#impl-ControllerFactory-for-Bbr3Config" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ControllerFactory.html" title="trait iroh::endpoint::ControllerFactory">ControllerFactory</a> for Bbr3Config</h3></section><section id="impl-ControllerFactory-for-CubicConfig" class="impl"><a href="#impl-ControllerFactory-for-CubicConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ControllerFactory.html" title="trait iroh::endpoint::ControllerFactory">ControllerFactory</a> for CubicConfig</h3></section><section id="impl-ControllerFactory-for-NewRenoConfig" class="impl"><a href="#impl-ControllerFactory-for-NewRenoConfig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.ControllerFactory.html" title="trait iroh::endpoint::ControllerFactory">ControllerFactory</a> for NewRenoConfig</h3></section></div><script src="../../trait.impl/noq_proto/congestion/trait.ControllerFactory.js" data-ignore-extern-crates="noq_proto" async></script></section></div></main></body></html>
|
||||
@@ -11,7 +11,7 @@
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-Addr" class="impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#534">Source</a><a href="#impl-Ord-for-Addr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="enum" href="enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#534">Source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&self, other: &<a class="enum" href="enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1021-1023">Source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -> Self<div class="where">where
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1060-1062">Source</a></span><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min" class="fn">min</a>(self, other: Self) -> Self<div class="where">where
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.50.0">1.50.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1086-1088">Source</a></span><a href="#method.clamp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -> Self<div class="where">where
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CTransportAddr%3E-for-Addr" class="impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#881-895">Source</a><a href="#impl-PartialEq%3CTransportAddr%3E-for-Addr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../../enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>> for <a class="enum" href="enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#882-894">Source</a><a href="#method.eq-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="enum" href="../../enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CTransportAddr%3E-for-Addr" class="impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#886-900">Source</a><a href="#impl-PartialEq%3CTransportAddr%3E-for-Addr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../../enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>> for <a class="enum" href="enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#887-899">Source</a><a href="#method.eq-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="enum" href="../../enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-Addr" class="impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#534">Source</a><a href="#impl-PartialEq-for-Addr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#534">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="enum" href="enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd-for-Addr" class="impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#534">Source</a><a href="#impl-PartialOrd-for-Addr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="enum" href="enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a class="src rightside" href="../../../src/iroh/socket/transports.rs.html#534">Source</a><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, other: &<a class="enum" href="enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1398">Source</a></span><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1416">Source</a></span><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||||
<code><=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1434">Source</a></span><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||||
|
||||
+5
-5
File diff suppressed because one or more lines are too long
@@ -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="Types for defining custom transports"><title>iroh::endpoint::transports - 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 transports</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module transports</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="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh::<wbr>endpoint</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</a></div><h1>Module <span>transports</span> <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/endpoint.rs.html#31">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>unstable-custom-transports</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Types for defining custom transports</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.RecvInfo.html" title="struct iroh::endpoint::transports::RecvInfo">Recv<wbr>Info</a></dt><dd>Per-packet recv data filled in by transports during <a href="trait.CustomEndpoint.html#tymethod.poll_recv" title="method iroh::endpoint::transports::CustomEndpoint::poll_recv"><code>poll_recv</code></a>.</dd><dt><a class="struct" href="struct.Transmit.html" title="struct iroh::endpoint::transports::Transmit">Transmit</a></dt><dd>An outgoing packet</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.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a></dt><dd>Transports address.</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.CustomEndpoint.html" title="trait iroh::endpoint::transports::CustomEndpoint">Custom<wbr>Endpoint</a></dt><dd>Custom endpoint created by a <a href="trait.CustomTransport.html" title="trait iroh::endpoint::transports::CustomTransport">CustomTransport</a>.</dd><dt><a class="trait" href="trait.CustomSender.html" title="trait iroh::endpoint::transports::CustomSender">Custom<wbr>Sender</a></dt><dd>Custom sender</dd><dt><a class="trait" href="trait.CustomTransport.html" title="trait iroh::endpoint::transports::CustomTransport">Custom<wbr>Transport</a></dt><dd>Custom transport.</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.RecvInfo.html" title="struct iroh::endpoint::transports::RecvInfo">Recv<wbr>Info</a></dt><dd>Per-packet recv data filled in by transports during <a href="trait.CustomEndpoint.html#tymethod.poll_recv" title="method iroh::endpoint::transports::CustomEndpoint::poll_recv"><code>poll_recv</code></a>.</dd><dt><a class="struct" href="struct.Transmit.html" title="struct iroh::endpoint::transports::Transmit">Transmit</a></dt><dd>An outgoing packet</dd><dt><a class="struct" href="struct.TransportBias.html" title="struct iroh::endpoint::transports::TransportBias">Transport<wbr>Bias</a></dt><dd>Bias configuration for a transport type.</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.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a></dt><dd>Transports address.</dd><dt><a class="enum" href="enum.AddrKind.html" title="enum iroh::endpoint::transports::AddrKind">Addr<wbr>Kind</a></dt><dd>The kind of a transport address, used for configuring bias.</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.CustomEndpoint.html" title="trait iroh::endpoint::transports::CustomEndpoint">Custom<wbr>Endpoint</a></dt><dd>Custom endpoint created by a <a href="trait.CustomTransport.html" title="trait iroh::endpoint::transports::CustomTransport">CustomTransport</a>.</dd><dt><a class="trait" href="trait.CustomSender.html" title="trait iroh::endpoint::transports::CustomSender">Custom<wbr>Sender</a></dt><dd>Custom sender</dd><dt><a class="trait" href="trait.CustomTransport.html" title="trait iroh::endpoint::transports::CustomTransport">Custom<wbr>Transport</a></dt><dd>Custom transport.</dd></dl></section></div></main></body></html>
|
||||
@@ -1 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"enum":["Addr"],"struct":["RecvInfo","Transmit"],"trait":["CustomEndpoint","CustomSender","CustomTransport"]};
|
||||
window.SIDEBAR_ITEMS = {"enum":["Addr","AddrKind"],"struct":["RecvInfo","Transmit","TransportBias"],"trait":["CustomEndpoint","CustomSender","CustomTransport"]};
|
||||
+9
-9
File diff suppressed because one or more lines are too long
@@ -19,7 +19,7 @@
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-TransportAddr" class="impl"><a class="src rightside" href="../src/iroh_base/endpoint_addr.rs.html#51">Source</a><a href="#impl-Ord-for-TransportAddr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/iroh_base/endpoint_addr.rs.html#51">Source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&self, other: &<a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1021-1023">Source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -> Self<div class="where">where
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1060-1062">Source</a></span><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min" class="fn">min</a>(self, other: Self) -> Self<div class="where">where
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.50.0">1.50.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1086-1088">Source</a></span><a href="#method.clamp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -> Self<div class="where">where
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CTransportAddr%3E-for-Addr" class="impl"><a class="src rightside" href="../src/iroh/socket/transports.rs.html#881-895">Source</a><a href="#impl-PartialEq%3CTransportAddr%3E-for-Addr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>> for <a class="enum" href="endpoint/transports/enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-1" class="method trait-impl"><a class="src rightside" href="../src/iroh/socket/transports.rs.html#882-894">Source</a><a href="#method.eq-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CTransportAddr%3E-for-Addr" class="impl"><a class="src rightside" href="../src/iroh/socket/transports.rs.html#886-900">Source</a><a href="#impl-PartialEq%3CTransportAddr%3E-for-Addr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>> for <a class="enum" href="endpoint/transports/enum.Addr.html" title="enum iroh::endpoint::transports::Addr">Addr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-1" class="method trait-impl"><a class="src rightside" href="../src/iroh/socket/transports.rs.html#887-899">Source</a><a href="#method.eq-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-TransportAddr" class="impl"><a class="src rightside" href="../src/iroh_base/endpoint_addr.rs.html#51">Source</a><a href="#impl-PartialEq-for-TransportAddr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/iroh_base/endpoint_addr.rs.html#51">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#264">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd-for-TransportAddr" class="impl"><a class="src rightside" href="../src/iroh_base/endpoint_addr.rs.html#51">Source</a><a href="#impl-PartialOrd-for-TransportAddr" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a class="src rightside" href="../src/iroh_base/endpoint_addr.rs.html#51">Source</a><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, other: &<a class="enum" href="enum.TransportAddr.html" title="enum iroh::TransportAddr">TransportAddr</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1398">Source</a></span><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1416">Source</a></span><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||||
<code><=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1434">Source</a></span><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../iroh/endpoint/enum.Source.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../iroh/endpoint/enum.Source.html">../../../iroh/endpoint/enum.Source.html</a>...</p>
|
||||
<script>location.replace("../../../iroh/endpoint/enum.Source.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,11 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../iroh/endpoint/enum.AddrKind.html">
|
||||
<meta http-equiv="refresh" content="0;URL=../../../iroh/endpoint/transports/enum.AddrKind.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../iroh/endpoint/enum.AddrKind.html">../../../iroh/endpoint/enum.AddrKind.html</a>...</p>
|
||||
<script>location.replace("../../../iroh/endpoint/enum.AddrKind.html" + location.search + location.hash);</script>
|
||||
<p>Redirecting to <a href="../../../iroh/endpoint/transports/enum.AddrKind.html">../../../iroh/endpoint/transports/enum.AddrKind.html</a>...</p>
|
||||
<script>location.replace("../../../iroh/endpoint/transports/enum.AddrKind.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,11 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../../iroh/endpoint/struct.TransportBias.html">
|
||||
<meta http-equiv="refresh" content="0;URL=../../../iroh/endpoint/transports/struct.TransportBias.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../../iroh/endpoint/struct.TransportBias.html">../../../iroh/endpoint/struct.TransportBias.html</a>...</p>
|
||||
<script>location.replace("../../../iroh/endpoint/struct.TransportBias.html" + location.search + location.hash);</script>
|
||||
<p>Redirecting to <a href="../../../iroh/endpoint/transports/struct.TransportBias.html">../../../iroh/endpoint/transports/struct.TransportBias.html</a>...</p>
|
||||
<script>location.replace("../../../iroh/endpoint/transports/struct.TransportBias.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -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="Runs a relay server."><title>run_relay_server_with in iroh::test_utils - 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="#">run_relay_server_with</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>test_<wbr>utils</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">test_utils</a></div><h1>Function <span class="fn">run_<wbr>relay_<wbr>server_<wbr>with</span> <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/test_utils.rs.html#44-82">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn run_relay_server_with(
|
||||
<!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="Runs a relay server."><title>run_relay_server_with in iroh::test_utils - 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="#">run_relay_server_with</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh::<wbr>test_<wbr>utils</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">test_utils</a></div><h1>Function <span class="fn">run_<wbr>relay_<wbr>server_<wbr>with</span> <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/test_utils.rs.html#44-71">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn run_relay_server_with(
|
||||
quic: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="../struct.RelayMap.html" title="struct iroh::RelayMap">RelayMap</a>, <a class="struct" href="../struct.RelayUrl.html" title="struct iroh::RelayUrl">RelayUrl</a>, <a class="struct" href="../../iroh_relay/server/struct.Server.html" title="struct iroh_relay::server::Server">Server</a>), <a class="enum" href="../../iroh_relay/server/enum.SpawnError.html" title="enum iroh_relay::server::SpawnError">SpawnError</a>></code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>test-utils</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Runs a relay server.</p>
|
||||
<p>If <code>quic</code> is set to <code>true</code>, it will make the appropriate <a href="../../iroh_relay/server/struct.QuicConfig.html" title="struct iroh_relay::server::QuicConfig"><code>QuicConfig</code></a> from the generated tls certificates and run the quic server at a random free port.</p>
|
||||
|
||||
@@ -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="Internal utilities to support testing."><title>iroh::test_utils - 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 test_utils</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module test_<wbr>utils</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#functions" title="Functions">Functions</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>test_<wbr>utils</span> <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/test_utils.rs.html#1-554">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>test-utils</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Internal utilities to support testing.</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="Internal utilities to support testing."><title>iroh::test_utils - 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 test_utils</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module test_<wbr>utils</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#functions" title="Functions">Functions</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>test_<wbr>utils</span> <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/test_utils.rs.html#1-543">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>crate features <code>test-utils</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Internal utilities to support testing.</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="test_transport/index.html" title="mod iroh::test_utils::test_transport">test_<wbr>transport</a><wbr><span class="stab portability" title="Available on crate feature `unstable-custom-transports` only"><code>unstable-custom-transports</code></span></dt><dd>In-memory test transport for testing.</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.CleanupDropGuard.html" title="struct iroh::test_utils::CleanupDropGuard">Cleanup<wbr>Drop<wbr>Guard</a></dt><dd>A drop guard to clean up test infrastructure.</dd><dt><a class="struct" href="struct.DnsPkarrServer.html" title="struct iroh::test_utils::DnsPkarrServer">DnsPkarr<wbr>Server</a></dt><dd>Handle and drop guard for test DNS and Pkarr servers.</dd><dt><a class="struct" href="struct.QlogFileGroup.html" title="struct iroh::test_utils::QlogFileGroup">Qlog<wbr>File<wbr>Group</a></dt><dd>Builder to create one or more related qlog configs.</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.run_relay_server.html" title="fn iroh::test_utils::run_relay_server">run_<wbr>relay_<wbr>server</a></dt><dd>Runs a relay server with QUIC enabled suitable for tests.</dd><dt><a class="fn" href="fn.run_relay_server_with.html" title="fn iroh::test_utils::run_relay_server_with">run_<wbr>relay_<wbr>server_<wbr>with</a></dt><dd>Runs a relay server.</dd></dl></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
@@ -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="In-memory test transport for testing."><title>iroh::test_utils::test_transport - 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 test_transport</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module test_<wbr>transport</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="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh::<wbr>test_<wbr>utils</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">test_utils</a></div><h1>Module <span>test_<wbr>transport</span> <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/test_utils/test_transport.rs.html#1-740">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>(crate features <code>test-utils</code>) and crate feature <code>unstable-custom-transports</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>In-memory test transport for testing.</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="In-memory test transport for testing."><title>iroh::test_utils::test_transport - 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 test_transport</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../iroh/index.html">iroh</a><span class="version">0.98.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module test_<wbr>transport</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="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh::<wbr>test_<wbr>utils</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">test_utils</a></div><h1>Module <span>test_<wbr>transport</span> <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/test_utils/test_transport.rs.html#1-743">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>(crate features <code>test-utils</code>) and crate feature <code>unstable-custom-transports</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>In-memory test transport for testing.</p>
|
||||
<p>This module provides <a href="struct.TestNetwork.html" title="struct iroh::test_utils::test_transport::TestNetwork"><code>TestNetwork</code></a> and <a href="struct.TestTransport.html" title="struct iroh::test_utils::test_transport::TestTransport"><code>TestTransport</code></a> for testing
|
||||
using in-memory channels instead of real network transports.</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.TestNetwork.html" title="struct iroh::test_utils::test_transport::TestNetwork">Test<wbr>Network</a></dt><dd>A simulated network for testing custom transports.</dd><dt><a class="struct" href="struct.TestTransport.html" title="struct iroh::test_utils::test_transport::TestTransport">Test<wbr>Transport</a></dt><dd>A test transport for use with <a href="struct.TestNetwork.html" title="struct iroh::test_utils::test_transport::TestNetwork"><code>TestNetwork</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.TEST_TRANSPORT_ID.html" title="constant iroh::test_utils::test_transport::TEST_TRANSPORT_ID">TEST_<wbr>TRANSPORT_<wbr>ID</a></dt><dd>The transport ID used by <a href="struct.TestNetwork.html" title="struct iroh::test_utils::test_transport::TestNetwork"><code>TestNetwork</code></a>.</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.to_custom_addr.html" title="fn iroh::test_utils::test_transport::to_custom_addr">to_<wbr>custom_<wbr>addr</a></dt><dd>Converts an endpoint ID to a custom address for this test transport.</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
@@ -1,3 +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="HTTP-specific constants for the relay server and client."><title>iroh_relay::http - 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 http</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module http</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>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>http</span> <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/http.rs.html#1-124">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>HTTP-specific constants for the relay server and client.</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="HTTP-specific constants for the relay server and client."><title>iroh_relay::http - 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 http</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module http</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>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>http</span> <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/http.rs.html#1-125">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>HTTP-specific constants for the relay server and client.</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.UnsupportedRelayProtocolVersion.html" title="struct iroh_relay::http::UnsupportedRelayProtocolVersion">Unsupported<wbr>Relay<wbr>Protocol<wbr>Version</a></dt><dd>Error returned when the relay protocol version is not recognized.</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.ProtocolVersion.html" title="enum iroh_relay::http::ProtocolVersion">Protocol<wbr>Version</a></dt><dd>The relay protocol version negotiated between client and server.</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.CLIENT_AUTH_HEADER.html" title="constant iroh_relay::http::CLIENT_AUTH_HEADER">CLIENT_<wbr>AUTH_<wbr>HEADER</a></dt><dd>The HTTP header name for relay client authentication</dd><dt><a class="constant" href="constant.RELAY_PATH.html" title="constant iroh_relay::http::RELAY_PATH">RELAY_<wbr>PATH</a></dt><dd>The HTTP path under which the relay accepts relaying connections
|
||||
(over websockets and a custom upgrade protocol).</dd><dt><a class="constant" href="constant.RELAY_PROBE_PATH.html" title="constant iroh_relay::http::RELAY_PROBE_PATH">RELAY_<wbr>PROBE_<wbr>PATH</a></dt><dd>The HTTP path under which the relay allows doing latency queries for testing.</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
@@ -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="Runs the server side of the handshaking protocol."><title>serverside in iroh_relay::protos::handshake - 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="#">serverside</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.98.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>relay::<wbr>protos::<wbr>handshake</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">protos</a>::<wbr><a href="index.html">handshake</a></div><h1>Function <span class="fn">serverside</span> <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/protos/handshake.rs.html#410-463">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn serverside(
|
||||
<!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="Runs the server side of the handshaking protocol."><title>serverside in iroh_relay::protos::handshake - 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="#">serverside</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.98.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>relay::<wbr>protos::<wbr>handshake</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">protos</a>::<wbr><a href="index.html">handshake</a></div><h1>Function <span class="fn">serverside</span> <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/protos/handshake.rs.html#412-465">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn serverside(
|
||||
io: &mut (impl <a class="trait" href="../streams/trait.BytesStreamSink.html" title="trait iroh_relay::protos::streams::BytesStreamSink">BytesStreamSink</a> + <a class="trait" href="../../trait.ExportKeyingMaterial.html" title="trait iroh_relay::ExportKeyingMaterial">ExportKeyingMaterial</a>),
|
||||
client_auth_header: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><HeaderValue>,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.SuccessfulAuthentication.html" title="struct iroh_relay::protos::handshake::SuccessfulAuthentication">SuccessfulAuthentication</a>, <a class="enum" href="enum.Error.html" title="enum iroh_relay::protos::handshake::Error">Error</a>></code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>server</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Runs the server side of the handshaking protocol.</p>
|
||||
|
||||
@@ -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="Implements the handshake protocol that authenticates and authorizes clients connecting to the relays."><title>iroh_relay::protos::handshake - 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 handshake</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module handshake</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="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh_<wbr>relay::<wbr>protos</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">protos</a></div><h1>Module <span>handshake</span> <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/protos/handshake.rs.html#1-850">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Implements the handshake protocol that authenticates and authorizes clients connecting to the relays.</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="Implements the handshake protocol that authenticates and authorizes clients connecting to the relays."><title>iroh_relay::protos::handshake - 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 handshake</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module handshake</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="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh_<wbr>relay::<wbr>protos</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">protos</a></div><h1>Module <span>handshake</span> <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/protos/handshake.rs.html#1-852">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Implements the handshake protocol that authenticates and authorizes clients connecting to the relays.</p>
|
||||
<p>The purpose of the handshake is to</p>
|
||||
<ol>
|
||||
<li>Inform the relay of the client’s EndpointId</li>
|
||||
|
||||
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,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="The server-side representation of an ongoing client relaying connection."><title>iroh_relay::server::client - 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 client</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module client</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></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh_<wbr>relay::<wbr>server</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">server</a></div><h1>Module <span>client</span> <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/server/client.rs.html#1-841">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>server</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The server-side representation of an ongoing client relaying connection.</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="The server-side representation of an ongoing client relaying connection."><title>iroh_relay::server::client - 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 client</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module client</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></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In iroh_<wbr>relay::<wbr>server</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">server</a></div><h1>Module <span>client</span> <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/server/client.rs.html#1-863">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>server</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The server-side representation of an ongoing client relaying connection.</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.Client.html" title="struct iroh_relay::server::client::Client">Client</a></dt><dd>The <a href="../struct.Server.html" title="struct iroh_relay::server::Server"><code>Server</code></a> side representation of a <a href="../../client/struct.Client.html" title="struct iroh_relay::client::Client"><code>Client</code></a>’s connection.</dd><dt><a class="struct" href="struct.Config.html" title="struct iroh_relay::server::client::Config">Config</a></dt><dd>Configuration for a <a href="struct.Client.html" title="struct iroh_relay::server::client::Client"><code>Client</code></a>.</dd><dt><a class="struct" href="struct.ForwardPacketError.html" title="struct iroh_relay::server::client::ForwardPacketError">Forward<wbr>Packet<wbr>Error</a></dt><dd>Error returned when forwarding a packet to a client fails.</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.HandleFrameError.html" title="enum iroh_relay::server::client::HandleFrameError">Handle<wbr>Frame<wbr>Error</a></dt><dd>Error when handling an incoming frame from a client.</dd><dt><a class="enum" href="enum.RunError.html" title="enum iroh_relay::server::client::RunError">RunError</a></dt><dd>Run error</dd><dt><a class="enum" href="enum.WriteFrameError.html" title="enum iroh_relay::server::client::WriteFrameError">Write<wbr>Frame<wbr>Error</a></dt><dd>Error when writing a frame to a client.</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
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,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="A fully-fledged iroh-relay server over HTTP or HTTPS."><title>iroh_relay::server - 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 server</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module server</a></h2><h3><a href="#reexports">Module Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><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="#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>server</span> <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/server.rs.html#1-1338">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>server</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A fully-fledged iroh-relay server over HTTP or HTTPS.</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="A fully-fledged iroh-relay server over HTTP or HTTPS."><title>iroh_relay::server - 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 server</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module server</a></h2><h3><a href="#reexports">Module Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><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="#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>server</span> <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/server.rs.html#1-1396">Source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>server</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A fully-fledged iroh-relay server over HTTP or HTTPS.</p>
|
||||
<p>This module provides an API to run a full fledged iroh-relay server. It is primarily
|
||||
used by the <code>iroh-relay</code> binary in this crate. It can be used to run a relay server in
|
||||
other locations however.</p>
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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
File diff suppressed because one or more lines are too long
@@ -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="Access check callback used by `AccessConfig::Restricted`."><title>AccessCheck in iroh_relay::server - 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 type"><!--[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="#">AccessCheck</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Access<wbr>Check</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>relay::<wbr>server</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">server</a></div><h1>Type Alias <span class="type">Access<wbr>Check</span> <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/server.rs.html#192">Source</a> </span></div><pre class="rust item-decl"><code>pub type AccessCheck = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&<a class="struct" href="struct.ClientRequest.html" title="struct iroh_relay::server::ClientRequest">ClientRequest</a>) -> Boxed<<a class="enum" href="enum.Access.html" title="enum iroh_relay::server::Access">Access</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static>;</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>server</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Access check callback used by <a href="enum.AccessConfig.html#variant.Restricted" title="variant iroh_relay::server::AccessConfig::Restricted"><code>AccessConfig::Restricted</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="Access check callback used by `AccessConfig::Restricted`."><title>AccessCheck in iroh_relay::server - 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 type"><!--[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="#">AccessCheck</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.98.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Access<wbr>Check</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>relay::<wbr>server</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">server</a></div><h1>Type Alias <span class="type">Access<wbr>Check</span> <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/server.rs.html#211">Source</a> </span></div><pre class="rust item-decl"><code>pub type AccessCheck = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&<a class="struct" href="struct.ClientRequest.html" title="struct iroh_relay::server::ClientRequest">ClientRequest</a>) -> Boxed<<a class="enum" href="enum.Access.html" title="enum iroh_relay::server::Access">Access</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static>;</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>server</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Access check callback used by <a href="enum.AccessConfig.html#variant.Restricted" title="variant iroh_relay::server::AccessConfig::Restricted"><code>AccessConfig::Restricted</code></a>.</p>
|
||||
<p>Returns <a href="enum.Access.html#variant.Allow" title="variant iroh_relay::server::Access::Allow"><code>Access::Allow</code></a> to admit the endpoint, <a href="enum.Access.html#variant.Deny" title="variant iroh_relay::server::Access::Deny"><code>Access::Deny</code></a> to
|
||||
reject it.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct AccessCheck(<span class="comment">/* private fields */</span>);</code></pre><script src="../../type.impl/alloc/boxed/struct.Box.js" data-self-path="iroh_relay::server::AccessCheck" async></script></section></div></main></body></html>
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQADsIAhZgCGsFAgiQC9oDAAABkzYWJjOjAAAAEAAAAAAAsAEAAAAGgNaQ1qDTQQNRBkHAwe/yAlIiYiUSJSIgEEAPXMHgAAAQABAAEAAQDzAAFl9MwWAAABAAEAlgEBhAKwIB9JAAGgIAAAH0thc/OAAmFl84ACcnM=")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQcA8yghAACZAAEAAYICoBAAAB2moKAAACJ+YW8HBQAAx7BQGNkAAaAQAAAiFKCQAAAenbAwElMElqCQAAAinwBFhAn10wQAAGEKAQBsEYMA")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQIA9OwbAAABAAEAAQABgAKgYAAAIcugUAAAITVldQEAAbCAIeUAAXP0FR0AAAEAAQABAAEDAbCAImoAAXPytiAAAAEAEwACsIAh4wABaXP0ER0AAAEAAQABAPOCAjQ2AQUAOzAAAAEAAAUAAgB1HQMAViEBAAEDAPVRHAAAAQABAAEAWAQBAQGwgCKZAAFz8uEhAAABAAEJAbCAIqUAAXPykiIAAAEA84gCZGnzgAJucgEGAbBAIkgAAWXyiyEAAJIA9wYAAIegcAAAIXMyIQY7MAAAAQAAGgAMAHsdAADLHQIA3h4EAFEgAQB2IAAAiSAAAEYhAAB4IQgAriEAAM8hAACGIgAAoCIAAA==")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQQA8yEYAAABAJAFAYECoCAAACJ/oEAAAByWYnABAQD0YB0AAEcAAQABABODArAAHLUAAWVzAQsBoAAAACJtc/KDIgAAAQABBAD10x4AAAEAAQABAAEAEwICsDAiVgABZXU6MAAAAQAAAAAACgAQAAAAkxbTFtQWJBwlHEwcUR3OHc8d9B20H/OAA2ZnbiOAA6AQAAAZM7CQIR4AmmRudgECAPcfGAAAAQCdCFUBAQAYAAEAI4ACsCAeHwABbnMBBQD0CyEAAAEAAQB1AfMDAWMBHhgAAPOAAmlvAYQCoDAAACJVoFAAACJ0Y3KXBwAAh6DAAAAin6AwAAAcNJRICQFVIQAA")
|
||||
@@ -1 +0,0 @@
|
||||
rn_("AYQCoEAAACKqoGAAACK8YXIBAwDzDRkAAAEAawZXAAABhaBwAAAe0aBQAAAdh7CAH50CNxGABjswAAABAAAQAAUATA0GADAPBQA9GAEA2x0AAOogAAAjgAKwEB36AAFlbw==")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AYUCoEAAACF0oFAAACI1aXIBgAKgMAAAHDSgQAAAHVFobxMAAqEAAAAiPGNm9C0NAABPALkTqwBjAAOwYCICAAFlc3QByyEAAA==")
|
||||
@@ -1 +0,0 @@
|
||||
rn_("AYECsIAhjgCGsFAgsQC9YWIjggKgAAAAFs1zdQEEAPOTIgAAHQAMACOBAqAgAAAdY2xtAQQA820iAAAyAAsAFwMAAIawYB2pAKmgUAAAHdugUAAAHdwPAAXzFA0AAAEApBUBgAKhAAAAIpewQB2oAKlvcBOBArDwIiwAVXN0AQMBoDAAACCwaQGnHQAA8wIBbAGUEgAAI4ACgA1plXaCZG4BgAKwcB4fAUSwkB+8AW9oaQEBAqAgAAAZO6AAAAAYRGVzAYEQAAAjgAKwUByFAVRiY9cwAACMoCAAABCCoQAAACLCoNAAACKtsOAhjQCsoEAAACK5oNAAACH+sGAchgFUB7UbOjAAAAEAAAAAAAgAEAAAAKgEQhl3GuweZx+1IFoibCJ0Ig==")
|
||||
@@ -1 +0,0 @@
|
||||
rn_("AYECoAAAAB7zoAAAAB70NDYBBAD1+SAAAIcAAQA4AAEAAQQBoAAAACD7ZPKVIAAAAQBnAAABh6CgAAAiWqAwAAAeQKAQAAAigKBgAAAimrCgIgIAnJVQBPV4EgAATgC3DMsBGgEBgQKwIB9wAAGgIAAAH3Jhc+cAAIDFsCAigwABoBAAAB3DgAA4CA==")
|
||||
@@ -1 +0,0 @@
|
||||
rn_("AQIA85wWAAA7BwEAAQMA9FYcAAABAAEAAQAjgAKgAAAAEmJkcgGDAqBAAAAhGKBAAAAhGWJs5wAAAYewEBJhBJawABCjAAGwIBabAr+gMAAAHKoWARo7MAAAAQAADwAEADgNBQCJDQUAoh0BAA8hAQA=")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AYkCoEAAACKFoGAAACKXYXIBBAGgYAAAImJiOjAAAAEAAAAAAAkAEAAAAKUfySDKIMsgZyFoIcQh9iH6Ifsh84ACb3U=")
|
||||
@@ -1 +0,0 @@
|
||||
rn_("AYECsIAhjgCGsFAgsQC9YWIjgAKgAAAAFs1zdSOBAqCAAAAhfHJ0AQQA85MiAAAdAAwAI4ECoCAAAB1jbG0BBADzbSIAADIACwAXAwAAh7BgHakAqaBQAAAd26BQAAAd3LDAIfEAAQ8ARfMUDQAAAQCkFQ==")
|
||||
@@ -1 +0,0 @@
|
||||
rn_("AQABoGAAACH/YgHxHgAAAQABoEAAAB4KZfONIAAAsgEBAPOAAmRyFwAAAIWwcCF1ARGgMAAAIW+wYCChAAGgUAAAIeEQIQw7MAAAAQAABQACAEMPAAAtEQQA")
|
||||
@@ -1 +0,0 @@
|
||||
rn_("AQYBsEAibgABZfKzIQAAkgATBQOwUCF+AAGgcAAAIfNiZnM7MAAAAQAAFwAIAPMdBAAJHwQAniAAAKAhCADWIQAA9yEAAKsiAADFIgAA")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQoA9JAfAAABAAEAAQABBAGwgCI2AAFp8gwZAAABACMAA6BwAAAfVqAwAAAcJmRsc/VlIgAAAQABAAEALQDzgAJsbg==")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQIBoEAAACKVdPQzIQAAEQEVACgAE4ACoDAAACJpaXBDgQOgcAAAIfewcB6bAAFlbnMTgAOgMAAAInWgIAAADz1lbHM=")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQQAOzAAAAEAAAcAAgDWHQYAmiEAABMAA7BQIZsAAaBwAAAhS2VwcvdsEAAA+QEBAAYKWgHGBAEAAQUBsEAhSAABZfK4HQAAAQA3AACAxqBAAAAgdaAwAAAgoaBQAAAifrBgIjYAAQBRAAs=")
|
||||
@@ -1 +0,0 @@
|
||||
rn_("AQAAOzAAAAEAAAcAAgA4HAUAyiABAAEJAPNJIQAAAQABAPMBAnBzOzAAAAEAABAABgCcEgIATxgCAFcYAAA4HgEAgh8DAKIfAwABhAKgAAAAIfCgQAAAIKxkZfOAAnByAQUAOzAAAAEAAFEAAQBqHlEAAQcBoEAAACKJYgEAIgAAE4UCsCAgtgABZG1TgAOgoAAAImtja3MBgAKwIBp1AAGggAAAH49ldAGAArAgGnMAAbEAIosAAWV4xwAAAYWgIAAAEmeggAAAIMeggAAAIdoAkAs7MAAAAQAAGAAKAAULAABVCwIAtRICAL4TAwC/FgAA+RsHABUcAQByHQAASB4AAH8gAAAzgAOggAAAIjJlb3IBAQKwcCHxAAGgMAAAGVVkdPJNEAAAAQABgAKgMAAAIoewIByMBJtndDOAA6AwAAAW8WFlcgECArBwIioAAaCQAAAiL3N38q8dAAABAAEBAaAwAAAiFncB6yAAAPOBAmVpI4ACoFAAACJQbHLzAAJldPamBAAAvQoBABQSAQDiAAEFAPSvHwAAAQABAAEAE4EDoCAAABwboJAAAB/NamxzAYMCsFAfwwABsDAiQwABY3ABBwKwsCKDAAGxMCLGAAFpbvbQHgAApwGCAQEAAQABAAGFAqBwAAAiH6AwAAAhW2VzUwADoEAAABxfYmVw9UsNAADhAQEAAQABAIcAAACFsFAhDwABoGAAACGqoIAAACCdoDAAACDdFcAAOzAAAAEAAAgABADLEAIAEBEBAHYcAgA5HQAAAYEDoFAAACC1oAAAACJIoLAAACK9YmR0AQMA82ceAAABAAEA8wIBbjswAAABAAAHAAEAkhYHAAEBADswAAABAAATAQIAhA0AAEwREgEBAgA7MAAAAQAABQABANkeBQDzAQFyARchAAAzAAOgAAAAHxhlaXM7MAAAAQAADAAGALEWAQD0GwMA0h4AAKggAQDCIAEAkyEBAAGAAqBAAAAin6BgAAAisGFy8wEBcwFCGQAAAQgA9aofAAABAAEAAQABACOAAqAQAAAdZWFzAQEBoAAAAB1kcwF3EAAAAQMA9GgcAAABAAEAAQD3AACAhbBAIPAAcAQBRfMAhRFABfKBBAAAAQABgQKgAAAAEoCwEBw2AAFlbAEAA6AwAAASeaAwAAAWoqBAAAAY9mxydwG7BAAAEwACoOAAACFBY3A7MAAAAQAANwABAJANNwABAgD03RYAAAEAVwUnBQEAAPaaEgAAAQC6BQEAzAgBABOAAqBQAAAhEnB0U4CEsFAdrQABsBAgmgABEUACAQEA9G8cAAABAIAEcAATgAOgAAAAD0qgMAAAHaRhZ29DgAOgUAAAHluwMCB9AYZhaW8BgAKwgCItAAGwsCJ5AAFhbBOEArAgH78AAXR1AQEAOzAAAAEAABMBAgCcEAAAfxUSAQEIAaBAAAAicWX0wSEAAHQAAQABAPOAA2d0dgEAAbCAIr4AAXPyCSIAAAEA84ACZG4BBQD3Zh8AAJQBBwABACUBAQABACOBAqBwAAAhLW1zAQIDoCAAAB9lsDAeZQABoEAAAB9dZWlzOzAAAAEAACMBAgCbEAAAXBQiAUOAhLBAHb0AAaAQAAARS6BAAAAW8ABBCQEDADswAAABAAAIAAQAZBIAAEoZAQBLIgEAXiIDACOAA6BgAAAeJKAQAAAWz2RyeAEIAbCAIsoAAXPytyIAAAEAAYICoAAAACKboAAAACKcNDbzAQFpATgiAAAjgAKgAAAAHiFycwEDAaBAAAAigmIB9iEAAPMCAWf05B4AAAEAAQABAPOAA2FlbwEDAbDAIncAAWnyqh0AAAEAAQIAOjAAAAEAAAAAAAcAEAAAAIkcihyLHOUdOSFGIdMh4CHzgQJmbgEDAaBgAAAiSWIBsiAAABOAAqAwAAAeG2lvAQcA82chAAABAB0B8wMBY/KMEgAAtAXzgANhbG8BAQKgQAAAGSWggAAAHupmdPJbHAAAAQDzANGAb/4HOjAAAAEAAAAAAHYAEAAAAG8BKwQsBC0ElASWBAsLJwsoCykLKgsrCywLLQsuCy8LMgtDC0QLRQtGC0cLSAtJC0oLBg0HDQgNHA0dDSMNZQ1qDYcNiA1MD00PXBBdEG8QdBAUERURKxFgE6AToROiE6MTpBOlE6YTpxOoE64TtxbLFtAW0RbSFtMW1BbfFuAW4RYeGR8ZehoMHBscJhwnHCgcMRw2HDccPxxAHEEciBxjHXsdzB3PHeMd5h3tHQoeNx5OHlQeWx5hHsYexx7JHusewR+DIIYgqiCrIMggzyDQINEg/CAHIWchaCGwId4h3yEEIgUiBiIvIoUirCI=")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQAA9N0WAAABABAIAQABAgKgUAAAIc+wYCKJABVscgGEHAAAMwIDoHAAACFwZXN3OjAAAAEAAAAAAAsAEAAAAOIW4xbkFuUW5hbnFiUewh7DHvceUyA+IQ==")
|
||||
@@ -1 +0,0 @@
|
||||
rn_("AQABoBAAABy8bzswAAABAAAFAAIAvxIDAPEhAQABgAKwECEiAAGgIAAAIVxhbxOCArBwIkMAAW1xE4ACoOAAACKGbHATgAKwMCDcAQ9lbwGCAqEAAAAiwqDQAAAirWttE4ADoGAAACEAsGAg0gABYWtyAYECsIAiBAABoIAAACIGZXcBgwKwMCD+AAGwQCE/AAFwcwGAAqEAAAAio6CgAAAh/WVsAYACsCAhuwABoFAAACDPZHC3PAAAi7BgINAAAaDwAAAihbCgIbcAAaAgAAAcvZW0BzswAAABAABAAAIAbRABAM4QPgA=")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQIAOzAAAAEAAAkAAwCcEwYADx0AACseAQABAwGgQAAAImNiAdghAADzAgFn9GQdAAABAAEAYQRTAAOgoAAAIfVhaW87MAAAAQAAbwACALoNNwBJEzcA")
|
||||
@@ -0,0 +1 @@
|
||||
rn_("AQgBoGAAACIdYgF2IAAAEwACsAAYEAABZXP0rhIAADMJAQDLAQEBAPNHIgAAMwALAPOAAmVyE4ACoGAAACH1ZHY=")
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user