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

2 lines
8.0 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-Regular-0fe48ade.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" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-dbdb5eec.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.85.0-nightly (d10a6823f 2024-11-29)" data-channel="nightly" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.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]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../iroh_base/index.html">iroh_<wbr>base</a><span class="version">0.29.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#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="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>iroh_base</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_base/lib.rs.html#1-30">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><ul class="item-table"><li><div class="item-name"><a class="mod" href="base32/index.html" title="mod iroh_base::base32">base32</a><wbr><span class="stab portability" title="Available on crate feature `base32` only"><code>base32</code></span></div></li><li><div class="item-name"><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></div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Hash.html" title="struct iroh_base::Hash">Hash</a><wbr><span class="stab portability" title="Available on crate feature `hash` only"><code>hash</code></span></div><div class="desc docblock-short">Hash type used throughout.</div></li><li><div class="item-name"><a class="struct" href="struct.HashAndFormat.html" title="struct iroh_base::HashAndFormat">Hash<wbr>AndFormat</a><wbr><span class="stab portability" title="Available on crate feature `hash` only"><code>hash</code></span></div><div class="desc docblock-short">A hash and format pair</div></li><li><div class="item-name"><a class="struct" href="struct.NodeAddr.html" title="struct iroh_base::NodeAddr">Node<wbr>Addr</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></div><div class="desc docblock-short">Network-level addressing information for an iroh node.</div></li><li><div class="item-name"><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></div><div class="desc docblock-short">A public key.</div></li><li><div class="item-name"><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></div><div class="desc docblock-short">A URL identifying a relay server.</div></li><li><div class="item-name"><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></div><div class="desc docblock-short">A secret key.</div></li><li><div class="item-name"><a class="struct" href="struct.SharedSecret.html" title="struct iroh_base::SharedSecret">Shared<wbr>Secret</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></div><div class="desc docblock-short">Shared Secret.</div></li><li><div class="item-name"><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></div><div class="desc docblock-short">Ed25519 signature.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.BlobFormat.html" title="enum iroh_base::BlobFormat">Blob<wbr>Format</a><wbr><span class="stab portability" title="Available on crate feature `hash` only"><code>hash</code></span></div><div class="desc docblock-short">A format identifier</div></li><li><div class="item-name"><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></div><div class="desc docblock-short">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>.</div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.PUBLIC_KEY_LENGTH.html" title="constant iroh_base::PUBLIC_KEY_LENGTH">PUBLIC_<wbr>KEY_<wbr>LENGTH</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></div><div class="desc docblock-short">The length of an ed25519 <code>PublicKey</code>, in bytes.</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.NodeId.html" title="type iroh_base::NodeId">NodeId</a><wbr><span class="stab portability" title="Available on crate feature `key` only"><code>key</code></span></div><div class="desc docblock-short">The identifier for a node in the (iroh) network.</div></li></ul></section></div></main></body></html>