Skip to content

Commit

Permalink
deploy: 674111a
Browse files Browse the repository at this point in the history
  • Loading branch information
jbearer committed Mar 15, 2024
1 parent 85f227c commit dc4d6ce
Show file tree
Hide file tree
Showing 122 changed files with 1,331 additions and 600 deletions.
22 changes: 16 additions & 6 deletions hotshot_query_service/availability/enum.BlockId.html

Large diffs are not rendered by default.

37 changes: 24 additions & 13 deletions hotshot_query_service/availability/enum.Error.html

Large diffs are not rendered by default.

19 changes: 14 additions & 5 deletions hotshot_query_service/availability/enum.Fetch.html

Large diffs are not rendered by default.

22 changes: 16 additions & 6 deletions hotshot_query_service/availability/enum.LeafId.html

Large diffs are not rendered by default.

22 changes: 16 additions & 6 deletions hotshot_query_service/availability/struct.BlockQueryData.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/availability/struct.CustomSnafu.html

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/availability/struct.FetchBlockSnafu.html

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/availability/struct.FetchLeafSnafu.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/availability/struct.LeafQueryData.html

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/availability/struct.Options.html

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/availability/struct.PayloadQueryData.html

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/availability/struct.RequestSnafu.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/availability/struct.VidCommonQueryData.html

Large diffs are not rendered by default.

22 changes: 16 additions & 6 deletions hotshot_query_service/data_source/fetching/struct.Builder.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/data_source/fetching/struct.Pruner.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

48 changes: 29 additions & 19 deletions hotshot_query_service/data_source/sql/struct.Error.html

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/data_source/sql/struct.Migration.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ <h3 id="composition"><a href="#composition">Composition</a></h3>
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt;<div class="where">where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,</div></h4></section><details class="toggle method-toggle" open><summary><section id="method.setup" class="method trait-impl"><a class="src rightside" href="../../../src/hotshot_query_service/testing/consensus.rs.html#279">source</a><a href="#method.setup" class="anchor">§</a><h4 class="code-header">fn <a href="../../testing/consensus/trait.DataSourceLifeCycle.html#method.setup" class="fn">setup</a>&lt;'life0, 'async_trait&gt;(
'life1: 'async_trait,</div></h4></section><details class="toggle method-toggle" open><summary><section id="method.setup" class="method trait-impl"><a class="src rightside" href="../../../src/hotshot_query_service/testing/consensus.rs.html#280">source</a><a href="#method.setup" class="anchor">§</a><h4 class="code-header">fn <a href="../../testing/consensus/trait.DataSourceLifeCycle.html#method.setup" class="fn">setup</a>&lt;'life0, 'async_trait&gt;(
_network: &amp;'life0 mut <a class="struct" href="../../testing/consensus/struct.MockNetwork.html" title="struct hotshot_query_service::testing::consensus::MockNetwork">MockNetwork</a>&lt;Self&gt;
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt;<div class="where">where
Self: 'async_trait,
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions hotshot_query_service/data_source/storage/sql/struct.Config.html

Large diffs are not rendered by default.

48 changes: 29 additions & 19 deletions hotshot_query_service/data_source/storage/sql/struct.Error.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

28 changes: 19 additions & 9 deletions hotshot_query_service/data_source/struct.ExtensibleDataSource.html

Large diffs are not rendered by default.

22 changes: 16 additions & 6 deletions hotshot_query_service/data_source/struct.MetricsDataSource.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
trusted.</p>
<p>If you want to update the data source with an untrusted event, for example one received from
a peer over the network, you must authenticate it first.</p>
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-UpdateDataSource%3CTypes%3E-for-T" class="impl"><a class="src rightside" href="../../src/hotshot_query_service/data_source/update.rs.html#65-133">source</a><a href="#impl-UpdateDataSource%3CTypes%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;Types: NodeType, T&gt; <a class="trait" href="trait.UpdateDataSource.html" title="trait hotshot_query_service::data_source::UpdateDataSource">UpdateDataSource</a>&lt;Types&gt; for T<div class="where">where
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-UpdateDataSource%3CTypes%3E-for-T" class="impl"><a class="src rightside" href="../../src/hotshot_query_service/data_source/update.rs.html#65-131">source</a><a href="#impl-UpdateDataSource%3CTypes%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;Types: NodeType, T&gt; <a class="trait" href="trait.UpdateDataSource.html" title="trait hotshot_query_service::data_source::UpdateDataSource">UpdateDataSource</a>&lt;Types&gt; for T<div class="where">where
T: <a class="trait" href="../availability/trait.UpdateAvailabilityData.html" title="trait hotshot_query_service::availability::UpdateAvailabilityData">UpdateAvailabilityData</a>&lt;Types&gt; + <a class="trait" href="../status/trait.UpdateStatusData.html" title="trait hotshot_query_service::status::UpdateStatusData">UpdateStatusData</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
<a class="type" href="../type.Payload.html" title="type hotshot_query_service::Payload">Payload</a>&lt;Types&gt;: <a class="trait" href="../availability/trait.QueryablePayload.html" title="trait hotshot_query_service::availability::QueryablePayload">QueryablePayload</a>,</div></h3></section></div><script src="../../trait.impl/hotshot_query_service/data_source/update/trait.UpdateDataSource.js" async></script></section></div></main></body></html>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A data source with an atomic transaction-based synchronization interface."><title>VersionedDataSource in hotshot_query_service::data_source - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="hotshot_query_service" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../hotshot_query_service/index.html">hotshot_query_service</a><span class="version">0.0.16</span></h2></div><h2 class="location"><a href="#">VersionedDataSource</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error">Error</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.commit">commit</a></li><li><a href="#tymethod.revert">revert</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In hotshot_query_service::data_source</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="../../hotshot_query_service/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="Click or press ‘S’ 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"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">hotshot_query_service</a>::<wbr><a href="index.html">data_source</a>::<wbr><a class="trait" href="#">VersionedDataSource</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/hotshot_query_service/data_source/update.rs.html#204-218">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait VersionedDataSource {
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../hotshot_query_service/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="Click or press ‘S’ 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"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="../index.html">hotshot_query_service</a>::<wbr><a href="index.html">data_source</a>::<wbr><a class="trait" href="#">VersionedDataSource</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/hotshot_query_service/data_source/update.rs.html#184-198">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait VersionedDataSource {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/error/trait.Error.html" title="trait core::error::Error">Error</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static;

// Required methods
Expand All @@ -24,14 +24,14 @@
underlying storage, and are saved if the process restarts. It also allows pending changes to be
rolled back (<a href="trait.VersionedDataSource.html#tymethod.revert">revert</a>) so that they are never written back to storage and are no
longer reflected even through the data source object which was used to make the changes.</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.Error" class="method"><a class="src rightside" href="../../src/hotshot_query_service/data_source/update.rs.html#205">source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/error/trait.Error.html" title="trait core::error::Error">Error</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static</h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.commit" class="method"><a class="src rightside" href="../../src/hotshot_query_service/data_source/update.rs.html#211">source</a><h4 class="code-header">fn <a href="#tymethod.commit" class="fn">commit</a>&lt;'life0, 'async_trait&gt;(
</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.Error" class="method"><a class="src rightside" href="../../src/hotshot_query_service/data_source/update.rs.html#185">source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/error/trait.Error.html" title="trait core::error::Error">Error</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static</h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.commit" class="method"><a class="src rightside" href="../../src/hotshot_query_service/data_source/update.rs.html#191">source</a><h4 class="code-header">fn <a href="#tymethod.commit" class="fn">commit</a>&lt;'life0, 'async_trait&gt;(
&amp;'life0 mut self
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.VersionedDataSource.html#associatedtype.Error" title="type hotshot_query_service::data_source::VersionedDataSource::Error">Error</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt;<div class="where">where
Self: 'async_trait,
'life0: 'async_trait,</div></h4></section></summary><div class="docblock"><p>Atomically commit to all outstanding modifications to the data.</p>
<p>If this method fails, outstanding changes are left unmodified. The caller may opt to retry
or to erase outstanding changes with <a href="trait.VersionedDataSource.html#tymethod.revert"><code>revert</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.revert" class="method"><a class="src rightside" href="../../src/hotshot_query_service/data_source/update.rs.html#217">source</a><h4 class="code-header">fn <a href="#tymethod.revert" class="fn">revert</a>&lt;'life0, 'async_trait&gt;(
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.revert" class="method"><a class="src rightside" href="../../src/hotshot_query_service/data_source/update.rs.html#197">source</a><h4 class="code-header">fn <a href="#tymethod.revert" class="fn">revert</a>&lt;'life0, 'async_trait&gt;(
&amp;'life0 mut self
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="primitive" href="https://doc.rust-lang.org/1.76.0/std/primitive.unit.html">()</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt;<div class="where">where
Self: 'async_trait,
Expand Down
Loading

0 comments on commit dc4d6ce

Please sign in to comment.