mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 00:01:16 +00:00
deploy: 515c8a3decd529a81e74e25ef687ea9d86568f19
This commit is contained in:
@@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Documentation for Rustdoc"><title>Help</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="./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 sys"><!--[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="#">All</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.92.0-nightly</span></h2></div><div class="version">(b6f0945e4 2025-10-08)</div><h2 class="location">Help</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc help</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section><p>You need to enable JavaScript to use keyboard commands or search.</p><p>For more information, browse the <a href="https://doc.rust-lang.org/nightly/rustdoc/">rustdoc handbook</a>.</p></section></noscript></section></div></main></body></html>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Documentation for Rustdoc"><title>Help</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="bulk" 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="./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 sys"><!--[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="#">All</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.92.0-nightly</span></h2></div><div class="version">(b6f0945e4 2025-10-08)</div><h2 class="location">Help</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc help</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section><p>You need to enable JavaScript to use keyboard commands or search.</p><p>For more information, browse the <a href="https://doc.rust-lang.org/nightly/rustdoc/">rustdoc handbook</a>.</p></section></noscript></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,6 +1,6 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Create and run a client"><title>client in iroh_bench::iroh - 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_bench" 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="#">client</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_bench/index.html">iroh_<wbr>bench</a><span class="version">0.95.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>bench::<wbr>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_bench</a>::<wbr><a href="index.html">iroh</a></div><h1>Function <span class="fn">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_bench/iroh.rs.html#64-80">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn client(
|
||||
server_addr: EndpointAddr,
|
||||
relay_url: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><RelayUrl>,
|
||||
server_addr: <a class="struct" href="../../iroh_base/endpoint_addr/struct.EndpointAddr.html" title="struct iroh_base::endpoint_addr::EndpointAddr">EndpointAddr</a>,
|
||||
relay_url: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../iroh_base/relay_url/struct.RelayUrl.html" title="struct iroh_base::relay_url::RelayUrl">RelayUrl</a>>,
|
||||
opt: <a class="struct" href="../struct.Opt.html" title="struct iroh_bench::Opt">Opt</a>,
|
||||
) -> Result<<a class="struct" href="../struct.ClientStats.html" title="struct iroh_bench::ClientStats">ClientStats</a>></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create and run a client</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Create a client endpoint and client connection"><title>connect_client in iroh_bench::iroh - 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_bench" 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="#">connect_client</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_bench/index.html">iroh_<wbr>bench</a><span class="version">0.95.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>bench::<wbr>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_bench</a>::<wbr><a href="index.html">iroh</a></div><h1>Function <span class="fn">connect_<wbr>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_bench/iroh.rs.html#83-123">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn connect_client(
|
||||
server_addr: EndpointAddr,
|
||||
relay_url: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><RelayUrl>,
|
||||
server_addr: <a class="struct" href="../../iroh_base/endpoint_addr/struct.EndpointAddr.html" title="struct iroh_base::endpoint_addr::EndpointAddr">EndpointAddr</a>,
|
||||
relay_url: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../iroh_base/relay_url/struct.RelayUrl.html" title="struct iroh_base::relay_url::RelayUrl">RelayUrl</a>>,
|
||||
opt: <a class="struct" href="../struct.Opt.html" title="struct iroh_bench::Opt">Opt</a>,
|
||||
) -> Result<(Endpoint, Connection)></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create a client endpoint and client connection</p>
|
||||
) -> Result<(<a class="struct" href="../../iroh/endpoint/struct.Endpoint.html" title="struct iroh::endpoint::Endpoint">Endpoint</a>, <a class="struct" href="../../iroh/endpoint/connection/struct.Connection.html" title="struct iroh::endpoint::connection::Connection">Connection</a>)></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create a client endpoint and client connection</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `handle_client_stream` fn in crate `iroh_bench`."><title>handle_client_stream in iroh_bench::iroh - 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_bench" 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="#">handle_client_stream</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_bench/index.html">iroh_<wbr>bench</a><span class="version">0.95.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>bench::<wbr>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_bench</a>::<wbr><a href="index.html">iroh</a></div><h1>Function <span class="fn">handle_<wbr>client_<wbr>stream</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_bench/iroh.rs.html#221-242">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn handle_client_stream(
|
||||
connection: &Connection,
|
||||
connection: &<a class="struct" href="../../iroh/endpoint/connection/struct.Connection.html" title="struct iroh::endpoint::connection::Connection">Connection</a>,
|
||||
upload_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
read_unordered: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||||
) -> Result<(<a class="struct" href="../stats/struct.TransferResult.html" title="struct iroh_bench::stats::TransferResult">TransferResult</a>, <a class="struct" href="../stats/struct.TransferResult.html" title="struct iroh_bench::stats::TransferResult">TransferResult</a>)></code></pre></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="Take the provided endpoint and run the server"><title>server in iroh_bench::iroh - 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_bench" 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="#">server</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_bench/index.html">iroh_<wbr>bench</a><span class="version">0.95.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>bench::<wbr>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_bench</a>::<wbr><a href="index.html">iroh</a></div><h1>Function <span class="fn">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_bench/iroh.rs.html#245-296">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn server(endpoint: Endpoint, opt: <a class="struct" href="../struct.Opt.html" title="struct iroh_bench::Opt">Opt</a>) -> Result<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Take the provided endpoint and run the server</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="Take the provided endpoint and run the server"><title>server in iroh_bench::iroh - 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_bench" 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="#">server</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_bench/index.html">iroh_<wbr>bench</a><span class="version">0.95.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>bench::<wbr>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_bench</a>::<wbr><a href="index.html">iroh</a></div><h1>Function <span class="fn">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_bench/iroh.rs.html#245-296">Source</a> </span></div><pre class="rust item-decl"><code>pub async fn server(endpoint: <a class="struct" href="../../iroh/endpoint/struct.Endpoint.html" title="struct iroh::endpoint::Endpoint">Endpoint</a>, opt: <a class="struct" href="../struct.Opt.html" title="struct iroh_bench::Opt">Opt</a>) -> Result<<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Take the provided endpoint and run the server</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -1,6 +1,6 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Creates a server endpoint which runs on the given runtime"><title>server_endpoint in iroh_bench::iroh - 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_bench" 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="#">server_endpoint</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_bench/index.html">iroh_<wbr>bench</a><span class="version">0.95.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>bench::<wbr>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_bench</a>::<wbr><a href="index.html">iroh</a></div><h1>Function <span class="fn">server_<wbr>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_bench/iroh.rs.html#21-61">Source</a> </span></div><pre class="rust item-decl"><code>pub fn server_endpoint(
|
||||
rt: &Runtime,
|
||||
relay_url: &<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><RelayUrl>,
|
||||
relay_url: &<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../iroh_base/relay_url/struct.RelayUrl.html" title="struct iroh_base::relay_url::RelayUrl">RelayUrl</a>>,
|
||||
opt: &<a class="struct" href="../struct.Opt.html" title="struct iroh_bench::Opt">Opt</a>,
|
||||
) -> (EndpointAddr, Endpoint)</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Creates a server endpoint which runs on the given runtime</p>
|
||||
) -> (<a class="struct" href="../../iroh_base/endpoint_addr/struct.EndpointAddr.html" title="struct iroh_base::endpoint_addr::EndpointAddr">EndpointAddr</a>, <a class="struct" href="../../iroh/endpoint/struct.Endpoint.html" title="struct iroh::endpoint::Endpoint">Endpoint</a>)</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Creates a server endpoint which runs on the given runtime</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="API documentation for the Rust `transport_config` fn in crate `iroh_bench`."><title>transport_config in iroh_bench::iroh - 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_bench" 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="#">transport_config</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../iroh_bench/index.html">iroh_<wbr>bench</a><span class="version">0.95.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In iroh_<wbr>bench::<wbr>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_bench</a>::<wbr><a href="index.html">iroh</a></div><h1>Function <span class="fn">transport_<wbr>config</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_bench/iroh.rs.html#125-140">Source</a> </span></div><pre class="rust item-decl"><code>pub fn transport_config(
|
||||
max_streams: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>,
|
||||
initial_mtu: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a>,
|
||||
) -> QuicTransportConfig</code></pre></section></div></main></body></html>
|
||||
) -> <a class="struct" href="../../iroh/endpoint/quic/struct.QuicTransportConfig.html" title="struct iroh::endpoint::quic::QuicTransportConfig">QuicTransportConfig</a></code></pre></section></div></main></body></html>
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
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
-1
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Settings of Rustdoc"><title>Settings</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="./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 sys"><!--[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="#">All</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.92.0-nightly</span></h2></div><div class="version">(b6f0945e4 2025-10-08)</div><h2 class="location">Settings</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc settings</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section>You need to enable JavaScript be able to update your settings.</section></noscript><script defer src="./static.files/settings-c38705f0.js"></script></section></div></main></body></html>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Settings of Rustdoc"><title>Settings</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="bulk" 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="./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 sys"><!--[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="#">All</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.92.0-nightly</span></h2></div><div class="version">(b6f0945e4 2025-10-08)</div><h2 class="location">Settings</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc settings</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section>You need to enable JavaScript be able to update your settings.</section></noscript><script defer src="./static.files/settings-c38705f0.js"></script></section></div></main></body></html>
|
||||
@@ -502,9 +502,9 @@
|
||||
<a href=#502 id=502 data-nosnippet>502</a> <span class="kw">use </span>iroh_base::{EndpointAddr, SecretKey, TransportAddr};
|
||||
<a href=#503 id=503 data-nosnippet>503</a> <span class="kw">use </span>n0_error::{AnyError <span class="kw">as </span>Error, <span class="prelude-ty">Result</span>, StackResultExt};
|
||||
<a href=#504 id=504 data-nosnippet>504</a> <span class="kw">use </span>n0_future::{StreamExt, time};
|
||||
<a href=#505 id=505 data-nosnippet>505</a> <span class="kw">use </span>rand::{CryptoRng, Rng, SeedableRng};
|
||||
<a href=#506 id=506 data-nosnippet>506</a> <span class="kw">use </span>tokio_util::task::AbortOnDropHandle;
|
||||
<a href=#507 id=507 data-nosnippet>507</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#505 id=505 data-nosnippet>505</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#506 id=506 data-nosnippet>506</a> <span class="kw">use </span>rand::{CryptoRng, Rng, SeedableRng};
|
||||
<a href=#507 id=507 data-nosnippet>507</a> <span class="kw">use </span>tokio_util::task::AbortOnDropHandle;
|
||||
<a href=#508 id=508 data-nosnippet>508</a>
|
||||
<a href=#509 id=509 data-nosnippet>509</a> <span class="kw">use super</span>::<span class="kw-2">*</span>;
|
||||
<a href=#510 id=510 data-nosnippet>510</a> <span class="kw">use crate</span>::{
|
||||
@@ -823,9 +823,9 @@
|
||||
<a href=#823 id=823 data-nosnippet>823</a> <span class="kw">use </span>iroh_relay::{RelayMap, endpoint_info::UserData};
|
||||
<a href=#824 id=824 data-nosnippet>824</a> <span class="kw">use </span>n0_error::{AnyError <span class="kw">as </span>Error, <span class="prelude-ty">Result</span>, StackResultExt};
|
||||
<a href=#825 id=825 data-nosnippet>825</a> <span class="kw">use </span>n0_future::time::Duration;
|
||||
<a href=#826 id=826 data-nosnippet>826</a> <span class="kw">use </span>rand::{CryptoRng, SeedableRng};
|
||||
<a href=#827 id=827 data-nosnippet>827</a> <span class="kw">use </span>tokio_util::task::AbortOnDropHandle;
|
||||
<a href=#828 id=828 data-nosnippet>828</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#826 id=826 data-nosnippet>826</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#827 id=827 data-nosnippet>827</a> <span class="kw">use </span>rand::{CryptoRng, SeedableRng};
|
||||
<a href=#828 id=828 data-nosnippet>828</a> <span class="kw">use </span>tokio_util::task::AbortOnDropHandle;
|
||||
<a href=#829 id=829 data-nosnippet>829</a>
|
||||
<a href=#830 id=830 data-nosnippet>830</a> <span class="kw">use crate</span>::{
|
||||
<a href=#831 id=831 data-nosnippet>831</a> Endpoint, RelayMode,
|
||||
|
||||
@@ -548,8 +548,8 @@
|
||||
<a href=#548 id=548 data-nosnippet>548</a> <span class="kw">use </span>iroh_base::{SecretKey, TransportAddr};
|
||||
<a href=#549 id=549 data-nosnippet>549</a> <span class="kw">use </span>n0_error::{AnyError <span class="kw">as </span>Error, <span class="prelude-ty">Result</span>, StdResultExt, bail_any};
|
||||
<a href=#550 id=550 data-nosnippet>550</a> <span class="kw">use </span>n0_future::StreamExt;
|
||||
<a href=#551 id=551 data-nosnippet>551</a> <span class="kw">use </span>rand::{CryptoRng, SeedableRng};
|
||||
<a href=#552 id=552 data-nosnippet>552</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#551 id=551 data-nosnippet>551</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#552 id=552 data-nosnippet>552</a> <span class="kw">use </span>rand::{CryptoRng, SeedableRng};
|
||||
<a href=#553 id=553 data-nosnippet>553</a>
|
||||
<a href=#554 id=554 data-nosnippet>554</a> <span class="kw">use </span><span class="kw">super</span>::<span class="kw">super</span>::<span class="kw-2">*</span>;
|
||||
<a href=#555 id=555 data-nosnippet>555</a> <span class="kw">use </span><span class="kw">crate</span>::discovery::UserData;
|
||||
|
||||
@@ -334,7 +334,7 @@
|
||||
<a href=#334 id=334 data-nosnippet>334</a>
|
||||
<a href=#335 id=335 data-nosnippet>335</a> <span class="kw">use </span>iroh_base::RelayUrl;
|
||||
<a href=#336 id=336 data-nosnippet>336</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StdResultExt};
|
||||
<a href=#337 id=337 data-nosnippet>337</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#337 id=337 data-nosnippet>337</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#338 id=338 data-nosnippet>338</a>
|
||||
<a href=#339 id=339 data-nosnippet>339</a> <span class="kw">use super</span>::<span class="kw-2">*</span>;
|
||||
<a href=#340 id=340 data-nosnippet>340</a>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<a href=#15 id=15 data-nosnippet>15</a></span><span class="kw">pub</span>(<span class="kw">crate</span>) <span class="kw">mod </span>tests {
|
||||
<a href=#16 id=16 data-nosnippet>16</a> <span class="kw">use </span>std::time::Duration;
|
||||
<a href=#17 id=17 data-nosnippet>17</a>
|
||||
<a href=#18 id=18 data-nosnippet>18</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#18 id=18 data-nosnippet>18</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#19 id=19 data-nosnippet>19</a>
|
||||
<a href=#20 id=20 data-nosnippet>20</a> <span class="kw">use </span><span class="kw">super</span>::DnsResolver;
|
||||
<a href=#21 id=21 data-nosnippet>21</a> <span class="kw">use </span><span class="kw">crate</span>::defaults::staging::NA_EAST_RELAY_HOSTNAME;
|
||||
|
||||
@@ -1311,12 +1311,12 @@
|
||||
<a href=#1311 id=1311 data-nosnippet>1311</a> <span class="kw">use </span>iroh_base::{EndpointAddr, EndpointId, SecretKey, TransportAddr};
|
||||
<a href=#1312 id=1312 data-nosnippet>1312</a> <span class="kw">use </span>n0_error::{AnyError <span class="kw">as </span>Error, <span class="prelude-ty">Result</span>, StdResultExt};
|
||||
<a href=#1313 id=1313 data-nosnippet>1313</a> <span class="kw">use </span>n0_future::{BufferedStreamExt, StreamExt, stream, time};
|
||||
<a href=#1314 id=1314 data-nosnippet>1314</a> <span class="kw">use </span>n0_watcher::Watcher;
|
||||
<a href=#1315 id=1315 data-nosnippet>1315</a> <span class="kw">use </span>quinn::ConnectionError;
|
||||
<a href=#1316 id=1316 data-nosnippet>1316</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#1317 id=1317 data-nosnippet>1317</a> <span class="kw">use </span>tokio::sync::oneshot;
|
||||
<a href=#1318 id=1318 data-nosnippet>1318</a> <span class="kw">use </span>tracing::{Instrument, debug_span, info, info_span, instrument};
|
||||
<a href=#1319 id=1319 data-nosnippet>1319</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#1314 id=1314 data-nosnippet>1314</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#1315 id=1315 data-nosnippet>1315</a> <span class="kw">use </span>n0_watcher::Watcher;
|
||||
<a href=#1316 id=1316 data-nosnippet>1316</a> <span class="kw">use </span>quinn::ConnectionError;
|
||||
<a href=#1317 id=1317 data-nosnippet>1317</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#1318 id=1318 data-nosnippet>1318</a> <span class="kw">use </span>tokio::sync::oneshot;
|
||||
<a href=#1319 id=1319 data-nosnippet>1319</a> <span class="kw">use </span>tracing::{Instrument, debug_span, info, info_span, instrument};
|
||||
<a href=#1320 id=1320 data-nosnippet>1320</a>
|
||||
<a href=#1321 id=1321 data-nosnippet>1321</a> <span class="kw">use </span><span class="kw">super</span>::Endpoint;
|
||||
<a href=#1322 id=1322 data-nosnippet>1322</a> <span class="kw">use crate</span>::{
|
||||
|
||||
@@ -1139,10 +1139,10 @@
|
||||
<a href=#1139 id=1139 data-nosnippet>1139</a> <span class="kw">use </span>iroh_base::{EndpointAddr, SecretKey};
|
||||
<a href=#1140 id=1140 data-nosnippet>1140</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StackResultExt, StdResultExt};
|
||||
<a href=#1141 id=1141 data-nosnippet>1141</a> <span class="kw">use </span>n0_future::StreamExt;
|
||||
<a href=#1142 id=1142 data-nosnippet>1142</a> <span class="kw">use </span>n0_watcher::Watcher;
|
||||
<a href=#1143 id=1143 data-nosnippet>1143</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#1144 id=1144 data-nosnippet>1144</a> <span class="kw">use </span>tracing::{Instrument, error_span, info, info_span, trace_span};
|
||||
<a href=#1145 id=1145 data-nosnippet>1145</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#1142 id=1142 data-nosnippet>1142</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#1143 id=1143 data-nosnippet>1143</a> <span class="kw">use </span>n0_watcher::Watcher;
|
||||
<a href=#1144 id=1144 data-nosnippet>1144</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#1145 id=1145 data-nosnippet>1145</a> <span class="kw">use </span>tracing::{Instrument, error_span, info, info_span, trace_span};
|
||||
<a href=#1146 id=1146 data-nosnippet>1146</a>
|
||||
<a href=#1147 id=1147 data-nosnippet>1147</a> <span class="kw">use </span><span class="kw">super</span>::Endpoint;
|
||||
<a href=#1148 id=1148 data-nosnippet>1148</a> <span class="kw">use crate</span>::{
|
||||
|
||||
@@ -1540,12 +1540,12 @@
|
||||
<a href=#1540 id=1540 data-nosnippet>1540</a> <span class="kw">use </span>iroh_base::{EndpointAddr, EndpointId, TransportAddr};
|
||||
<a href=#1541 id=1541 data-nosnippet>1541</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StackResultExt, StdResultExt};
|
||||
<a href=#1542 id=1542 data-nosnippet>1542</a> <span class="kw">use </span>n0_future::{MergeBounded, StreamExt, time};
|
||||
<a href=#1543 id=1543 data-nosnippet>1543</a> <span class="kw">use </span>n0_watcher::Watcher;
|
||||
<a href=#1544 id=1544 data-nosnippet>1544</a> <span class="kw">use </span>quinn::ServerConfig;
|
||||
<a href=#1545 id=1545 data-nosnippet>1545</a> <span class="kw">use </span>rand::{CryptoRng, Rng, RngCore, SeedableRng};
|
||||
<a href=#1546 id=1546 data-nosnippet>1546</a> <span class="kw">use </span>tokio_util::task::AbortOnDropHandle;
|
||||
<a href=#1547 id=1547 data-nosnippet>1547</a> <span class="kw">use </span>tracing::{Instrument, error, info, info_span, instrument};
|
||||
<a href=#1548 id=1548 data-nosnippet>1548</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#1543 id=1543 data-nosnippet>1543</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#1544 id=1544 data-nosnippet>1544</a> <span class="kw">use </span>n0_watcher::Watcher;
|
||||
<a href=#1545 id=1545 data-nosnippet>1545</a> <span class="kw">use </span>quinn::ServerConfig;
|
||||
<a href=#1546 id=1546 data-nosnippet>1546</a> <span class="kw">use </span>rand::{CryptoRng, Rng, RngCore, SeedableRng};
|
||||
<a href=#1547 id=1547 data-nosnippet>1547</a> <span class="kw">use </span>tokio_util::task::AbortOnDropHandle;
|
||||
<a href=#1548 id=1548 data-nosnippet>1548</a> <span class="kw">use </span>tracing::{Instrument, error, info, info_span, instrument};
|
||||
<a href=#1549 id=1549 data-nosnippet>1549</a>
|
||||
<a href=#1550 id=1550 data-nosnippet>1550</a> <span class="kw">use </span><span class="kw">super</span>::Options;
|
||||
<a href=#1551 id=1551 data-nosnippet>1551</a> <span class="kw">use crate</span>::{
|
||||
|
||||
@@ -1218,10 +1218,10 @@
|
||||
<a href=#1218 id=1218 data-nosnippet>1218</a> <span class="kw">use </span>iroh_base::{EndpointId, RelayUrl, SecretKey};
|
||||
<a href=#1219 id=1219 data-nosnippet>1219</a> <span class="kw">use </span>iroh_relay::{PingTracker, protos::relay::Datagrams};
|
||||
<a href=#1220 id=1220 data-nosnippet>1220</a> <span class="kw">use </span>n0_error::{AnyError <span class="kw">as </span>Error, <span class="prelude-ty">Result</span>, StackResultExt, StdResultExt};
|
||||
<a href=#1221 id=1221 data-nosnippet>1221</a> <span class="kw">use </span>tokio::sync::{mpsc, oneshot};
|
||||
<a href=#1222 id=1222 data-nosnippet>1222</a> <span class="kw">use </span>tokio_util::{sync::CancellationToken, task::AbortOnDropHandle};
|
||||
<a href=#1223 id=1223 data-nosnippet>1223</a> <span class="kw">use </span>tracing::{Instrument, info, info_span};
|
||||
<a href=#1224 id=1224 data-nosnippet>1224</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#1221 id=1221 data-nosnippet>1221</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#1222 id=1222 data-nosnippet>1222</a> <span class="kw">use </span>tokio::sync::{mpsc, oneshot};
|
||||
<a href=#1223 id=1223 data-nosnippet>1223</a> <span class="kw">use </span>tokio_util::{sync::CancellationToken, task::AbortOnDropHandle};
|
||||
<a href=#1224 id=1224 data-nosnippet>1224</a> <span class="kw">use </span>tracing::{Instrument, info, info_span};
|
||||
<a href=#1225 id=1225 data-nosnippet>1225</a>
|
||||
<a href=#1226 id=1226 data-nosnippet>1226</a> <span class="kw">use super</span>::{
|
||||
<a href=#1227 id=1227 data-nosnippet>1227</a> ActiveRelayActor, ActiveRelayActorOptions, ActiveRelayMessage, ActiveRelayPrioMessage,
|
||||
|
||||
@@ -987,8 +987,8 @@
|
||||
<a href=#987 id=987 data-nosnippet>987</a> <span class="kw">use </span>iroh_base::RelayUrl;
|
||||
<a href=#988 id=988 data-nosnippet>988</a> <span class="kw">use </span>iroh_relay::dns::DnsResolver;
|
||||
<a href=#989 id=989 data-nosnippet>989</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StdResultExt};
|
||||
<a href=#990 id=990 data-nosnippet>990</a> <span class="kw">use </span>tokio_util::sync::CancellationToken;
|
||||
<a href=#991 id=991 data-nosnippet>991</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#990 id=990 data-nosnippet>990</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#991 id=991 data-nosnippet>991</a> <span class="kw">use </span>tokio_util::sync::CancellationToken;
|
||||
<a href=#992 id=992 data-nosnippet>992</a>
|
||||
<a href=#993 id=993 data-nosnippet>993</a> <span class="kw">use super</span>::<span class="kw-2">*</span>;
|
||||
<a href=#994 id=994 data-nosnippet>994</a> <span class="kw">use </span><span class="kw">crate</span>::net_report::probes::Probe;
|
||||
|
||||
@@ -875,7 +875,7 @@
|
||||
<a href=#875 id=875 data-nosnippet>875</a>
|
||||
<a href=#876 id=876 data-nosnippet>876</a> <span class="kw">use </span>iroh_relay::dns::DnsResolver;
|
||||
<a href=#877 id=877 data-nosnippet>877</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StdResultExt};
|
||||
<a href=#878 id=878 data-nosnippet>878</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#878 id=878 data-nosnippet>878</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#879 id=879 data-nosnippet>879</a>
|
||||
<a href=#880 id=880 data-nosnippet>880</a> <span class="kw">use super</span>::{<span class="kw">super</span>::test_utils, <span class="kw-2">*</span>};
|
||||
<a href=#881 id=881 data-nosnippet>881</a>
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
<a href=#26 id=26 data-nosnippet>26</a> endpoint_info::EndpointInfo,
|
||||
<a href=#27 id=27 data-nosnippet>27</a> };
|
||||
<a href=#28 id=28 data-nosnippet>28</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StdResultExt};
|
||||
<a href=#29 id=29 data-nosnippet>29</a> <span class="kw">use </span>pkarr::{SignedPacket, Timestamp};
|
||||
<a href=#30 id=30 data-nosnippet>30</a> <span class="kw">use </span>rand::{CryptoRng, SeedableRng};
|
||||
<a href=#31 id=31 data-nosnippet>31</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#29 id=29 data-nosnippet>29</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#30 id=30 data-nosnippet>30</a> <span class="kw">use </span>pkarr::{SignedPacket, Timestamp};
|
||||
<a href=#31 id=31 data-nosnippet>31</a> <span class="kw">use </span>rand::{CryptoRng, SeedableRng};
|
||||
<a href=#32 id=32 data-nosnippet>32</a>
|
||||
<a href=#33 id=33 data-nosnippet>33</a> <span class="kw">use crate</span>::{
|
||||
<a href=#34 id=34 data-nosnippet>34</a> ZoneStore,
|
||||
|
||||
@@ -778,7 +778,7 @@
|
||||
<a href=#778 id=778 data-nosnippet>778</a></span><span class="kw">pub</span>(<span class="kw">crate</span>) <span class="kw">mod </span>tests {
|
||||
<a href=#779 id=779 data-nosnippet>779</a> <span class="kw">use </span>std::sync::atomic::AtomicUsize;
|
||||
<a href=#780 id=780 data-nosnippet>780</a>
|
||||
<a href=#781 id=781 data-nosnippet>781</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#781 id=781 data-nosnippet>781</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#782 id=782 data-nosnippet>782</a>
|
||||
<a href=#783 id=783 data-nosnippet>783</a> <span class="kw">use super</span>::<span class="kw-2">*</span>;
|
||||
<a href=#784 id=784 data-nosnippet>784</a>
|
||||
|
||||
@@ -534,10 +534,10 @@
|
||||
<a href=#534 id=534 data-nosnippet>534</a> <span class="kw">use </span>iroh_base::{PublicKey, SecretKey};
|
||||
<a href=#535 id=535 data-nosnippet>535</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StackResultExt, StdResultExt};
|
||||
<a href=#536 id=536 data-nosnippet>536</a> <span class="kw">use </span>n0_future::{Sink, SinkExt, Stream, TryStreamExt};
|
||||
<a href=#537 id=537 data-nosnippet>537</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#538 id=538 data-nosnippet>538</a> <span class="kw">use </span>tokio_util::codec::{Framed, LengthDelimitedCodec};
|
||||
<a href=#539 id=539 data-nosnippet>539</a> <span class="kw">use </span>tracing::{Instrument, info_span};
|
||||
<a href=#540 id=540 data-nosnippet>540</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#537 id=537 data-nosnippet>537</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#538 id=538 data-nosnippet>538</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#539 id=539 data-nosnippet>539</a> <span class="kw">use </span>tokio_util::codec::{Framed, LengthDelimitedCodec};
|
||||
<a href=#540 id=540 data-nosnippet>540</a> <span class="kw">use </span>tracing::{Instrument, info_span};
|
||||
<a href=#541 id=541 data-nosnippet>541</a>
|
||||
<a href=#542 id=542 data-nosnippet>542</a> <span class="kw">use super</span>::{
|
||||
<a href=#543 id=543 data-nosnippet>543</a> ClientAuth, KeyMaterialClientAuth, Mechanism, ServerChallenge, ServerConfirmsAuth,
|
||||
|
||||
@@ -364,9 +364,9 @@
|
||||
<a href=#364 id=364 data-nosnippet>364</a> task::AbortOnDropHandle,
|
||||
<a href=#365 id=365 data-nosnippet>365</a> time::{<span class="self">self</span>, Instant},
|
||||
<a href=#366 id=366 data-nosnippet>366</a> };
|
||||
<a href=#367 id=367 data-nosnippet>367</a> <span class="kw">use </span>quinn::crypto::rustls::QuicServerConfig;
|
||||
<a href=#368 id=368 data-nosnippet>368</a> <span class="kw">use </span>tracing::{Instrument, debug, info, info_span};
|
||||
<a href=#369 id=369 data-nosnippet>369</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#367 id=367 data-nosnippet>367</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#368 id=368 data-nosnippet>368</a> <span class="kw">use </span>quinn::crypto::rustls::QuicServerConfig;
|
||||
<a href=#369 id=369 data-nosnippet>369</a> <span class="kw">use </span>tracing::{Instrument, debug, info, info_span};
|
||||
<a href=#370 id=370 data-nosnippet>370</a> <span class="kw">use </span>webpki_types::PrivatePkcs8KeyDer;
|
||||
<a href=#371 id=371 data-nosnippet>371</a>
|
||||
<a href=#372 id=372 data-nosnippet>372</a> <span class="kw">use super</span>::<span class="kw-2">*</span>;
|
||||
|
||||
@@ -784,9 +784,9 @@
|
||||
<a href=#784 id=784 data-nosnippet>784</a> <span class="kw">use </span>iroh_base::{EndpointId, RelayUrl, SecretKey};
|
||||
<a href=#785 id=785 data-nosnippet>785</a> <span class="kw">use </span>n0_error::Result;
|
||||
<a href=#786 id=786 data-nosnippet>786</a> <span class="kw">use </span>n0_future::{FutureExt, SinkExt, StreamExt};
|
||||
<a href=#787 id=787 data-nosnippet>787</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#788 id=788 data-nosnippet>788</a> <span class="kw">use </span>tracing::{info, instrument};
|
||||
<a href=#789 id=789 data-nosnippet>789</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#787 id=787 data-nosnippet>787</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#788 id=788 data-nosnippet>788</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#789 id=789 data-nosnippet>789</a> <span class="kw">use </span>tracing::{info, instrument};
|
||||
<a href=#790 id=790 data-nosnippet>790</a>
|
||||
<a href=#791 id=791 data-nosnippet>791</a> <span class="kw">use super</span>::{
|
||||
<a href=#792 id=792 data-nosnippet>792</a> Access, AccessConfig, NO_CONTENT_CHALLENGE_HEADER, NO_CONTENT_RESPONSE_HEADER, RelayConfig,
|
||||
|
||||
@@ -481,9 +481,9 @@
|
||||
<a href=#481 id=481 data-nosnippet>481</a> <span class="kw">use </span>iroh_base::SecretKey;
|
||||
<a href=#482 id=482 data-nosnippet>482</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StdResultExt, bail_any};
|
||||
<a href=#483 id=483 data-nosnippet>483</a> <span class="kw">use </span>n0_future::Stream;
|
||||
<a href=#484 id=484 data-nosnippet>484</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#485 id=485 data-nosnippet>485</a> <span class="kw">use </span>tracing::info;
|
||||
<a href=#486 id=486 data-nosnippet>486</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#484 id=484 data-nosnippet>484</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#485 id=485 data-nosnippet>485</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#486 id=486 data-nosnippet>486</a> <span class="kw">use </span>tracing::info;
|
||||
<a href=#487 id=487 data-nosnippet>487</a>
|
||||
<a href=#488 id=488 data-nosnippet>488</a> <span class="kw">use super</span>::<span class="kw-2">*</span>;
|
||||
<a href=#489 id=489 data-nosnippet>489</a> <span class="kw">use crate</span>::{client::conn::Conn, protos::common::FrameType};
|
||||
|
||||
@@ -850,10 +850,10 @@
|
||||
<a href=#850 id=850 data-nosnippet>850</a> <span class="kw">use </span>iroh_base::{PublicKey, SecretKey};
|
||||
<a href=#851 id=851 data-nosnippet>851</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StdResultExt, bail_any};
|
||||
<a href=#852 id=852 data-nosnippet>852</a> <span class="kw">use </span>n0_future::{SinkExt, StreamExt};
|
||||
<a href=#853 id=853 data-nosnippet>853</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#854 id=854 data-nosnippet>854</a> <span class="kw">use </span>reqwest::Url;
|
||||
<a href=#855 id=855 data-nosnippet>855</a> <span class="kw">use </span>tracing::info;
|
||||
<a href=#856 id=856 data-nosnippet>856</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#853 id=853 data-nosnippet>853</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#854 id=854 data-nosnippet>854</a> <span class="kw">use </span>rand::SeedableRng;
|
||||
<a href=#855 id=855 data-nosnippet>855</a> <span class="kw">use </span>reqwest::Url;
|
||||
<a href=#856 id=856 data-nosnippet>856</a> <span class="kw">use </span>tracing::info;
|
||||
<a href=#857 id=857 data-nosnippet>857</a>
|
||||
<a href=#858 id=858 data-nosnippet>858</a> <span class="kw">use super</span>::<span class="kw-2">*</span>;
|
||||
<a href=#859 id=859 data-nosnippet>859</a> <span class="kw">use crate</span>::{
|
||||
|
||||
@@ -488,8 +488,8 @@
|
||||
<a href=#488 id=488 data-nosnippet>488</a>
|
||||
<a href=#489 id=489 data-nosnippet>489</a> <span class="kw">use </span>n0_error::{<span class="prelude-ty">Result</span>, StdResultExt};
|
||||
<a href=#490 id=490 data-nosnippet>490</a> <span class="kw">use </span>n0_future::time;
|
||||
<a href=#491 id=491 data-nosnippet>491</a> <span class="kw">use </span>tokio::io::{AsyncReadExt, AsyncWriteExt};
|
||||
<a href=#492 id=492 data-nosnippet>492</a> <span class="kw">use </span>tracing_test::traced_test;
|
||||
<a href=#491 id=491 data-nosnippet>491</a> <span class="kw">use </span>n0_tracing_test::traced_test;
|
||||
<a href=#492 id=492 data-nosnippet>492</a> <span class="kw">use </span>tokio::io::{AsyncReadExt, AsyncWriteExt};
|
||||
<a href=#493 id=493 data-nosnippet>493</a>
|
||||
<a href=#494 id=494 data-nosnippet>494</a> <span class="kw">use </span><span class="kw">super</span>::Bucket;
|
||||
<a href=#495 id=495 data-nosnippet>495</a> <span class="kw">use </span><span class="kw">crate</span>::server::{Metrics, streams::RateLimited};
|
||||
|
||||
Reference in New Issue
Block a user