Files
iroh/pr/3548/docs/iroh_base/index.html
T

5 lines
7.1 KiB
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="Base types and utilities for Iroh"><title>iroh_base - 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_base" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (b6f0945e4 2025-10-08)" data-channel="nightly" data-search-js="search-8d3311b9.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Crate iroh_base</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../iroh_base/index.html">iroh_<wbr>base</a><span class="version">0.93.2</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>iroh_<wbr>base</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/iroh_base/lib.rs.html#1-22">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Base types and utilities for Iroh</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="ticket/index.html" title="mod iroh_base::ticket">ticket</a><wbr><span class="stab portability" title="Available on crate feature `ticket` only"><code>ticket</code></span></dt><dd>Tickets is a serializable object combining information required for an operation.
Typically tickets contain all information required for an operation, e.g. an iroh blob
ticket would contain the hash of the data as well as information about how to reach the
provider.</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.EndpointAddr.html" title="struct iroh_base::EndpointAddr">Endpoint<wbr>Addr</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></dt><dd>Network-level addressing information for an iroh endpoint.</dd><dt><a class="struct" href="struct.PublicKey.html" title="struct iroh_base::PublicKey">Public<wbr>Key</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></dt><dd>A public key.</dd><dt><a class="struct" href="struct.RelayUrl.html" title="struct iroh_base::RelayUrl">Relay<wbr>Url</a><wbr><span class="stab portability" title="Available on crate feature `relay` only"><code>relay</code></span></dt><dd>A URL identifying a relay server.</dd><dt><a class="struct" href="struct.RelayUrlParseError.html" title="struct iroh_base::RelayUrlParseError">Relay<wbr>UrlParse<wbr>Error</a><wbr><span class="stab portability" title="Available on crate feature `relay` only"><code>relay</code></span></dt><dd>Can occur when parsing a string into a <a href="struct.RelayUrl.html" title="struct iroh_base::RelayUrl"><code>RelayUrl</code></a>.</dd><dt><a class="struct" href="struct.SecretKey.html" title="struct iroh_base::SecretKey">Secret<wbr>Key</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></dt><dd>A secret key.</dd><dt><a class="struct" href="struct.Signature.html" title="struct iroh_base::Signature">Signature</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></dt><dd>Ed25519 signature.</dd><dt><a class="struct" href="struct.SignatureError.html" title="struct iroh_base::SignatureError">Signature<wbr>Error</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></dt><dd>Verification of a signature failed.</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.KeyParsingError.html" title="enum iroh_base::KeyParsingError">KeyParsing<wbr>Error</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></dt><dd>Error when deserialising a <a href="struct.PublicKey.html" title="struct iroh_base::PublicKey"><code>PublicKey</code></a> or a <a href="struct.SecretKey.html" title="struct iroh_base::SecretKey"><code>SecretKey</code></a>.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.EndpointId.html" title="type iroh_base::EndpointId">Endpoint<wbr>Id</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></dt><dd>The identifier for an endpoint in the (iroh) network.</dd></dl><script type="text/json" id="notable-traits-data">{"&[u8]":"<h3>Notable traits for <code>&amp;[<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u8.html\">u8</a>]</code></h3><pre><code><div class=\"where\">impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/io/trait.Read.html\" title=\"trait std::io::Read\">Read</a> for &amp;[<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u8.html\">u8</a>]</div>"}</script></section></div></main></body></html>