mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 16:03:05 +00:00
deploy: 6a102fe1c414bbd500d78fbf1c828a39906ad8bf
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
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="Iroh rpc client - boxed so that we can have a concrete type."><title>RpcClient in iroh::client - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">RpcClient</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E">From<&'a Doc></a></li><li><a href="#impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E">From<&'a Iroh></a></li></ul></section><h2><a href="index.html">In iroh::client</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="../index.html">iroh</a>::<wbr><a href="index.html">client</a>::<wbr><a class="type" href="#">RpcClient</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh/client.rs.html#36-37">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type RpcClient = RpcClient<<a class="struct" href="struct.RpcService.html" title="struct iroh::client::RpcService">RpcService</a>, Connection<<a class="struct" href="struct.RpcService.html" title="struct iroh::client::RpcService">RpcService</a>>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Iroh rpc client - boxed so that we can have a concrete type.</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>struct RpcClient { <span class="comment">/* private fields */</span> }</code></pre><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="impl"><a class="src rightside" href="../../src/iroh/client/docs.rs.html#421-425">source</a><a href="#impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="struct" href="docs/struct.Doc.html" title="struct iroh::client::docs::Doc">Doc</a>> for &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../src/iroh/client/docs.rs.html#422-424">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(doc: &'a <a class="struct" href="docs/struct.Doc.html" title="struct iroh::client::docs::Doc">Doc</a>) -> &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="impl"><a class="src rightside" href="../../src/iroh/client/blobs.rs.html#113-117">source</a><a href="#impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="struct" href="struct.Iroh.html" title="struct iroh::client::Iroh">Iroh</a>> for &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../src/iroh/client/blobs.rs.html#114-116">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(client: &'a <a class="struct" href="struct.Iroh.html" title="struct iroh::client::Iroh">Iroh</a>) -> &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details></div><script src="../../type.impl/quic_rpc/client/struct.RpcClient.js" data-self-path="iroh::client::RpcClient" async></script></section></div></main></body></html>
|
||||
</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>struct RpcClient { <span class="comment">/* private fields */</span> }</code></pre><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="impl"><a class="src rightside" href="../../src/iroh/client/docs.rs.html#421-425">source</a><a href="#impl-From%3C%26Doc%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="struct" href="docs/struct.Doc.html" title="struct iroh::client::docs::Doc">Doc</a>> for &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../src/iroh/client/docs.rs.html#422-424">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(doc: &'a <a class="struct" href="docs/struct.Doc.html" title="struct iroh::client::docs::Doc">Doc</a>) -> &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="impl"><a class="src rightside" href="../../src/iroh/client/blobs.rs.html#113-117">source</a><a href="#impl-From%3C%26Iroh%3E-for-%26RpcClient%3CRpcService,+Connection%3CRpcService%3E%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="struct" href="struct.Iroh.html" title="struct iroh::client::Iroh">Iroh</a>> for &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../src/iroh/client/blobs.rs.html#114-116">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(client: &'a <a class="struct" href="struct.Iroh.html" title="struct iroh::client::Iroh">Iroh</a>) -> &'a <a class="type" href="type.RpcClient.html" title="type iroh::client::RpcClient">RpcClient</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details></div><script src="../../type.impl/quic_rpc/client/struct.RpcClient.js" data-self-path="iroh::client::RpcClient" async></script></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="The default bind addr of the RPC ."><title>DEFAULT_RPC_ADDR in iroh::node - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::node</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Constant <a href="../index.html">iroh</a>::<wbr><a href="index.html">node</a>::<wbr><a class="constant" href="#">DEFAULT_RPC_ADDR</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh/node/builder.rs.html#956-957">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub const DEFAULT_RPC_ADDR: <a class="enum" href="https://doc.rust-lang.org/nightly/core/net/socket_addr/enum.SocketAddr.html" title="enum core::net::socket_addr::SocketAddr">SocketAddr</a>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The default bind addr of the RPC .</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 default bind addr of the RPC ."><title>DEFAULT_RPC_ADDR in iroh::node - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::node</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Constant <a href="../index.html">iroh</a>::<wbr><a href="index.html">node</a>::<wbr><a class="constant" href="#">DEFAULT_RPC_ADDR</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh/node/builder.rs.html#964-965">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub const DEFAULT_RPC_ADDR: <a class="enum" href="https://doc.rust-lang.org/nightly/core/net/socket_addr/enum.SocketAddr.html" title="enum core::net::socket_addr::SocketAddr">SocketAddr</a>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The default bind addr of the RPC .</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
@@ -18,7 +18,7 @@ using <a href="struct.Node.html#method.shutdown" title="method iroh::node::Node:
|
||||
docs_storage: <a class="enum" href="enum.DocsStorage.html" title="enum iroh::node::DocsStorage">DocsStorage</a>,
|
||||
storage: <a class="enum" href="enum.StorageConfig.html" title="enum iroh::node::StorageConfig">StorageConfig</a>
|
||||
) -> Self</h4></section></summary><div class="docblock"><p>Creates a new builder for <a href="struct.Node.html" title="struct iroh::node::Node"><code>Node</code></a> using the given databases.</p>
|
||||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Builder%3CD%3E-1" class="impl"><a class="src rightside" href="../../src/iroh/node/builder.rs.html#310-721">source</a><a href="#impl-Builder%3CD%3E-1" class="anchor">§</a><h3 class="code-header">impl<D> <a class="struct" href="struct.Builder.html" title="struct iroh::node::Builder">Builder</a><D><div class="where">where
|
||||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Builder%3CD%3E-1" class="impl"><a class="src rightside" href="../../src/iroh/node/builder.rs.html#310-729">source</a><a href="#impl-Builder%3CD%3E-1" class="anchor">§</a><h3 class="code-header">impl<D> <a class="struct" href="struct.Builder.html" title="struct iroh::node::Builder">Builder</a><D><div class="where">where
|
||||
D: <a class="trait" href="../blobs/store/trait.Store.html" title="trait iroh::blobs::store::Store">BaoStore</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.blobs_events" class="method"><a class="src rightside" href="../../src/iroh/node/builder.rs.html#318-321">source</a><h4 class="code-header">pub fn <a href="#method.blobs_events" class="fn">blobs_events</a>(self, blob_events: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="../blobs/provider/struct.EventSender.html" title="struct iroh::blobs::provider::EventSender">EventSender</a>>) -> Self</h4></section></summary><div class="docblock"><p>Configure a blob events sender. This will replace the previous blob
|
||||
event sender. By default, no events are sent.</p>
|
||||
<p>To define an event sender, implement the <a href="../blobs/provider/trait.CustomEventSender.html" title="trait iroh::blobs::provider::CustomEventSender"><code>iroh_blobs::provider::CustomEventSender</code></a> trait.</p>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -10,9 +10,9 @@ user.</p>
|
||||
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-AuthForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#impl-Clone-for-AuthForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" 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/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-AuthForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#impl-Debug-for-AuthForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-AuthForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#impl-Deserialize%3C'de%3E-for-AuthForm" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(
|
||||
__deserializer: __D
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CMcCapability%3Ciroh_willow::::proto::meadowcap::McCapability::%7Bconstant%230%7D,+iroh_willow::::proto::meadowcap::McCapability::%7Bconstant%231%7D,+iroh_willow::::proto::meadowcap::McCapability::%7Bconstant%232%7D,+NamespaceId,+NamespaceSignature,+UserId,+UserSignature%3E%3E-for-AuthForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#impl-From%3CMcCapability%3Ciroh_willow::::proto::meadowcap::McCapability::%7Bconstant%230%7D,+iroh_willow::::proto::meadowcap::McCapability::%7Bconstant%231%7D,+iroh_willow::::proto::meadowcap::McCapability::%7Bconstant%232%7D,+NamespaceId,+NamespaceSignature,+UserId,+UserSignature%3E%3E-for-AuthForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>> for <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CMcCapability%3Ciroh_willow::::proto::meadowcap::McCapability::%7Bconstant%230%7D,+iroh_willow::::proto::meadowcap::McCapability::%7Bconstant%231%7D,+iroh_willow::::proto::meadowcap::McCapability::%7Bconstant%232%7D,+NamespaceId,+NamespaceSignature,+UserId,+UserSignature%3E%3E-for-AuthForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#impl-From%3CMcCapability%3Ciroh_willow::::proto::meadowcap::McCapability::%7Bconstant%230%7D,+iroh_willow::::proto::meadowcap::McCapability::%7Bconstant%231%7D,+iroh_willow::::proto::meadowcap::McCapability::%7Bconstant%232%7D,+NamespaceId,+NamespaceSignature,+UserId,+UserSignature%3E%3E-for-AuthForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>> for <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(
|
||||
value: McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>
|
||||
) -> <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CUserId%3E-for-AuthForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#impl-From%3CUserId%3E-for-AuthForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>> for <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>) -> <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-AuthForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#impl-Serialize-for-AuthForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a><__S>(
|
||||
) -> <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CUserId%3E-for-AuthForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#impl-From%3CUserId%3E-for-AuthForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>> for <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>) -> <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-AuthForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#impl-Serialize-for-AuthForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="enum" href="enum.AuthForm.html" title="enum iroh::spaces::form::AuthForm">AuthForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#126">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a><__S>(
|
||||
&self,
|
||||
__serializer: __S
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<__S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, <__S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>><div class="where">where
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
Entry(Entry<iroh_willow::::proto::data_model::Entry::{constant#0}, iroh_willow::::proto::data_model::Entry::{constant#1}, iroh_willow::::proto::data_model::Entry::{constant#2}, <a class="struct" href="../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>>),
|
||||
Form(<a class="struct" href="struct.EntryForm.html" title="struct iroh::spaces::form::EntryForm">EntryForm</a>),
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Either a <a href="../proto/data_model/type.Entry.html" title="type iroh::spaces::proto::data_model::Entry"><code>Entry</code></a> or a <a href="struct.EntryForm.html" title="struct iroh::spaces::form::EntryForm"><code>EntryForm</code></a>.</p>
|
||||
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Entry" class="variant"><a href="#variant.Entry" class="anchor">§</a><h3 class="code-header">Entry(Entry<iroh_willow::::proto::data_model::Entry::{constant#0}, iroh_willow::::proto::data_model::Entry::{constant#1}, iroh_willow::::proto::data_model::Entry::{constant#2}, <a class="struct" href="../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>>)</h3></section><section id="variant.Form" class="variant"><a href="#variant.Form" class="anchor">§</a><h3 class="code-header">Form(<a class="struct" href="struct.EntryForm.html" title="struct iroh::spaces::form::EntryForm">EntryForm</a>)</h3></section></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-EntryOrForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#impl-Debug-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CEntry%3Ciroh_willow::::proto::data_model::Entry::%7Bconstant%230%7D,+iroh_willow::::proto::data_model::Entry::%7Bconstant%231%7D,+iroh_willow::::proto::data_model::Entry::%7Bconstant%232%7D,+NamespaceId,+UserId,+PayloadDigest%3E%3E-for-EntryOrForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#impl-From%3CEntry%3Ciroh_willow::::proto::data_model::Entry::%7Bconstant%230%7D,+iroh_willow::::proto::data_model::Entry::%7Bconstant%231%7D,+iroh_willow::::proto::data_model::Entry::%7Bconstant%232%7D,+NamespaceId,+UserId,+PayloadDigest%3E%3E-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Entry<iroh_willow::::proto::data_model::Entry::{constant#0}, iroh_willow::::proto::data_model::Entry::{constant#1}, iroh_willow::::proto::data_model::Entry::{constant#2}, <a class="struct" href="../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>>> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(
|
||||
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Entry" class="variant"><a href="#variant.Entry" class="anchor">§</a><h3 class="code-header">Entry(Entry<iroh_willow::::proto::data_model::Entry::{constant#0}, iroh_willow::::proto::data_model::Entry::{constant#1}, iroh_willow::::proto::data_model::Entry::{constant#2}, <a class="struct" href="../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>>)</h3></section><section id="variant.Form" class="variant"><a href="#variant.Form" class="anchor">§</a><h3 class="code-header">Form(<a class="struct" href="struct.EntryForm.html" title="struct iroh::spaces::form::EntryForm">EntryForm</a>)</h3></section></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-EntryOrForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#impl-Debug-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CEntry%3Ciroh_willow::::proto::data_model::Entry::%7Bconstant%230%7D,+iroh_willow::::proto::data_model::Entry::%7Bconstant%231%7D,+iroh_willow::::proto::data_model::Entry::%7Bconstant%232%7D,+NamespaceId,+UserId,+PayloadDigest%3E%3E-for-EntryOrForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#impl-From%3CEntry%3Ciroh_willow::::proto::data_model::Entry::%7Bconstant%230%7D,+iroh_willow::::proto::data_model::Entry::%7Bconstant%231%7D,+iroh_willow::::proto::data_model::Entry::%7Bconstant%232%7D,+NamespaceId,+UserId,+PayloadDigest%3E%3E-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Entry<iroh_willow::::proto::data_model::Entry::{constant#0}, iroh_willow::::proto::data_model::Entry::{constant#1}, iroh_willow::::proto::data_model::Entry::{constant#2}, <a class="struct" href="../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>>> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(
|
||||
value: Entry<iroh_willow::::proto::data_model::Entry::{constant#0}, iroh_willow::::proto::data_model::Entry::{constant#1}, iroh_willow::::proto::data_model::Entry::{constant#2}, <a class="struct" href="../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>>
|
||||
) -> <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CEntryForm%3E-for-EntryOrForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#impl-From%3CEntryForm%3E-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.EntryForm.html" title="struct iroh::spaces::form::EntryForm">EntryForm</a>> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.EntryForm.html" title="struct iroh::spaces::form::EntryForm">EntryForm</a>) -> <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-EntryOrForm" class="impl"><a href="#impl-Freeze-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-RefUnwindSafe-for-EntryOrForm" class="impl"><a href="#impl-RefUnwindSafe-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-Send-for-EntryOrForm" class="impl"><a href="#impl-Send-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-Sync-for-EntryOrForm" class="impl"><a href="#impl-Sync-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-Unpin-for-EntryOrForm" class="impl"><a href="#impl-Unpin-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-UnwindSafe-for-EntryOrForm" class="impl"><a href="#impl-UnwindSafe-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||||
) -> <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CEntryForm%3E-for-EntryOrForm" class="impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#impl-From%3CEntryForm%3E-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.EntryForm.html" title="struct iroh::spaces::form::EntryForm">EntryForm</a>> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/form.rs.html#89">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.EntryForm.html" title="struct iroh::spaces::form::EntryForm">EntryForm</a>) -> <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-EntryOrForm" class="impl"><a href="#impl-Freeze-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-RefUnwindSafe-for-EntryOrForm" class="impl"><a href="#impl-RefUnwindSafe-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-Send-for-EntryOrForm" class="impl"><a href="#impl-Send-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-Sync-for-EntryOrForm" class="impl"><a href="#impl-Sync-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-Unpin-for-EntryOrForm" class="impl"><a href="#impl-Unpin-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section><section id="impl-UnwindSafe-for-EntryOrForm" class="impl"><a href="#impl-UnwindSafe-for-EntryOrForm" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.EntryOrForm.html" title="enum iroh::spaces::form::EntryOrForm">EntryOrForm</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsTaggedExplicit%3C'a,+E%3E-for-T" class="impl"><a href="#impl-AsTaggedExplicit%3C'a,+E%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<'a, T, E> AsTaggedExplicit<'a, E> for T<div class="where">where
|
||||
T: 'a,</div></h3></section></summary><div class="impl-items"><section id="method.explicit" class="method trait-impl"><a href="#method.explicit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">explicit</a>(self, class: Class, tag: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> TaggedParser<'a, Explicit, Self, E></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsTaggedImplicit%3C'a,+E%3E-for-T" class="impl"><a href="#impl-AsTaggedImplicit%3C'a,+E%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<'a, T, E> AsTaggedImplicit<'a, E> for T<div class="where">where
|
||||
T: 'a,</div></h3></section></summary><div class="impl-items"><section id="method.implicit" class="method trait-impl"><a href="#method.implicit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">implicit</a>(
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -16,7 +16,7 @@
|
||||
&self,
|
||||
consumer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Consumer</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <Consumer as Consumer>::Error><div class="where">where
|
||||
Consumer: BulkConsumer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Encode a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CHash%3E-for-PayloadDigest" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#61">source</a><a href="#impl-From%3CHash%3E-for-PayloadDigest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../../blobs/struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>> for <a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#61">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="../../../blobs/struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>) -> <a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPayloadDigest%3E-for-Hash" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#62">source</a><a href="#impl-From%3CPayloadDigest%3E-for-Hash" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>> for <a class="struct" href="../../../blobs/struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#62">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>) -> <a class="struct" href="../../../blobs/struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-PayloadDigest" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#56">source</a><a href="#impl-Hash-for-PayloadDigest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#56">source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a><__H>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut __H</a>)<div class="where">where
|
||||
Consumer: BulkConsumer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Encode a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CHash%3E-for-PayloadDigest" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#61">source</a><a href="#impl-From%3CHash%3E-for-PayloadDigest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../../blobs/struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>> for <a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#61">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="../../../blobs/struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a>) -> <a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPayloadDigest%3E-for-Hash" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#62">source</a><a href="#impl-From%3CPayloadDigest%3E-for-Hash" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>> for <a class="struct" href="../../../blobs/struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#62">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>) -> <a class="struct" href="../../../blobs/struct.Hash.html" title="struct iroh::blobs::Hash">Hash</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-PayloadDigest" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#56">source</a><a href="#impl-Hash-for-PayloadDigest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#56">source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a><__H>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut __H</a>)<div class="where">where
|
||||
__H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,</div></h4></section></summary><div class='docblock'>Feeds this value 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#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#238-240">source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a><H>(data: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut H</a>)<div class="where">where
|
||||
H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
|
||||
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-PayloadDigest" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/data_model.rs.html#59">source</a><a href="#impl-Ord-for-PayloadDigest" 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="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</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_willow/proto/data_model.rs.html#59">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="struct" href="struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</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#856-858">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
|
||||
|
||||
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
@@ -39,8 +39,8 @@ operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.h
|
||||
__serializer: __S
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<__S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, <__S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>><div class="where">where
|
||||
__S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Signer%3CUserSignature%3E-for-UserSecretKey" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#662">source</a><a href="#impl-Signer%3CUserSignature%3E-for-UserSecretKey" class="anchor">§</a><h3 class="code-header">impl Signer<<a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserSecretKey.html" title="struct iroh::spaces::proto::keys::UserSecretKey">UserSecretKey</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_sign" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#663">source</a><a href="#method.try_sign" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_sign</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</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.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>, Error></h4></section></summary><div class='docblock'>Attempt to sign the given message, returning a digital signature on
|
||||
success, or an error if something went wrong. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sign" class="method trait-impl"><a href="#method.sign" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sign</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]) -> S</h4></section></summary><div class='docblock'>Sign the given message and return a digital signature</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Verifier%3CUserSignature%3E-for-UserId" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#628">source</a><a href="#impl-Verifier%3CUserSignature%3E-for-UserId" class="anchor">§</a><h3 class="code-header">impl Verifier<<a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.verify-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#629-633">source</a><a href="#method.verify-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">verify</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], signature: &<a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error></h4></section></summary><div class='docblock'>Use <code>Self</code> to verify that the provided signature for a given message
|
||||
bytestring is authentic. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Verifier%3CUserSignature%3E-for-UserPublicKey" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#618">source</a><a href="#impl-Verifier%3CUserSignature%3E-for-UserPublicKey" class="anchor">§</a><h3 class="code-header">impl Verifier<<a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserPublicKey.html" title="struct iroh::spaces::proto::keys::UserPublicKey">UserPublicKey</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.verify" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#619-623">source</a><a href="#method.verify" class="anchor">§</a><h4 class="code-header">fn <a class="fn">verify</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], signature: &<a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error></h4></section></summary><div class='docblock'>Use <code>Self</code> to verify that the provided signature for a given message
|
||||
success, or an error if something went wrong. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sign" class="method trait-impl"><a href="#method.sign" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sign</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]) -> S</h4></section></summary><div class='docblock'>Sign the given message and return a digital signature</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Verifier%3CUserSignature%3E-for-UserId" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#628">source</a><a href="#impl-Verifier%3CUserSignature%3E-for-UserId" class="anchor">§</a><h3 class="code-header">impl Verifier<<a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.verify" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#629-633">source</a><a href="#method.verify" class="anchor">§</a><h4 class="code-header">fn <a class="fn">verify</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], signature: &<a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error></h4></section></summary><div class='docblock'>Use <code>Self</code> to verify that the provided signature for a given message
|
||||
bytestring is authentic. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Verifier%3CUserSignature%3E-for-UserPublicKey" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#618">source</a><a href="#impl-Verifier%3CUserSignature%3E-for-UserPublicKey" class="anchor">§</a><h3 class="code-header">impl Verifier<<a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserPublicKey.html" title="struct iroh::spaces::proto::keys::UserPublicKey">UserPublicKey</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.verify-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#619-623">source</a><a href="#method.verify-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">verify</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], signature: &<a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error></h4></section></summary><div class='docblock'>Use <code>Self</code> to verify that the provided signature for a given message
|
||||
bytestring is authentic. <a>Read more</a></div></details></div></details><section id="impl-Eq-for-UserSignature" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-Eq-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-StructuralPartialEq-for-UserSignature" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-StructuralPartialEq-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-UserSignature" class="impl"><a href="#impl-Freeze-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-RefUnwindSafe-for-UserSignature" class="impl"><a href="#impl-RefUnwindSafe-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-Send-for-UserSignature" class="impl"><a href="#impl-Send-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-Sync-for-UserSignature" class="impl"><a href="#impl-Sync-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-Unpin-for-UserSignature" class="impl"><a href="#impl-Unpin-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-UnwindSafe-for-UserSignature" class="impl"><a href="#impl-UnwindSafe-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsTaggedExplicit%3C'a,+E%3E-for-T" class="impl"><a href="#impl-AsTaggedExplicit%3C'a,+E%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<'a, T, E> AsTaggedExplicit<'a, E> for T<div class="where">where
|
||||
T: 'a,</div></h3></section></summary><div class="impl-items"><section id="method.explicit" class="method trait-impl"><a href="#method.explicit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">explicit</a>(self, class: Class, tag: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> TaggedParser<'a, Explicit, Self, E></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsTaggedImplicit%3C'a,+E%3E-for-T" class="impl"><a href="#impl-AsTaggedImplicit%3C'a,+E%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<'a, T, E> AsTaggedImplicit<'a, E> for T<div class="where">where
|
||||
|
||||
+1
-1
@@ -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 `deserialize` fn in crate `iroh`."><title>deserialize in iroh::spaces::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::access_mode</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">access_mode</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#264-266">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(
|
||||
<!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 `deserialize` fn in crate `iroh`."><title>deserialize in iroh::spaces::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::access_mode</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">access_mode</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#265-267">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(
|
||||
deserializer: D
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../enum.AccessMode.html" title="enum iroh::spaces::proto::meadowcap::AccessMode">AccessMode</a>, <D as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></code></pre></section></div></main></body></html>
|
||||
+1
-1
@@ -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 `serialize` fn in crate `iroh`."><title>serialize in iroh::spaces::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::access_mode</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">access_mode</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#254-257">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S>(
|
||||
<!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 `serialize` fn in crate `iroh`."><title>serialize in iroh::spaces::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::access_mode</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">access_mode</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#255-258">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S>(
|
||||
value: &<a class="enum" href="../../enum.AccessMode.html" title="enum iroh::spaces::proto::meadowcap::AccessMode">AccessMode</a>,
|
||||
serializer: S
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, <S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>><div class="where">where
|
||||
|
||||
@@ -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="API documentation for the Rust `access_mode` mod in crate `iroh`."><title>iroh::spaces::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module access_mode</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh::spaces::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">access_mode</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#252">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::access_mode::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::access_mode::serialize">serialize</a></div></li></ul></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="API documentation for the Rust `access_mode` mod in crate `iroh`."><title>iroh::spaces::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module access_mode</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh::spaces::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">access_mode</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#253">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::access_mode::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::access_mode::serialize">serialize</a></div></li></ul></section></div></main></body></html>
|
||||
+1
-1
@@ -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 `deserialize` fn in crate `iroh`."><title>deserialize in iroh::spaces::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::mc_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_capability</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#195-197">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(
|
||||
<!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 `deserialize` fn in crate `iroh`."><title>deserialize in iroh::spaces::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::mc_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_capability</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#196-198">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(
|
||||
deserializer: D
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../../../keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../../keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../../keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../../keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>, <D as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></code></pre></section></div></main></body></html>
|
||||
+1
-1
@@ -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 `serialize` fn in crate `iroh`."><title>serialize in iroh::spaces::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::mc_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_capability</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#187-190">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S>(
|
||||
<!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 `serialize` fn in crate `iroh`."><title>serialize in iroh::spaces::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::mc_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_capability</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#188-191">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S>(
|
||||
value: &McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../../../keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../../keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../../keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../../keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>,
|
||||
serializer: S
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, <S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>><div class="where">where
|
||||
|
||||
@@ -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="API documentation for the Rust `mc_capability` mod in crate `iroh`."><title>iroh::spaces::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module mc_capability</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh::spaces::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">mc_capability</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#185">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::mc_capability::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::mc_capability::serialize">serialize</a></div></li></ul></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="API documentation for the Rust `mc_capability` mod in crate `iroh`."><title>iroh::spaces::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module mc_capability</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh::spaces::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">mc_capability</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#186">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::mc_capability::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::mc_capability::serialize">serialize</a></div></li></ul></section></div></main></body></html>
|
||||
+1
-1
@@ -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 `deserialize` fn in crate `iroh`."><title>deserialize in iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_subspace_capability</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#229-231">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(
|
||||
<!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 `deserialize` fn in crate `iroh`."><title>deserialize in iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_subspace_capability</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#230-232">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(
|
||||
deserializer: D
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><McSubspaceCapability<<a class="struct" href="../../../keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../../keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../../keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../../keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>, <D as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></code></pre></section></div></main></body></html>
|
||||
+1
-1
@@ -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 `serialize` fn in crate `iroh`."><title>serialize in iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_subspace_capability</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#222-225">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S>(
|
||||
<!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 `serialize` fn in crate `iroh`."><title>serialize in iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_subspace_capability</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#223-226">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S>(
|
||||
value: &McSubspaceCapability<<a class="struct" href="../../../keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../../keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../../keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../../keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>,
|
||||
serializer: S
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, <S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>><div class="where">where
|
||||
|
||||
+1
-1
@@ -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="API documentation for the Rust `mc_subspace_capability` mod in crate `iroh`."><title>iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module mc_subspace_capability</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh::spaces::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">mc_subspace_capability</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#220">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability::serialize">serialize</a></div></li></ul></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="API documentation for the Rust `mc_subspace_capability` mod in crate `iroh`."><title>iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module mc_subspace_capability</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh::spaces::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../../index.html">iroh</a>::<wbr><a href="../../../../index.html">spaces</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">mc_subspace_capability</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../../src/iroh_willow/proto/meadowcap.rs.html#221">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh::spaces::proto::meadowcap::serde_encoding::mc_subspace_capability::serialize">serialize</a></div></li></ul></section></div></main></body></html>
|
||||
+8
-8
File diff suppressed because one or more lines are too long
+5
-5
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
@@ -7,7 +7,7 @@
|
||||
</div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-PaiBindFragment" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#508">source</a><a href="#impl-Debug-for-PaiBindFragment" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#508">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, __derive_more_f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-PaiBindFragment" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#508">source</a><a href="#impl-Deserialize%3C'de%3E-for-PaiBindFragment" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#508">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(
|
||||
__deserializer: __D
|
||||
) -> <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.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a>, <__D as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPaiBindFragment%3E-for-IntersectionMessage" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#247">source</a><a href="#impl-From%3CPaiBindFragment%3E-for-IntersectionMessage" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a>> for <a class="enum" href="enum.IntersectionMessage.html" title="enum iroh::spaces::proto::wgps::IntersectionMessage">IntersectionMessage</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#247">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a>) -> <a class="enum" href="enum.IntersectionMessage.html" title="enum iroh::spaces::proto::wgps::IntersectionMessage">IntersectionMessage</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPaiBindFragment%3E-for-Message" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#71">source</a><a href="#impl-From%3CPaiBindFragment%3E-for-Message" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a>> for <a class="enum" href="enum.Message.html" title="enum iroh::spaces::proto::wgps::Message">Message</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#71">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a>) -> <a class="enum" href="enum.Message.html" title="enum iroh::spaces::proto::wgps::Message">Message</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-PaiBindFragment" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#508">source</a><a href="#impl-Serialize-for-PaiBindFragment" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#508">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a><__S>(
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPaiBindFragment%3E-for-IntersectionMessage" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#247">source</a><a href="#impl-From%3CPaiBindFragment%3E-for-IntersectionMessage" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a>> for <a class="enum" href="enum.IntersectionMessage.html" title="enum iroh::spaces::proto::wgps::IntersectionMessage">IntersectionMessage</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#247">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a>) -> <a class="enum" href="enum.IntersectionMessage.html" title="enum iroh::spaces::proto::wgps::IntersectionMessage">IntersectionMessage</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CPaiBindFragment%3E-for-Message" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#71">source</a><a href="#impl-From%3CPaiBindFragment%3E-for-Message" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a>> for <a class="enum" href="enum.Message.html" title="enum iroh::spaces::proto::wgps::Message">Message</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#71">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: <a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a>) -> <a class="enum" href="enum.Message.html" title="enum iroh::spaces::proto::wgps::Message">Message</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-PaiBindFragment" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#508">source</a><a href="#impl-Serialize-for-PaiBindFragment" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.PaiBindFragment.html" title="struct iroh::spaces::proto::wgps::PaiBindFragment">PaiBindFragment</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/proto/wgps/messages.rs.html#508">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a><__S>(
|
||||
&self,
|
||||
__serializer: __S
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<__S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, <__S as <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>><div class="where">where
|
||||
|
||||
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="Store for entries, secrets, and capabilities used in the Willow engine."><title>iroh::spaces::store - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module store</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li></ul></section><h2><a href="../index.html">In iroh::spaces</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">iroh</a>::<wbr><a href="../index.html">spaces</a>::<wbr><a class="mod" href="#">store</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/iroh_willow/lib.rs.html#12">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Store for entries, secrets, and capabilities used in the Willow engine.</p>
|
||||
<p>The storage backend is defined in the <a href="traits/trait.Storage.html" title="trait iroh::spaces::store::traits::Storage"><code>Storage</code></a> trait and its associated types.</p>
|
||||
<p>The only implementation is currently an in-memory store at <a href="memory/index.html" title="mod iroh::spaces::store::memory"><code>memory</code></a>.</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="memory/index.html" title="mod iroh::spaces::store::memory">memory</a></div><div class="desc docblock-short">In-memory storage implementation for testing purposes.</div></li><li><div class="item-name"><a class="mod" href="traits/index.html" title="mod iroh::spaces::store::traits">traits</a></div><div class="desc docblock-short">Traits for storage backends for the Willow store.</div></li></ul></section></div></main></body></html>
|
||||
</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="memory/index.html" title="mod iroh::spaces::store::memory">memory</a></div><div class="desc docblock-short">In-memory storage implementation for testing purposes.</div></li><li><div class="item-name"><a class="mod" href="persistent/index.html" title="mod iroh::spaces::store::persistent">persistent</a></div></li><li><div class="item-name"><a class="mod" href="traits/index.html" title="mod iroh::spaces::store::traits">traits</a></div><div class="desc docblock-short">Traits for storage backends for the Willow store.</div></li></ul></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
@@ -0,0 +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="API documentation for the Rust `persistent` mod in crate `iroh`."><title>iroh::spaces::store::persistent - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module persistent</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section><h2><a href="../index.html">In iroh::spaces::store</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">spaces</a>::<wbr><a href="../index.html">store</a>::<wbr><a class="mod" href="#">persistent</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../src/iroh_willow/store.rs.html#31">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><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.Store.html" title="struct iroh::spaces::store::persistent::Store">Store</a></div></li><li><div class="item-name"><a class="struct" href="struct.WillowSnapshot.html" title="struct iroh::spaces::store::persistent::WillowSnapshot">WillowSnapshot</a></div></li><li><div class="item-name"><a class="struct" href="struct.WillowStore.html" title="struct iroh::spaces::store::persistent::WillowStore">WillowStore</a></div></li></ul></section></div></main></body></html>
|
||||
@@ -0,0 +1 @@
|
||||
window.SIDEBAR_ITEMS = {"struct":["Store","WillowSnapshot","WillowStore"]};
|
||||
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 @@
|
||||
window.SIDEBAR_ITEMS = {"mod":["memory","traits"]};
|
||||
window.SIDEBAR_ITEMS = {"mod":["memory","persistent","traits"]};
|
||||
@@ -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="Traits for storage backends for the Willow store."><title>iroh::spaces::store::traits - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module traits</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In iroh::spaces::store</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">spaces</a>::<wbr><a href="../index.html">store</a>::<wbr><a class="mod" href="#">traits</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../src/iroh_willow/store.rs.html#31">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Traits for storage backends for the Willow store.</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="Traits for storage backends for the Willow store."><title>iroh::spaces::store::traits - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module traits</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In iroh::spaces::store</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">spaces</a>::<wbr><a href="../index.html">store</a>::<wbr><a class="mod" href="#">traits</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../src/iroh_willow/store.rs.html#32">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Traits for storage backends for the Willow store.</p>
|
||||
</div></details><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.PruneEvent.html" title="struct iroh::spaces::store::traits::PruneEvent">PruneEvent</a></div><div class="desc docblock-short">Describes an <a href="../../proto/data_model/type.AuthorisedEntry.html" title="type iroh::spaces::proto::data_model::AuthorisedEntry"><code>AuthorisedEntry</code></a> which was pruned and the <a href="../../proto/data_model/type.AuthorisedEntry.html" title="type iroh::spaces::proto::data_model::AuthorisedEntry"><code>AuthorisedEntry</code></a> which triggered the pruning.</div></li><li><div class="item-name"><a class="struct" href="struct.SplitOpts.html" title="struct iroh::spaces::store::traits::SplitOpts">SplitOpts</a></div></li><li><div class="item-name"><a class="struct" href="struct.SubscribeParams.html" title="struct iroh::spaces::store::traits::SubscribeParams">SubscribeParams</a></div><div class="desc docblock-short">Describes which entries to ignore during a query.</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.EntryChannel.html" title="enum iroh::spaces::store::traits::EntryChannel">EntryChannel</a></div></li><li><div class="item-name"><a class="enum" href="enum.EntryOrigin.html" title="enum iroh::spaces::store::traits::EntryOrigin">EntryOrigin</a></div><div class="desc docblock-short">The origin of an entry ingestion event.</div></li><li><div class="item-name"><a class="enum" href="enum.KeyScope.html" title="enum iroh::spaces::store::traits::KeyScope">KeyScope</a></div></li><li><div class="item-name"><a class="enum" href="enum.SecretStoreError.html" title="enum iroh::spaces::store::traits::SecretStoreError">SecretStoreError</a></div><div class="desc docblock-short">Error returned from <a href="trait.SecretStorage.html" title="trait iroh::spaces::store::traits::SecretStorage"><code>SecretStorage</code></a>.</div></li><li><div class="item-name"><a class="enum" href="enum.SplitAction.html" title="enum iroh::spaces::store::traits::SplitAction">SplitAction</a></div></li><li><div class="item-name"><a class="enum" href="enum.StoreEvent.html" title="enum iroh::spaces::store::traits::StoreEvent">StoreEvent</a></div><div class="desc docblock-short">An event which took place within a <a href="trait.EntryStorage.html" title="trait iroh::spaces::store::traits::EntryStorage"><code>EntryStorage</code></a>.
|
||||
Each event includes a <em>progress ID</em> which can be used to <em>resume</em> a subscription at any point in the future.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.CapsStorage.html" title="trait iroh::spaces::store::traits::CapsStorage">CapsStorage</a></div><div class="desc docblock-short">Capability storage.</div></li><li><div class="item-name"><a class="trait" href="trait.EntryReader.html" title="trait iroh::spaces::store::traits::EntryReader">EntryReader</a></div><div class="desc docblock-short">Read-only interface to <a href="trait.EntryStorage.html" title="trait iroh::spaces::store::traits::EntryStorage"><code>EntryStorage</code></a>.</div></li><li><div class="item-name"><a class="trait" href="trait.EntryStorage.html" title="trait iroh::spaces::store::traits::EntryStorage">EntryStorage</a></div><div class="desc docblock-short">Storage for entries.</div></li><li><div class="item-name"><a class="trait" href="trait.SecretStorage.html" title="trait iroh::spaces::store::traits::SecretStorage">SecretStorage</a></div><div class="desc docblock-short">Storage for user and namespace secrets.</div></li><li><div class="item-name"><a class="trait" href="trait.Storage.html" title="trait iroh::spaces::store::traits::Storage">Storage</a></div><div class="desc docblock-short">Storage backend.</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.RangeSplit.html" title="type iroh::spaces::store::traits::RangeSplit">RangeSplit</a></div></li></ul></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="Capability storage."><title>CapsStorage in iroh::spaces::store::traits - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">CapsStorage</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.get_read_cap">get_read_cap</a></li><li><a href="#tymethod.get_write_cap">get_write_cap</a></li><li><a href="#tymethod.insert">insert</a></li><li><a href="#tymethod.list_read_caps">list_read_caps</a></li><li><a href="#tymethod.list_write_caps">list_write_caps</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-CapsStorage-for-Rc%3CRefCell%3CCapsStore%3E%3E">Rc<RefCell<CapsStore>></a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::spaces::store::traits</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">spaces</a>::<wbr><a href="../index.html">store</a>::<wbr><a href="index.html">traits</a>::<wbr><a class="trait" href="#">CapsStorage</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../src/iroh_willow/store/traits.rs.html#195">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait CapsStorage: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> {
|
||||
<!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="Capability storage."><title>CapsStorage in iroh::spaces::store::traits - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">CapsStorage</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.get_read_cap">get_read_cap</a></li><li><a href="#tymethod.get_write_cap">get_write_cap</a></li><li><a href="#tymethod.insert">insert</a></li><li><a href="#tymethod.list_read_caps">list_read_caps</a></li><li><a href="#tymethod.list_write_caps">list_write_caps</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-CapsStorage-for-Rc%3CRefCell%3CCapsStore%3E%3E">Rc<RefCell<CapsStore>></a></li><li><a href="#impl-CapsStorage-for-Rc%3CWillowStore%3E">Rc<WillowStore></a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::spaces::store::traits</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">spaces</a>::<wbr><a href="../index.html">store</a>::<wbr><a href="index.html">traits</a>::<wbr><a class="trait" href="#">CapsStorage</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../src/iroh_willow/store/traits.rs.html#195">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait CapsStorage: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> {
|
||||
// Required methods
|
||||
fn <a href="#tymethod.insert" class="fn">insert</a>(&self, cap: <a class="enum" href="../../interest/enum.CapabilityPack.html" title="enum iroh::spaces::interest::CapabilityPack">CapabilityPack</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>>;
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.list_read_caps" class="fn">list_read_caps</a>(
|
||||
@@ -30,16 +30,28 @@
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="tymethod.get_read_cap" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#210">source</a><h4 class="code-header">fn <a href="#tymethod.get_read_cap" class="fn">get_read_cap</a>(
|
||||
&self,
|
||||
selector: &<a class="struct" href="../../interest/struct.CapSelector.html" title="struct iroh::spaces::interest::CapSelector">CapSelector</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="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../proto/meadowcap/struct.ReadAuthorisation.html" title="struct iroh::spaces::proto::meadowcap::ReadAuthorisation">ReadAuthorisation</a>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-CapsStorage-for-Rc%3CRefCell%3CCapsStore%3E%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#651">source</a><a href="#impl-CapsStorage-for-Rc%3CRefCell%3CCapsStore%3E%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.CapsStorage.html" title="trait iroh::spaces::store::traits::CapsStorage">CapsStorage</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.CapsStore.html" title="struct iroh::spaces::store::memory::CapsStore">CapsStore</a>>></h3></section></summary><div class="impl-items"><section id="method.insert" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#652">source</a><a href="#method.insert" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.insert" class="fn">insert</a>(&self, cap: <a class="enum" href="../../interest/enum.CapabilityPack.html" title="enum iroh::spaces::interest::CapabilityPack">CapabilityPack</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.list_read_caps" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#657-660">source</a><a href="#method.list_read_caps" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.list_read_caps" class="fn">list_read_caps</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="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../proto/meadowcap/struct.ReadAuthorisation.html" title="struct iroh::spaces::proto::meadowcap::ReadAuthorisation">ReadAuthorisation</a>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-CapsStorage-for-Rc%3CWillowStore%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#576">source</a><a href="#impl-CapsStorage-for-Rc%3CWillowStore%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.CapsStorage.html" title="trait iroh::spaces::store::traits::CapsStorage">CapsStorage</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="../persistent/struct.WillowStore.html" title="struct iroh::spaces::store::persistent::WillowStore">WillowStore</a>></h3></section></summary><div class="impl-items"><section id="method.insert" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#577">source</a><a href="#method.insert" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.insert" class="fn">insert</a>(&self, cap: <a class="enum" href="../../interest/enum.CapabilityPack.html" title="enum iroh::spaces::interest::CapabilityPack">CapabilityPack</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.list_read_caps" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#592-595">source</a><a href="#method.list_read_caps" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.list_read_caps" class="fn">list_read_caps</a>(
|
||||
&self,
|
||||
namespace: <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="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../proto/meadowcap/struct.ReadAuthorisation.html" title="struct iroh::spaces::proto::meadowcap::ReadAuthorisation">ReadAuthorisation</a>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.list_write_caps" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#664-667">source</a><a href="#method.list_write_caps" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.list_write_caps" class="fn">list_write_caps</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../proto/meadowcap/struct.ReadAuthorisation.html" title="struct iroh::spaces::proto::meadowcap::ReadAuthorisation">ReadAuthorisation</a>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.list_write_caps" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#611-614">source</a><a href="#method.list_write_caps" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.list_write_caps" class="fn">list_write_caps</a>(
|
||||
&self,
|
||||
namespace: <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="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_write_cap" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#671">source</a><a href="#method.get_write_cap" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_write_cap" class="fn">get_write_cap</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_write_cap" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#630">source</a><a href="#method.get_write_cap" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_write_cap" class="fn">get_write_cap</a>(
|
||||
&self,
|
||||
selector: &<a class="struct" href="../../interest/struct.CapSelector.html" title="struct iroh::spaces::interest::CapSelector">CapSelector</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="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_read_cap" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#675">source</a><a href="#method.get_read_cap" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_read_cap" class="fn">get_read_cap</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="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_read_cap" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#636">source</a><a href="#method.get_read_cap" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_read_cap" class="fn">get_read_cap</a>(
|
||||
&self,
|
||||
selector: &<a class="struct" href="../../interest/struct.CapSelector.html" title="struct iroh::spaces::interest::CapSelector">CapSelector</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="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../proto/meadowcap/struct.ReadAuthorisation.html" title="struct iroh::spaces::proto::meadowcap::ReadAuthorisation">ReadAuthorisation</a>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CapsStorage-for-Rc%3CRefCell%3CCapsStore%3E%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#650">source</a><a href="#impl-CapsStorage-for-Rc%3CRefCell%3CCapsStore%3E%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.CapsStorage.html" title="trait iroh::spaces::store::traits::CapsStorage">CapsStorage</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.CapsStore.html" title="struct iroh::spaces::store::memory::CapsStore">CapsStore</a>>></h3></section></summary><div class="impl-items"><section id="method.insert-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#651">source</a><a href="#method.insert-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.insert" class="fn">insert</a>(&self, cap: <a class="enum" href="../../interest/enum.CapabilityPack.html" title="enum iroh::spaces::interest::CapabilityPack">CapabilityPack</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.list_read_caps-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#656-659">source</a><a href="#method.list_read_caps-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.list_read_caps" class="fn">list_read_caps</a>(
|
||||
&self,
|
||||
namespace: <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="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="../../proto/meadowcap/struct.ReadAuthorisation.html" title="struct iroh::spaces::proto::meadowcap::ReadAuthorisation">ReadAuthorisation</a>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.list_write_caps-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#663-666">source</a><a href="#method.list_write_caps-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.list_write_caps" class="fn">list_write_caps</a>(
|
||||
&self,
|
||||
namespace: <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="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_write_cap-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#670">source</a><a href="#method.get_write_cap-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_write_cap" class="fn">get_write_cap</a>(
|
||||
&self,
|
||||
selector: &<a class="struct" href="../../interest/struct.CapSelector.html" title="struct iroh::spaces::interest::CapSelector">CapSelector</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="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><McCapability<iroh_willow::::proto::meadowcap::McCapability::{constant#0}, iroh_willow::::proto::meadowcap::McCapability::{constant#1}, iroh_willow::::proto::meadowcap::McCapability::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_read_cap-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#674">source</a><a href="#method.get_read_cap-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_read_cap" class="fn">get_read_cap</a>(
|
||||
&self,
|
||||
selector: &<a class="struct" href="../../interest/struct.CapSelector.html" title="struct iroh::spaces::interest::CapSelector">CapSelector</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="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../proto/meadowcap/struct.ReadAuthorisation.html" title="struct iroh::spaces::proto::meadowcap::ReadAuthorisation">ReadAuthorisation</a>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../trait.impl/iroh_willow/store/traits/trait.CapsStorage.js" data-ignore-extern-crates="alloc" async></script></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="Read-only interface to `EntryStorage`."><title>EntryReader in iroh::spaces::store::traits - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">EntryReader</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.count">count</a></li><li><a href="#tymethod.fingerprint">fingerprint</a></li><li><a href="#tymethod.get_authorised_entries">get_authorised_entries</a></li><li><a href="#tymethod.get_entry">get_entry</a></li><li><a href="#tymethod.split_range">split_range</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.get_entries">get_entries</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-EntryReader-for-Rc%3CRefCell%3CEntryStore%3E%3E">Rc<RefCell<EntryStore>></a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::spaces::store::traits</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">spaces</a>::<wbr><a href="../index.html">store</a>::<wbr><a href="index.html">traits</a>::<wbr><a class="trait" href="#">EntryReader</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../src/iroh_willow/store/traits.rs.html#119">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait EntryReader: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + 'static {
|
||||
<!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="Read-only interface to `EntryStorage`."><title>EntryReader in iroh::spaces::store::traits - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-b21aa549bf6d91ff.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.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-2c020d218678b618.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]--><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/index.html">iroh</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">EntryReader</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.count">count</a></li><li><a href="#tymethod.fingerprint">fingerprint</a></li><li><a href="#tymethod.get_authorised_entries">get_authorised_entries</a></li><li><a href="#tymethod.get_entry">get_entry</a></li><li><a href="#tymethod.split_range">split_range</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.get_entries">get_entries</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-EntryReader-for-Rc%3CRefCell%3CEntryStore%3E%3E">Rc<RefCell<EntryStore>></a></li><li><a href="#impl-EntryReader-for-Rc%3CWillowStore%3E">Rc<WillowStore></a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In iroh::spaces::store::traits</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../iroh/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../../../index.html">iroh</a>::<wbr><a href="../../index.html">spaces</a>::<wbr><a href="../index.html">store</a>::<wbr><a href="index.html">traits</a>::<wbr><a class="trait" href="#">EntryReader</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../src/iroh_willow/store/traits.rs.html#119">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait EntryReader: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + 'static {
|
||||
// Required methods
|
||||
fn <a href="#tymethod.fingerprint" class="fn">fingerprint</a>(
|
||||
&self,
|
||||
@@ -61,26 +61,48 @@
|
||||
&self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>>
|
||||
) -> impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Entry<iroh_willow::::proto::data_model::Entry::{constant#0}, iroh_willow::::proto::data_model::Entry::{constant#1}, iroh_willow::::proto::data_model::Entry::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>>></h4></section></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-EntryReader-for-Rc%3CRefCell%3CEntryStore%3E%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#155">source</a><a href="#impl-EntryReader-for-Rc%3CRefCell%3CEntryStore%3E%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EntryReader.html" title="trait iroh::spaces::store::traits::EntryReader">EntryReader</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.EntryStore.html" title="struct iroh::spaces::store::memory::EntryStore">EntryStore</a>>></h3></section></summary><div class="impl-items"><section id="method.fingerprint" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#156">source</a><a href="#method.fingerprint" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.fingerprint" class="fn">fingerprint</a>(
|
||||
) -> impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Entry<iroh_willow::::proto::data_model::Entry::{constant#0}, iroh_willow::::proto::data_model::Entry::{constant#1}, iroh_willow::::proto::data_model::Entry::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>>></h4></section></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-EntryReader-for-Rc%3CWillowStore%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#501">source</a><a href="#impl-EntryReader-for-Rc%3CWillowStore%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EntryReader.html" title="trait iroh::spaces::store::traits::EntryReader">EntryReader</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="../persistent/struct.WillowStore.html" title="struct iroh::spaces::store::persistent::WillowStore">WillowStore</a>></h3></section></summary><div class="impl-items"><section id="method.fingerprint" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#502">source</a><a href="#method.fingerprint" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.fingerprint" class="fn">fingerprint</a>(
|
||||
&self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</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="../../proto/wgps/struct.Fingerprint.html" title="struct iroh::spaces::proto::wgps::Fingerprint">Fingerprint</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.split_range" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#165-170">source</a><a href="#method.split_range" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.split_range" class="fn">split_range</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="../../proto/wgps/struct.Fingerprint.html" title="struct iroh::spaces::proto::wgps::Fingerprint">Fingerprint</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.split_range" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#506-511">source</a><a href="#method.split_range" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.split_range" class="fn">split_range</a>(
|
||||
&self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>>,
|
||||
config: &<a class="struct" href="struct.SplitOpts.html" title="struct iroh::spaces::store::traits::SplitOpts">SplitOpts</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>>, <a class="enum" href="enum.SplitAction.html" title="enum iroh::spaces::store::traits::SplitAction">SplitAction</a>), <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.count" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#236">source</a><a href="#method.count" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.count" class="fn">count</a>(
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>>, <a class="enum" href="enum.SplitAction.html" title="enum iroh::spaces::store::traits::SplitAction">SplitAction</a>), <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.count" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#516">source</a><a href="#method.count" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.count" class="fn">count</a>(
|
||||
&self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_authorised_entries" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#240-244">source</a><a href="#method.get_authorised_entries" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_authorised_entries" class="fn">get_authorised_entries</a><'a>(
|
||||
&'a self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>>
|
||||
) -> impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><AuthorisedEntry<iroh_willow::::proto::data_model::AuthorisedEntry::{constant#0}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#1}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>, McAuthorisationToken<iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#0}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#1}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>>> + 'a</h4></section><section id="method.get_entry" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#270-275">source</a><a href="#method.get_entry" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_entry" class="fn">get_entry</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_entry" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#520-525">source</a><a href="#method.get_entry" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_entry" class="fn">get_entry</a>(
|
||||
&self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
subspace: <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>,
|
||||
path: &Path<iroh_willow::::proto::data_model::Path::{constant#0}, iroh_willow::::proto::data_model::Path::{constant#1}, iroh_willow::::proto::data_model::Path::{constant#2}>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><AuthorisedEntry<iroh_willow::::proto::data_model::AuthorisedEntry::{constant#0}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#1}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>, McAuthorisationToken<iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#0}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#1}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../trait.impl/iroh_willow/store/traits/trait.EntryReader.js" data-ignore-extern-crates="alloc" async></script></section></div></main></body></html>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><AuthorisedEntry<iroh_willow::::proto::data_model::AuthorisedEntry::{constant#0}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#1}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>, McAuthorisationToken<iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#0}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#1}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_authorised_entries" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#529-533">source</a><a href="#method.get_authorised_entries" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_authorised_entries" class="fn">get_authorised_entries</a><'a>(
|
||||
&'a self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>>
|
||||
) -> impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><AuthorisedEntry<iroh_willow::::proto::data_model::AuthorisedEntry::{constant#0}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#1}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>, McAuthorisationToken<iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#0}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#1}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>>> + 'a</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-EntryReader-for-Rc%3CRefCell%3CEntryStore%3E%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#154">source</a><a href="#impl-EntryReader-for-Rc%3CRefCell%3CEntryStore%3E%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EntryReader.html" title="trait iroh::spaces::store::traits::EntryReader">EntryReader</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.EntryStore.html" title="struct iroh::spaces::store::memory::EntryStore">EntryStore</a>>></h3></section></summary><div class="impl-items"><section id="method.fingerprint-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#155">source</a><a href="#method.fingerprint-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.fingerprint" class="fn">fingerprint</a>(
|
||||
&self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</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="../../proto/wgps/struct.Fingerprint.html" title="struct iroh::spaces::proto::wgps::Fingerprint">Fingerprint</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.split_range-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#164-169">source</a><a href="#method.split_range-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.split_range" class="fn">split_range</a>(
|
||||
&self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>>,
|
||||
config: &<a class="struct" href="struct.SplitOpts.html" title="struct iroh::spaces::store::traits::SplitOpts">SplitOpts</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>>, <a class="enum" href="enum.SplitAction.html" title="enum iroh::spaces::store::traits::SplitAction">SplitAction</a>), <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.count-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#235">source</a><a href="#method.count-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.count" class="fn">count</a>(
|
||||
&self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section><section id="method.get_authorised_entries-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#239-243">source</a><a href="#method.get_authorised_entries-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_authorised_entries" class="fn">get_authorised_entries</a><'a>(
|
||||
&'a self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
range: &Range3d<iroh_willow::::proto::grouping::Range3d::{constant#0}, iroh_willow::::proto::grouping::Range3d::{constant#1}, iroh_willow::::proto::grouping::Range3d::{constant#2}, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>>
|
||||
) -> impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><AuthorisedEntry<iroh_willow::::proto::data_model::AuthorisedEntry::{constant#0}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#1}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>, McAuthorisationToken<iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#0}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#1}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>>> + 'a</h4></section><section id="method.get_entry-1" class="method trait-impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#269-274">source</a><a href="#method.get_entry-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.get_entry" class="fn">get_entry</a>(
|
||||
&self,
|
||||
namespace: <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>,
|
||||
subspace: <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>,
|
||||
path: &Path<iroh_willow::::proto::data_model::Path::{constant#0}, iroh_willow::::proto::data_model::Path::{constant#1}, iroh_willow::::proto::data_model::Path::{constant#2}>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><AuthorisedEntry<iroh_willow::::proto::data_model::AuthorisedEntry::{constant#0}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#1}, iroh_willow::::proto::data_model::AuthorisedEntry::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/data_model/struct.PayloadDigest.html" title="struct iroh::spaces::proto::data_model::PayloadDigest">PayloadDigest</a>, McAuthorisationToken<iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#0}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#1}, iroh_willow::::proto::meadowcap::McAuthorisationToken::{constant#2}, <a class="struct" href="../../proto/keys/struct.NamespaceId.html" title="struct iroh::spaces::proto::keys::NamespaceId">NamespaceId</a>, <a class="struct" href="../../proto/keys/struct.NamespaceSignature.html" title="struct iroh::spaces::proto::keys::NamespaceSignature">NamespaceSignature</a>, <a class="struct" href="../../proto/keys/struct.UserId.html" title="struct iroh::spaces::proto::keys::UserId">UserId</a>, <a class="struct" href="../../proto/keys/struct.UserSignature.html" title="struct iroh::spaces::proto::keys::UserSignature">UserSignature</a>>>>, <a class="struct" href="https://docs.rs/anyhow/1.0.85/anyhow/struct.Error.html" title="struct anyhow::Error">Error</a>></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-EntryReader-for-WillowSnapshot" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#227">source</a><a href="#impl-EntryReader-for-WillowSnapshot" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.EntryReader.html" title="trait iroh::spaces::store::traits::EntryReader">EntryReader</a> for <a class="struct" href="../persistent/struct.WillowSnapshot.html" title="struct iroh::spaces::store::persistent::WillowSnapshot">WillowSnapshot</a></h3></section></div><script src="../../../../trait.impl/iroh_willow/store/traits/trait.EntryReader.js" data-ignore-extern-crates="alloc,iroh_willow" async></script></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -11,5 +11,6 @@
|
||||
<span class="item-spacer"></span> fn <a href="#tymethod.caps" class="fn">caps</a>(&self) -> &Self::<a class="associatedtype" href="trait.Storage.html#associatedtype.Caps" title="type iroh::spaces::store::traits::Storage::Caps">Caps</a>;
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Storage backend.</p>
|
||||
<p>This type combines the different stores needed.</p>
|
||||
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Entries" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#26">source</a><h4 class="code-header">type <a href="#associatedtype.Entries" class="associatedtype">Entries</a>: <a class="trait" href="trait.EntryStorage.html" title="trait iroh::spaces::store::traits::EntryStorage">EntryStorage</a></h4></section><section id="associatedtype.Secrets" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#27">source</a><h4 class="code-header">type <a href="#associatedtype.Secrets" class="associatedtype">Secrets</a>: <a class="trait" href="trait.SecretStorage.html" title="trait iroh::spaces::store::traits::SecretStorage">SecretStorage</a></h4></section><section id="associatedtype.Payloads" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#28">source</a><h4 class="code-header">type <a href="#associatedtype.Payloads" class="associatedtype">Payloads</a>: <a class="trait" href="../../../blobs/store/trait.Store.html" title="trait iroh::blobs::store::Store">Store</a></h4></section><section id="associatedtype.Caps" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#29">source</a><h4 class="code-header">type <a href="#associatedtype.Caps" class="associatedtype">Caps</a>: <a class="trait" href="trait.CapsStorage.html" title="trait iroh::spaces::store::traits::CapsStorage">CapsStorage</a></h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.entries" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#30">source</a><h4 class="code-header">fn <a href="#tymethod.entries" class="fn">entries</a>(&self) -> &Self::<a class="associatedtype" href="trait.Storage.html#associatedtype.Entries" title="type iroh::spaces::store::traits::Storage::Entries">Entries</a></h4></section><section id="tymethod.secrets" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#31">source</a><h4 class="code-header">fn <a href="#tymethod.secrets" class="fn">secrets</a>(&self) -> &Self::<a class="associatedtype" href="trait.Storage.html#associatedtype.Secrets" title="type iroh::spaces::store::traits::Storage::Secrets">Secrets</a></h4></section><section id="tymethod.payloads" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#32">source</a><h4 class="code-header">fn <a href="#tymethod.payloads" class="fn">payloads</a>(&self) -> &Self::<a class="associatedtype" href="trait.Storage.html#associatedtype.Payloads" title="type iroh::spaces::store::traits::Storage::Payloads">Payloads</a></h4></section><section id="tymethod.caps" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#33">source</a><h4 class="code-header">fn <a href="#tymethod.caps" class="fn">caps</a>(&self) -> &Self::<a class="associatedtype" href="trait.Storage.html#associatedtype.Caps" title="type iroh::spaces::store::traits::Storage::Caps">Caps</a></h4></section></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-Storage-for-Store%3CPS%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#60">source</a><a href="#impl-Storage-for-Store%3CPS%3E" class="anchor">§</a><h3 class="code-header">impl<PS> <a class="trait" href="trait.Storage.html" title="trait iroh::spaces::store::traits::Storage">Storage</a> for <a class="struct" href="../memory/struct.Store.html" title="struct iroh::spaces::store::memory::Store">Store</a><PS><div class="where">where
|
||||
PS: <a class="trait" href="../../../blobs/store/trait.Store.html" title="trait iroh::blobs::store::Store">Store</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Entries-1" class="associatedtype trait-impl"><a href="#associatedtype.Entries-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Entries" class="associatedtype">Entries</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.EntryStore.html" title="struct iroh::spaces::store::memory::EntryStore">EntryStore</a>>></h4></section><section id="associatedtype.Secrets-1" class="associatedtype trait-impl"><a href="#associatedtype.Secrets-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Secrets" class="associatedtype">Secrets</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.SecretStore.html" title="struct iroh::spaces::store::memory::SecretStore">SecretStore</a>>></h4></section><section id="associatedtype.Payloads-1" class="associatedtype trait-impl"><a href="#associatedtype.Payloads-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Payloads" class="associatedtype">Payloads</a> = PS</h4></section><section id="associatedtype.Caps-1" class="associatedtype trait-impl"><a href="#associatedtype.Caps-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Caps" class="associatedtype">Caps</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.CapsStore.html" title="struct iroh::spaces::store::memory::CapsStore">CapsStore</a>>></h4></section></div></details></div><script src="../../../../trait.impl/iroh_willow/store/traits/trait.Storage.js" data-ignore-extern-crates="iroh_willow" async></script></section></div></main></body></html>
|
||||
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Entries" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#26">source</a><h4 class="code-header">type <a href="#associatedtype.Entries" class="associatedtype">Entries</a>: <a class="trait" href="trait.EntryStorage.html" title="trait iroh::spaces::store::traits::EntryStorage">EntryStorage</a></h4></section><section id="associatedtype.Secrets" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#27">source</a><h4 class="code-header">type <a href="#associatedtype.Secrets" class="associatedtype">Secrets</a>: <a class="trait" href="trait.SecretStorage.html" title="trait iroh::spaces::store::traits::SecretStorage">SecretStorage</a></h4></section><section id="associatedtype.Payloads" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#28">source</a><h4 class="code-header">type <a href="#associatedtype.Payloads" class="associatedtype">Payloads</a>: <a class="trait" href="../../../blobs/store/trait.Store.html" title="trait iroh::blobs::store::Store">Store</a></h4></section><section id="associatedtype.Caps" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#29">source</a><h4 class="code-header">type <a href="#associatedtype.Caps" class="associatedtype">Caps</a>: <a class="trait" href="trait.CapsStorage.html" title="trait iroh::spaces::store::traits::CapsStorage">CapsStorage</a></h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.entries" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#30">source</a><h4 class="code-header">fn <a href="#tymethod.entries" class="fn">entries</a>(&self) -> &Self::<a class="associatedtype" href="trait.Storage.html#associatedtype.Entries" title="type iroh::spaces::store::traits::Storage::Entries">Entries</a></h4></section><section id="tymethod.secrets" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#31">source</a><h4 class="code-header">fn <a href="#tymethod.secrets" class="fn">secrets</a>(&self) -> &Self::<a class="associatedtype" href="trait.Storage.html#associatedtype.Secrets" title="type iroh::spaces::store::traits::Storage::Secrets">Secrets</a></h4></section><section id="tymethod.payloads" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#32">source</a><h4 class="code-header">fn <a href="#tymethod.payloads" class="fn">payloads</a>(&self) -> &Self::<a class="associatedtype" href="trait.Storage.html#associatedtype.Payloads" title="type iroh::spaces::store::traits::Storage::Payloads">Payloads</a></h4></section><section id="tymethod.caps" class="method"><a class="src rightside" href="../../../../src/iroh_willow/store/traits.rs.html#33">source</a><h4 class="code-header">fn <a href="#tymethod.caps" class="fn">caps</a>(&self) -> &Self::<a class="associatedtype" href="trait.Storage.html#associatedtype.Caps" title="type iroh::spaces::store::traits::Storage::Caps">Caps</a></h4></section></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-Storage-for-Store%3CPS%3E" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/memory.rs.html#59">source</a><a href="#impl-Storage-for-Store%3CPS%3E" class="anchor">§</a><h3 class="code-header">impl<PS> <a class="trait" href="trait.Storage.html" title="trait iroh::spaces::store::traits::Storage">Storage</a> for iroh::spaces::store::memory::<a class="struct" href="../memory/struct.Store.html" title="struct iroh::spaces::store::memory::Store">Store</a><PS><div class="where">where
|
||||
PS: <a class="trait" href="../../../blobs/store/trait.Store.html" title="trait iroh::blobs::store::Store">Store</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Entries-1" class="associatedtype trait-impl"><a href="#associatedtype.Entries-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Entries" class="associatedtype">Entries</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.EntryStore.html" title="struct iroh::spaces::store::memory::EntryStore">EntryStore</a>>></h4></section><section id="associatedtype.Secrets-1" class="associatedtype trait-impl"><a href="#associatedtype.Secrets-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Secrets" class="associatedtype">Secrets</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.SecretStore.html" title="struct iroh::spaces::store::memory::SecretStore">SecretStore</a>>></h4></section><section id="associatedtype.Payloads-1" class="associatedtype trait-impl"><a href="#associatedtype.Payloads-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Payloads" class="associatedtype">Payloads</a> = PS</h4></section><section id="associatedtype.Caps-1" class="associatedtype trait-impl"><a href="#associatedtype.Caps-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Caps" class="associatedtype">Caps</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefCell.html" title="struct core::cell::RefCell">RefCell</a><<a class="struct" href="../memory/struct.CapsStore.html" title="struct iroh::spaces::store::memory::CapsStore">CapsStore</a>>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Storage-for-Store%3CPS%3E-1" class="impl"><a class="src rightside" href="../../../../src/iroh_willow/store/persistent.rs.html#201">source</a><a href="#impl-Storage-for-Store%3CPS%3E-1" class="anchor">§</a><h3 class="code-header">impl<PS> <a class="trait" href="trait.Storage.html" title="trait iroh::spaces::store::traits::Storage">Storage</a> for iroh::spaces::store::persistent::<a class="struct" href="../persistent/struct.Store.html" title="struct iroh::spaces::store::persistent::Store">Store</a><PS><div class="where">where
|
||||
PS: <a class="trait" href="../../../blobs/store/trait.Store.html" title="trait iroh::blobs::store::Store">Store</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Entries-2" class="associatedtype trait-impl"><a href="#associatedtype.Entries-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Entries" class="associatedtype">Entries</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="../persistent/struct.WillowStore.html" title="struct iroh::spaces::store::persistent::WillowStore">WillowStore</a>></h4></section><section id="associatedtype.Secrets-2" class="associatedtype trait-impl"><a href="#associatedtype.Secrets-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Secrets" class="associatedtype">Secrets</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="../persistent/struct.WillowStore.html" title="struct iroh::spaces::store::persistent::WillowStore">WillowStore</a>></h4></section><section id="associatedtype.Payloads-2" class="associatedtype trait-impl"><a href="#associatedtype.Payloads-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Payloads" class="associatedtype">Payloads</a> = PS</h4></section><section id="associatedtype.Caps-2" class="associatedtype trait-impl"><a href="#associatedtype.Caps-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Caps" class="associatedtype">Caps</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><<a class="struct" href="../persistent/struct.WillowStore.html" title="struct iroh::spaces::store::persistent::WillowStore">WillowStore</a>></h4></section></div></details></div><script src="../../../../trait.impl/iroh_willow/store/traits/trait.Storage.js" data-ignore-extern-crates="iroh_willow" async></script></section></div></main></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,9 +1,9 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Commands for the gossip protocol"><title>ProtoCommand in iroh_gossip::net - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_gossip" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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]--><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_gossip/index.html">iroh_gossip</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">ProtoCommand</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Broadcast">Broadcast</a></li><li><a href="#variant.Join">Join</a></li><li><a href="#variant.Quit">Quit</a></li></ul></section><h2><a href="index.html">In iroh_gossip::net</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../iroh_gossip/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="../index.html">iroh_gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">ProtoCommand</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh_gossip/net.rs.html#65">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProtoCommand = <a class="enum" href="../proto/topic/enum.Command.html" title="enum iroh_gossip::proto::topic::Command">Command</a><<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Commands for the gossip protocol</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="Commands for the gossip protocol"><title>ProtoCommand in iroh_gossip::net - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_gossip" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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]--><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_gossip/index.html">iroh_gossip</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">ProtoCommand</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Broadcast">Broadcast</a></li><li><a href="#variant.Join">Join</a></li><li><a href="#variant.Quit">Quit</a></li></ul></section><h2><a href="index.html">In iroh_gossip::net</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../iroh_gossip/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="../index.html">iroh_gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">ProtoCommand</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh_gossip/net.rs.html#65">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProtoCommand = <a class="enum" href="../proto/topic/enum.Command.html" title="enum iroh_gossip::proto::topic::Command">Command</a><PublicKey>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Commands for the gossip protocol</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>enum ProtoCommand {
|
||||
Join(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>>),
|
||||
Join(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><PublicKey>),
|
||||
Broadcast(Bytes, <a class="enum" href="../proto/enum.Scope.html" title="enum iroh_gossip::proto::Scope">Scope</a>),
|
||||
Quit,
|
||||
}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Join" class="variant"><a href="#variant.Join" class="anchor">§</a><h3 class="code-header">Join(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>>)</h3></section><div class="docblock"><p>Join this topic and connect to peers.</p>
|
||||
}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Join" class="variant"><a href="#variant.Join" class="anchor">§</a><h3 class="code-header">Join(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><PublicKey>)</h3></section><div class="docblock"><p>Join this topic and connect to peers.</p>
|
||||
<p>If the list of peers is empty, will prepare the state and accept incoming join requests,
|
||||
but only become operational after the first join request by another peer.</p>
|
||||
</div><section id="variant.Broadcast" class="variant"><a href="#variant.Broadcast" class="anchor">§</a><h3 class="code-header">Broadcast(Bytes, <a class="enum" href="../proto/enum.Scope.html" title="enum iroh_gossip::proto::Scope">Scope</a>)</h3></section><div class="docblock"><p>Broadcast a message for this topic.</p>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Events emitted from the gossip protocol"><title>ProtoEvent in iroh_gossip::net - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_gossip" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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]--><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_gossip/index.html">iroh_gossip</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">ProtoEvent</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.NeighborDown">NeighborDown</a></li><li><a href="#variant.NeighborUp">NeighborUp</a></li><li><a href="#variant.Received">Received</a></li></ul></section><h2><a href="index.html">In iroh_gossip::net</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../iroh_gossip/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="../index.html">iroh_gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">ProtoEvent</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh_gossip/net.rs.html#63">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProtoEvent = <a class="enum" href="../proto/topic/enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Events emitted from the gossip protocol</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="Events emitted from the gossip protocol"><title>ProtoEvent in iroh_gossip::net - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iroh_gossip" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.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]--><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_gossip/index.html">iroh_gossip</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">ProtoEvent</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.NeighborDown">NeighborDown</a></li><li><a href="#variant.NeighborUp">NeighborUp</a></li><li><a href="#variant.Received">Received</a></li></ul></section><h2><a href="index.html">In iroh_gossip::net</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../iroh_gossip/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="../index.html">iroh_gossip</a>::<wbr><a href="index.html">net</a>::<wbr><a class="type" href="#">ProtoEvent</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/iroh_gossip/net.rs.html#63">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub type ProtoEvent = <a class="enum" href="../proto/topic/enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PublicKey>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Events emitted from the gossip protocol</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>enum ProtoEvent {
|
||||
NeighborUp(<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>),
|
||||
NeighborDown(<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>),
|
||||
Received(GossipEvent<<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>>),
|
||||
}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.NeighborUp" class="variant"><a href="#variant.NeighborUp" class="anchor">§</a><h3 class="code-header">NeighborUp(<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>)</h3></section><div class="docblock"><p>We have a new, direct neighbor in the swarm membership layer for this topic</p>
|
||||
</div><section id="variant.NeighborDown" class="variant"><a href="#variant.NeighborDown" class="anchor">§</a><h3 class="code-header">NeighborDown(<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>)</h3></section><div class="docblock"><p>We dropped direct neighbor in the swarm membership layer for this topic</p>
|
||||
</div><section id="variant.Received" class="variant"><a href="#variant.Received" class="anchor">§</a><h3 class="code-header">Received(GossipEvent<<a class="struct" href="../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>>)</h3></section><div class="docblock"><p>A gossip message was received for this topic</p>
|
||||
NeighborUp(PublicKey),
|
||||
NeighborDown(PublicKey),
|
||||
Received(GossipEvent<PublicKey>),
|
||||
}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.NeighborUp" class="variant"><a href="#variant.NeighborUp" class="anchor">§</a><h3 class="code-header">NeighborUp(PublicKey)</h3></section><div class="docblock"><p>We have a new, direct neighbor in the swarm membership layer for this topic</p>
|
||||
</div><section id="variant.NeighborDown" class="variant"><a href="#variant.NeighborDown" class="anchor">§</a><h3 class="code-header">NeighborDown(PublicKey)</h3></section><div class="docblock"><p>We dropped direct neighbor in the swarm membership layer for this topic</p>
|
||||
</div><section id="variant.Received" class="variant"><a href="#variant.Received" class="anchor">§</a><h3 class="code-header">Received(GossipEvent<PublicKey>)</h3></section><div class="docblock"><p>A gossip message was received for this topic</p>
|
||||
</div></div><script src="../../type.impl/iroh_gossip/proto/topic/enum.Event.js" data-self-path="iroh_gossip::net::ProtoEvent" async></script></section></div></main></body></html>
|
||||
@@ -2,5 +2,5 @@
|
||||
reader: impl AsyncRead + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
|
||||
buffer: &mut BytesMut,
|
||||
max_message_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>
|
||||
) -> <a class="type" href="https://docs.rs/anyhow/1.0.85/anyhow/type.Result.html" title="type anyhow::Result">Result</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="struct" href="../../proto/state/struct.Message.html" title="struct iroh_gossip::proto::state::Message">Message</a><<a class="struct" href="../../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>>>></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Read a length-prefixed message and decode as <code>ProtoMessage</code>;</p>
|
||||
) -> <a class="type" href="https://docs.rs/anyhow/1.0.85/anyhow/type.Result.html" title="type anyhow::Result">Result</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="struct" href="../../proto/state/struct.Message.html" title="struct iroh_gossip::proto::state::Message">Message</a><PublicKey>>></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Read a length-prefixed message and decode as <code>ProtoMessage</code>;</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -1,7 +1,7 @@
|
||||
<!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="Write a `ProtoMessage` as a length-prefixed, postcard-encoded message."><title>write_message in iroh_gossip::net::util - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh_gossip" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.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]--><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_gossip/index.html">iroh_gossip</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_gossip::net::util</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../iroh_gossip/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../index.html">iroh_gossip</a>::<wbr><a href="../index.html">net</a>::<wbr><a href="index.html">util</a>::<wbr><a class="fn" href="#">write_message</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/iroh_gossip/net/util.rs.html#17-31">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn write_message<W: AsyncWrite + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>>(
|
||||
writer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut W</a>,
|
||||
buffer: &mut BytesMut,
|
||||
frame: &<a class="struct" href="../../proto/state/struct.Message.html" title="struct iroh_gossip::proto::state::Message">Message</a><<a class="struct" href="../../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>>,
|
||||
frame: &<a class="struct" href="../../proto/state/struct.Message.html" title="struct iroh_gossip::proto::state::Message">Message</a><PublicKey>,
|
||||
max_message_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>
|
||||
) -> <a class="type" href="https://docs.rs/anyhow/1.0.85/anyhow/type.Result.html" title="type anyhow::Result">Result</a><<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>Write a <code>ProtoMessage</code> as a length-prefixed, postcard-encoded message.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
@@ -8,7 +8,7 @@
|
||||
</div><section id="variant.Received" class="variant"><a href="#variant.Received" class="anchor">§</a><h3 class="code-header">Received(GossipEvent<PI>)</h3></section><div class="docblock"><p>A gossip message was received for this topic</p>
|
||||
</div></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Event%3CPI%3E" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/proto/topic.rs.html#119">source</a><a href="#impl-Clone-for-Event%3CPI%3E" class="anchor">§</a><h3 class="code-header">impl<PI: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_gossip/proto/topic.rs.html#119">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="enum" href="enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" 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/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Event%3CPI%3E" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/proto/topic.rs.html#119">source</a><a href="#impl-Debug-for-Event%3CPI%3E" class="anchor">§</a><h3 class="code-header">impl<PI: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_gossip/proto/topic.rs.html#119">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-Event%3CPI%3E" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/proto/topic.rs.html#119">source</a><a href="#impl-Deserialize%3C'de%3E-for-Event%3CPI%3E" class="anchor">§</a><h3 class="code-header">impl<'de, PI> <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="enum" href="enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI><div class="where">where
|
||||
PI: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_gossip/proto/topic.rs.html#119">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CEvent%3CPublicKey%3E%3E-for-GossipEvent" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/net/handles.rs.html#211-223">source</a><a href="#impl-From%3CEvent%3CPublicKey%3E%3E-for-GossipEvent" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><<a class="struct" href="../../../iroh_base/key/struct.PublicKey.html" title="struct iroh_base::key::PublicKey">PublicKey</a>>> for <a class="enum" href="../../net/enum.GossipEvent.html" title="enum iroh_gossip::net::GossipEvent">GossipEvent</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_gossip/net/handles.rs.html#212-222">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(event: <a class="enum" href="enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><<a class="type" href="../../../iroh_base/key/type.NodeId.html" title="type iroh_base::key::NodeId">NodeId</a>>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-Event%3CPI%3E" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/proto/topic.rs.html#119">source</a><a href="#impl-Ord-for-Event%3CPI%3E" class="anchor">§</a><h3 class="code-header">impl<PI: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>> <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.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI></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_gossip/proto/topic.rs.html#119">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.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI>) -> <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#856-858">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
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CEvent%3CPublicKey%3E%3E-for-GossipEvent" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/net/handles.rs.html#211-223">source</a><a href="#impl-From%3CEvent%3CPublicKey%3E%3E-for-GossipEvent" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PublicKey>> for <a class="enum" href="../../net/enum.GossipEvent.html" title="enum iroh_gossip::net::GossipEvent">GossipEvent</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_gossip/net/handles.rs.html#212-222">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(event: <a class="enum" href="enum.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><NodeId>) -> Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-Event%3CPI%3E" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/proto/topic.rs.html#119">source</a><a href="#impl-Ord-for-Event%3CPI%3E" class="anchor">§</a><h3 class="code-header">impl<PI: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>> <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.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI></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_gossip/proto/topic.rs.html#119">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.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI>) -> <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#856-858">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#877-879">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#902-905">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> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</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-for-Event%3CPI%3E" class="impl"><a class="src rightside" href="../../../src/iroh_gossip/proto/topic.rs.html#119">source</a><a href="#impl-PartialEq-for-Event%3CPI%3E" class="anchor">§</a><h3 class="code-header">impl<PI: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>> <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.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI></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_gossip/proto/topic.rs.html#119">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.Event.html" title="enum iroh_gossip::proto::topic::Event">Event</a><PI>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
|
||||
|
||||
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
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
@@ -7,14 +7,14 @@ representation of the key.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.s_bytes" class="method"><h4 class="code-header">pub fn <a href="#method.s_bytes" class="fn">s_bytes</a>(&self) -> &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">32</a>]</h4></section></summary><div class="docblock"><p>Bytes for the <code>s</code> component of a signature.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_bytes" class="method"><h4 class="code-header">pub fn <a href="#method.to_bytes" class="fn">to_bytes</a>(&self) -> [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">64</a>]</h4></section></summary><div class="docblock"><p>Return the inner byte array.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_vec" class="method"><h4 class="code-header">pub fn <a href="#method.to_vec" class="fn">to_vec</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> <a href="#" class="tooltip" data-notable-ty="Vec<u8>">ⓘ</a></h4></section></summary><div class="docblock"><p>Convert this signature into a byte vector.</p>
|
||||
</div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#impl-Clone-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" 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/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#369">source</a><a href="#impl-Debug-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#369">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decodable-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#790-801">source</a><a href="#impl-Decodable-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl Decodable for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#791-800">source</a><a href="#method.decode" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">decode</a><Producer>(
|
||||
</div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#impl-Clone-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" 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/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#369">source</a><a href="#impl-Debug-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#369">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decodable-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#790-801">source</a><a href="#impl-Decodable-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl Decodable for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#791-800">source</a><a href="#method.decode" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decode</a><Producer>(
|
||||
producer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Producer</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, DecodeError<Producer::Error>><div class="where">where
|
||||
Producer: BulkProducer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Decade a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decodable-for-NamespaceSignature-1" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#790-801">source</a><a href="#impl-Decodable-for-NamespaceSignature-1" class="anchor">§</a><h3 class="code-header">impl Decodable for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#791-800">source</a><a href="#method.decode-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decode</a><Producer>(
|
||||
Producer: BulkProducer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Decode a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decodable-for-NamespaceSignature-1" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#790-801">source</a><a href="#impl-Decodable-for-NamespaceSignature-1" class="anchor">§</a><h3 class="code-header">impl Decodable for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#791-800">source</a><a href="#method.decode-1" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">decode</a><Producer>(
|
||||
producer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Producer</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, DecodeError<Producer::Error>><div class="where">where
|
||||
Producer: BulkProducer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Decode a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deref-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#impl-Deref-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = Signature</h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&self) -> &Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#impl-Deserialize%3C'de%3E-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#369">source</a><a href="#impl-Display-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#369">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Encodable-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#716-726">source</a><a href="#impl-Encodable-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl Encodable for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.encode" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#717-725">source</a><a href="#method.encode" class="anchor">§</a><h4 class="code-header">fn <a class="fn">encode</a><Consumer>(
|
||||
Producer: BulkProducer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Decade a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deref-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#impl-Deref-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = Signature</h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&self) -> &Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#impl-Deserialize%3C'de%3E-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#347">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#369">source</a><a href="#impl-Display-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#369">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Encodable-for-NamespaceSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#716-726">source</a><a href="#impl-Encodable-for-NamespaceSignature" class="anchor">§</a><h3 class="code-header">impl Encodable for <a class="struct" href="struct.NamespaceSignature.html" title="struct iroh_willow::proto::keys::NamespaceSignature">NamespaceSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.encode" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#717-725">source</a><a href="#method.encode" class="anchor">§</a><h4 class="code-header">fn <a class="fn">encode</a><Consumer>(
|
||||
&self,
|
||||
consumer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Consumer</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Consumer::Error><div class="where">where
|
||||
|
||||
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
@@ -7,14 +7,14 @@ representation of the key.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.s_bytes" class="method"><h4 class="code-header">pub fn <a href="#method.s_bytes" class="fn">s_bytes</a>(&self) -> &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">32</a>]</h4></section></summary><div class="docblock"><p>Bytes for the <code>s</code> component of a signature.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_bytes" class="method"><h4 class="code-header">pub fn <a href="#method.to_bytes" class="fn">to_bytes</a>(&self) -> [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">64</a>]</h4></section></summary><div class="docblock"><p>Return the inner byte array.</p>
|
||||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_vec" class="method"><h4 class="code-header">pub fn <a href="#method.to_vec" class="fn">to_vec</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> <a href="#" class="tooltip" data-notable-ty="Vec<u8>">ⓘ</a></h4></section></summary><div class="docblock"><p>Convert this signature into a byte vector.</p>
|
||||
</div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-Clone-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" 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/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#400">source</a><a href="#impl-Debug-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#400">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decodable-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#803-814">source</a><a href="#impl-Decodable-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl Decodable for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#804-813">source</a><a href="#method.decode" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decode</a><Producer>(
|
||||
</div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-Clone-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" 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/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#400">source</a><a href="#impl-Debug-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#400">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decodable-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#803-814">source</a><a href="#impl-Decodable-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl Decodable for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#804-813">source</a><a href="#method.decode" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">decode</a><Producer>(
|
||||
producer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Producer</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, DecodeError<Producer::Error>><div class="where">where
|
||||
Producer: BulkProducer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Decode a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decodable-for-UserSignature-1" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#803-814">source</a><a href="#impl-Decodable-for-UserSignature-1" class="anchor">§</a><h3 class="code-header">impl Decodable for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#804-813">source</a><a href="#method.decode-1" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">decode</a><Producer>(
|
||||
Producer: BulkProducer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Decade a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Decodable-for-UserSignature-1" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#803-814">source</a><a href="#impl-Decodable-for-UserSignature-1" class="anchor">§</a><h3 class="code-header">impl Decodable for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.decode-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#804-813">source</a><a href="#method.decode-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decode</a><Producer>(
|
||||
producer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Producer</a>
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, DecodeError<Producer::Error>><div class="where">where
|
||||
Producer: BulkProducer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Decade a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deref-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-Deref-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = Signature</h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&self) -> &Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-Deserialize%3C'de%3E-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#400">source</a><a href="#impl-Display-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#400">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Encodable-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#728-738">source</a><a href="#impl-Encodable-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl Encodable for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.encode" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#729-737">source</a><a href="#method.encode" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">encode</a><Consumer>(
|
||||
Producer: BulkProducer<Item = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,</div></h4></section></summary><div class='docblock'>Decode a value to a bytestring in a specific way that is best described over at <a href="https://willowprotocol.org/specs/encodings/index.html#encodings_what">willowprotocol.org</a>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deref-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-Deref-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = Signature</h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&self) -> &Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-Deserialize%3C'de%3E-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
__D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#400">source</a><a href="#impl-Display-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#400">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Encodable-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#728-738">source</a><a href="#impl-Encodable-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl Encodable for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.encode" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#729-737">source</a><a href="#method.encode" class="anchor">§</a><h4 class="code-header">async fn <a class="fn">encode</a><Consumer>(
|
||||
&self,
|
||||
consumer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Consumer</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Consumer::Error><div class="where">where
|
||||
@@ -33,8 +33,8 @@ sufficient, and should not be overridden without very good reason.</div></detail
|
||||
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#1214">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'>This method tests greater 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.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge" 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#1232">source</a></span><a href="#method.ge" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</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'>This method tests greater 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.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-Serialize-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a><__S>(&self, __serializer: __S) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>><div class="where">where
|
||||
__S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Signer%3CUserSignature%3E-for-UserSecretKey" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#662-666">source</a><a href="#impl-Signer%3CUserSignature%3E-for-UserSecretKey" class="anchor">§</a><h3 class="code-header">impl Signer<<a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserSecretKey.html" title="struct iroh_willow::proto::keys::UserSecretKey">UserSecretKey</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_sign" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#663-665">source</a><a href="#method.try_sign" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_sign</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</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.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a>, Error></h4></section></summary><div class='docblock'>Attempt to sign the given message, returning a digital signature on
|
||||
success, or an error if something went wrong. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sign" class="method trait-impl"><a href="#method.sign" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sign</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]) -> S</h4></section></summary><div class='docblock'>Sign the given message and return a digital signature</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Verifier%3CUserSignature%3E-for-UserId" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#628-638">source</a><a href="#impl-Verifier%3CUserSignature%3E-for-UserId" class="anchor">§</a><h3 class="code-header">impl Verifier<<a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserId.html" title="struct iroh_willow::proto::keys::UserId">UserId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.verify-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#629-637">source</a><a href="#method.verify-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">verify</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], signature: &<a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error></h4></section></summary><div class='docblock'>Use <code>Self</code> to verify that the provided signature for a given message
|
||||
bytestring is authentic. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Verifier%3CUserSignature%3E-for-UserPublicKey" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#618-626">source</a><a href="#impl-Verifier%3CUserSignature%3E-for-UserPublicKey" class="anchor">§</a><h3 class="code-header">impl Verifier<<a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserPublicKey.html" title="struct iroh_willow::proto::keys::UserPublicKey">UserPublicKey</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.verify" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#619-625">source</a><a href="#method.verify" class="anchor">§</a><h4 class="code-header">fn <a class="fn">verify</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], signature: &<a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error></h4></section></summary><div class='docblock'>Use <code>Self</code> to verify that the provided signature for a given message
|
||||
success, or an error if something went wrong. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sign" class="method trait-impl"><a href="#method.sign" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sign</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]) -> S</h4></section></summary><div class='docblock'>Sign the given message and return a digital signature</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Verifier%3CUserSignature%3E-for-UserId" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#628-638">source</a><a href="#impl-Verifier%3CUserSignature%3E-for-UserId" class="anchor">§</a><h3 class="code-header">impl Verifier<<a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserId.html" title="struct iroh_willow::proto::keys::UserId">UserId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.verify" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#629-637">source</a><a href="#method.verify" class="anchor">§</a><h4 class="code-header">fn <a class="fn">verify</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], signature: &<a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error></h4></section></summary><div class='docblock'>Use <code>Self</code> to verify that the provided signature for a given message
|
||||
bytestring is authentic. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Verifier%3CUserSignature%3E-for-UserPublicKey" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#618-626">source</a><a href="#impl-Verifier%3CUserSignature%3E-for-UserPublicKey" class="anchor">§</a><h3 class="code-header">impl Verifier<<a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a>> for <a class="struct" href="struct.UserPublicKey.html" title="struct iroh_willow::proto::keys::UserPublicKey">UserPublicKey</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.verify-1" class="method trait-impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#619-625">source</a><a href="#method.verify-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">verify</a>(&self, msg: &[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>], signature: &<a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Error></h4></section></summary><div class='docblock'>Use <code>Self</code> to verify that the provided signature for a given message
|
||||
bytestring is authentic. <a>Read more</a></div></details></div></details><section id="impl-Eq-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-Eq-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-StructuralPartialEq-for-UserSignature" class="impl"><a class="src rightside" href="../../../src/iroh_willow/proto/keys.rs.html#378">source</a><a href="#impl-StructuralPartialEq-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-UserSignature" class="impl"><a href="#impl-Freeze-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-RefUnwindSafe-for-UserSignature" class="impl"><a href="#impl-RefUnwindSafe-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-Send-for-UserSignature" class="impl"><a href="#impl-Send-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-Sync-for-UserSignature" class="impl"><a href="#impl-Sync-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-Unpin-for-UserSignature" class="impl"><a href="#impl-Unpin-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section><section id="impl-UnwindSafe-for-UserSignature" class="impl"><a href="#impl-UnwindSafe-for-UserSignature" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.UserSignature.html" title="struct iroh_willow::proto::keys::UserSignature">UserSignature</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsTaggedExplicit%3C'a,+E%3E-for-T" class="impl"><a href="#impl-AsTaggedExplicit%3C'a,+E%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<'a, T, E> AsTaggedExplicit<'a, E> for T<div class="where">where
|
||||
T: 'a,</div></h3></section></summary><div class="impl-items"><section id="method.explicit" class="method trait-impl"><a href="#method.explicit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">explicit</a>(self, class: Class, tag: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> TaggedParser<'a, Explicit, Self, E></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AsTaggedImplicit%3C'a,+E%3E-for-T" class="impl"><a href="#impl-AsTaggedImplicit%3C'a,+E%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<'a, T, E> AsTaggedImplicit<'a, E> for T<div class="where">where
|
||||
|
||||
@@ -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 capability system of Willow."><title>iroh_willow::proto::meadowcap - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module meadowcap</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In iroh_willow::proto</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">iroh_willow</a>::<wbr><a href="../index.html">proto</a>::<wbr><a class="mod" href="#">meadowcap</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/iroh_willow/proto/meadowcap.rs.html#1-276">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The capability system of Willow.</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 capability system of Willow."><title>iroh_willow::proto::meadowcap - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module meadowcap</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In iroh_willow::proto</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">iroh_willow</a>::<wbr><a href="../index.html">proto</a>::<wbr><a class="mod" href="#">meadowcap</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/iroh_willow/proto/meadowcap.rs.html#1-277">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The capability system of Willow.</p>
|
||||
<p>Contains an instantiation of [<code>meadowcap</code>] for use in iroh-willow.</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="serde_encoding/index.html" title="mod iroh_willow::proto::meadowcap::serde_encoding">serde_encoding</a></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.ReadAuthorisation.html" title="struct iroh_willow::proto::meadowcap::ReadAuthorisation">ReadAuthorisation</a></div><div class="desc docblock-short">Represents an authorisation to read an area of data in a Namespace.</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.AccessMode.html" title="enum iroh_willow::proto::meadowcap::AccessMode">AccessMode</a></div><div class="desc docblock-short">A mode granting read or write access to some [<code>Area</code>].</div></li><li><div class="item-name"><a class="enum" href="enum.SecretKey.html" title="enum iroh_willow::proto::meadowcap::SecretKey">SecretKey</a></div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.IsCommunal.html" title="trait iroh_willow::proto::meadowcap::IsCommunal">IsCommunal</a></div><div class="desc docblock-short">Maps <a href="https://willowprotocol.org/specs/data-model/index.html#namespace">namespace</a> public keys to booleans, determining whether that namespace of a particular [<code>willow_data_model::NamespaceId</code>] is <a href="https://willowprotocol.org/specs/meadowcap/index.html#communal_namespace">communal</a> or <a href="https://willowprotocol.org/specs/meadowcap/index.html#owned_namespace">owned</a>.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.is_authorised_write.html" title="fn iroh_willow::proto::meadowcap::is_authorised_write">is_authorised_write</a></div></li><li><div class="item-name"><a class="fn" href="fn.is_wider_than.html" title="fn iroh_willow::proto::meadowcap::is_wider_than">is_wider_than</a></div><div class="desc docblock-short">Returns <code>true</code> if <code>self</code> covers a larger area than <code>other</code>,
|
||||
or if covers the same area and has less delegations.</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.FailedDelegationError.html" title="type iroh_willow::proto::meadowcap::FailedDelegationError">FailedDelegationError</a></div></li><li><div class="item-name"><a class="type" href="type.McAuthorisationToken.html" title="type iroh_willow::proto::meadowcap::McAuthorisationToken">McAuthorisationToken</a></div></li><li><div class="item-name"><a class="type" href="type.McCapability.html" title="type iroh_willow::proto::meadowcap::McCapability">McCapability</a></div></li><li><div class="item-name"><a class="type" href="type.McSubspaceCapability.html" title="type iroh_willow::proto::meadowcap::McSubspaceCapability">McSubspaceCapability</a></div></li><li><div class="item-name"><a class="type" href="type.NamespaceId.html" title="type iroh_willow::proto::meadowcap::NamespaceId">NamespaceId</a></div></li><li><div class="item-name"><a class="type" href="type.NamespacePublicKey.html" title="type iroh_willow::proto::meadowcap::NamespacePublicKey">NamespacePublicKey</a></div></li><li><div class="item-name"><a class="type" href="type.NamespaceSignature.html" title="type iroh_willow::proto::meadowcap::NamespaceSignature">NamespaceSignature</a></div></li><li><div class="item-name"><a class="type" href="type.ReadCapability.html" title="type iroh_willow::proto::meadowcap::ReadCapability">ReadCapability</a></div></li><li><div class="item-name"><a class="type" href="type.SubspaceCapability.html" title="type iroh_willow::proto::meadowcap::SubspaceCapability">SubspaceCapability</a></div></li><li><div class="item-name"><a class="type" href="type.UserId.html" title="type iroh_willow::proto::meadowcap::UserId">UserId</a></div></li><li><div class="item-name"><a class="type" href="type.UserPublicKey.html" title="type iroh_willow::proto::meadowcap::UserPublicKey">UserPublicKey</a></div></li><li><div class="item-name"><a class="type" href="type.UserSignature.html" title="type iroh_willow::proto::meadowcap::UserSignature">UserSignature</a></div></li><li><div class="item-name"><a class="type" href="type.WriteCapability.html" title="type iroh_willow::proto::meadowcap::WriteCapability">WriteCapability</a></div></li></ul></section></div></main></body></html>
|
||||
+1
-1
@@ -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="API documentation for the Rust `deserialize` fn in crate `iroh_willow`."><title>deserialize in iroh_willow::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::access_mode</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">access_mode</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#264-274">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(deserializer: D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../enum.AccessMode.html" title="enum iroh_willow::proto::meadowcap::AccessMode">AccessMode</a>, D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
<!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 `deserialize` fn in crate `iroh_willow`."><title>deserialize in iroh_willow::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::access_mode</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">access_mode</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#265-275">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(deserializer: D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../../enum.AccessMode.html" title="enum iroh_willow::proto::meadowcap::AccessMode">AccessMode</a>, D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></code></pre></section></div></main></body></html>
|
||||
+1
-1
@@ -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 `serialize` fn in crate `iroh_willow`."><title>serialize in iroh_willow::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::access_mode</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">access_mode</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#254-262">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>(
|
||||
<!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 `serialize` fn in crate `iroh_willow`."><title>serialize in iroh_willow::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::access_mode</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">access_mode</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#255-263">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>(
|
||||
value: &<a class="enum" href="../../enum.AccessMode.html" title="enum iroh_willow::proto::meadowcap::AccessMode">AccessMode</a>,
|
||||
serializer: S
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>></code></pre></section></div></main></body></html>
|
||||
@@ -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="API documentation for the Rust `access_mode` mod in crate `iroh_willow`."><title>iroh_willow::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module access_mode</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh_willow::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">access_mode</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#252">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::access_mode::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::access_mode::serialize">serialize</a></div></li></ul></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="API documentation for the Rust `access_mode` mod in crate `iroh_willow`."><title>iroh_willow::proto::meadowcap::serde_encoding::access_mode - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module access_mode</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh_willow::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">access_mode</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#253">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::access_mode::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::access_mode::serialize">serialize</a></div></li></ul></section></div></main></body></html>
|
||||
+1
-1
@@ -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="API documentation for the Rust `deserialize` fn in crate `iroh_willow`."><title>deserialize in iroh_willow::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::mc_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_capability</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#195-203">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(deserializer: D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="type" href="../../type.McCapability.html" title="type iroh_willow::proto::meadowcap::McCapability">McCapability</a>, D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
<!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 `deserialize` fn in crate `iroh_willow`."><title>deserialize in iroh_willow::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::mc_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_capability</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#196-204">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(deserializer: D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="type" href="../../type.McCapability.html" title="type iroh_willow::proto::meadowcap::McCapability">McCapability</a>, D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></code></pre></section></div></main></body></html>
|
||||
+1
-1
@@ -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 `serialize` fn in crate `iroh_willow`."><title>serialize in iroh_willow::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::mc_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_capability</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#187-193">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>(
|
||||
<!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 `serialize` fn in crate `iroh_willow`."><title>serialize in iroh_willow::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::mc_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_capability</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#188-194">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>(
|
||||
value: &<a class="type" href="../../type.McCapability.html" title="type iroh_willow::proto::meadowcap::McCapability">McCapability</a>,
|
||||
serializer: S
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>></code></pre></section></div></main></body></html>
|
||||
@@ -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="API documentation for the Rust `mc_capability` mod in crate `iroh_willow`."><title>iroh_willow::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module mc_capability</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh_willow::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">mc_capability</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#185">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::mc_capability::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::mc_capability::serialize">serialize</a></div></li></ul></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="API documentation for the Rust `mc_capability` mod in crate `iroh_willow`."><title>iroh_willow::proto::meadowcap::serde_encoding::mc_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module mc_capability</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh_willow::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">mc_capability</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#186">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::mc_capability::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::mc_capability::serialize">serialize</a></div></li></ul></section></div></main></body></html>
|
||||
+1
-1
@@ -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 `deserialize` fn in crate `iroh_willow`."><title>deserialize in iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_subspace_capability</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#229-236">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(
|
||||
<!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 `deserialize` fn in crate `iroh_willow`."><title>deserialize in iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_subspace_capability</a>::<wbr><a class="fn" href="#">deserialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#230-237">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn deserialize<'de, D>(
|
||||
deserializer: D
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="type" href="../../type.McSubspaceCapability.html" title="type iroh_willow::proto::meadowcap::McSubspaceCapability">McSubspaceCapability</a>, D::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>><div class="where">where
|
||||
D: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></code></pre></section></div></main></body></html>
|
||||
+1
-1
@@ -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 `serialize` fn in crate `iroh_willow`."><title>serialize in iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_subspace_capability</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#222-227">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>(
|
||||
<!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 `serialize` fn in crate `iroh_willow`."><title>serialize in iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a href="index.html">mc_subspace_capability</a>::<wbr><a class="fn" href="#">serialize</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#223-228">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub fn serialize<S: <a class="trait" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>>(
|
||||
value: &<a class="type" href="../../type.McSubspaceCapability.html" title="type iroh_willow::proto::meadowcap::McSubspaceCapability">McSubspaceCapability</a>,
|
||||
serializer: S
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, S::<a class="associatedtype" href="https://docs.rs/serde/1.0.204/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>></code></pre></section></div></main></body></html>
|
||||
+1
-1
@@ -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="API documentation for the Rust `mc_subspace_capability` mod in crate `iroh_willow`."><title>iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module mc_subspace_capability</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh_willow::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">mc_subspace_capability</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#220">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability::serialize">serialize</a></div></li></ul></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="API documentation for the Rust `mc_subspace_capability` mod in crate `iroh_willow`."><title>iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-b21aa549bf6d91ff.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="iroh_willow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (c987ad527 2024-05-01)" data-channel="nightly" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../../../static.files/storage-e32f0c247825364d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-09095024cf37855e.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-2c020d218678b618.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]--><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_willow/index.html">iroh_willow</a><span class="version">0.24.0</span></h2></div><h2 class="location"><a href="#">Module mc_subspace_capability</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In iroh_willow::proto::meadowcap::serde_encoding</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../../../iroh_willow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../../../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../../../index.html">iroh_willow</a>::<wbr><a href="../../../index.html">proto</a>::<wbr><a href="../../index.html">meadowcap</a>::<wbr><a href="../index.html">serde_encoding</a>::<wbr><a class="mod" href="#">mc_subspace_capability</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../../../src/iroh_willow/proto/meadowcap.rs.html#221">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.deserialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability::deserialize">deserialize</a></div></li><li><div class="item-name"><a class="fn" href="fn.serialize.html" title="fn iroh_willow::proto::meadowcap::serde_encoding::mc_subspace_capability::serialize">serialize</a></div></li></ul></section></div></main></body></html>
|
||||
+6
-6
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user