Skip to content

Commit

Permalink
Deploying to gh-pages from @ aa2ca80 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Oct 24, 2023
1 parent f06941f commit 6d32c10
Show file tree
Hide file tree
Showing 51 changed files with 215 additions and 215 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!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="Archiver instantiation error"><title>ArchiverInstantiationError in subspace_archiving::archiver - 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/SourceSerif4-Bold-a2c9cd1067f8b328.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-deb46770fd761b69.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="subspace_archiving" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0-nightly (42b1224e9 2023-10-15)" data-channel="nightly" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5f34af1a0ee6bacd.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.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 enum"><!--[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="../../subspace_archiving/index.html">subspace_archiving</a><span class="version">0.1.0</span></h2></div><h2 class="location"><a href="#">ArchiverInstantiationError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block"><li><a href="#variant.FailedToInitializeErasureCoding">FailedToInitializeErasureCoding</a></li><li><a href="#variant.InvalidBlockSmallSize">InvalidBlockSmallSize</a></li><li><a href="#variant.InvalidLastArchivedBlock">InvalidLastArchivedBlock</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Clone-for-ArchiverInstantiationError">Clone</a></li><li><a href="#impl-Debug-for-ArchiverInstantiationError">Debug</a></li><li><a href="#impl-Display-for-ArchiverInstantiationError">Display</a></li><li><a href="#impl-Eq-for-ArchiverInstantiationError">Eq</a></li><li><a href="#impl-Error-for-ArchiverInstantiationError">Error</a></li><li><a href="#impl-Hash-for-ArchiverInstantiationError">Hash</a></li><li><a href="#impl-Ord-for-ArchiverInstantiationError">Ord</a></li><li><a href="#impl-PartialEq-for-ArchiverInstantiationError">PartialEq&lt;ArchiverInstantiationError&gt;</a></li><li><a href="#impl-PartialOrd-for-ArchiverInstantiationError">PartialOrd&lt;ArchiverInstantiationError&gt;</a></li><li><a href="#impl-StructuralEq-for-ArchiverInstantiationError">StructuralEq</a></li><li><a href="#impl-StructuralPartialEq-for-ArchiverInstantiationError">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-ArchiverInstantiationError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ArchiverInstantiationError">Send</a></li><li><a href="#impl-Sync-for-ArchiverInstantiationError">Sync</a></li><li><a href="#impl-Unpin-for-ArchiverInstantiationError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ArchiverInstantiationError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-JsonSchemaMaybe-for-T">JsonSchemaMaybe</a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-Same-for-T">Same&lt;T&gt;</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</a></li><li><a href="#impl-ToString-for-T">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In subspace_archiving::archiver</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><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" title="help" tabindex="-1"><a href="../../help.html">?</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>Enum <a href="../index.html">subspace_archiving</a>::<wbr><a href="index.html">archiver</a>::<wbr><a class="enum" href="#">ArchiverInstantiationError</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/subspace_archiving/archiver.rs.html#190-214">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub enum ArchiverInstantiationError {
FailedToInitializeErasureCoding(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
InvalidLastArchivedBlock(<a class="type" href="../../subspace_core_primitives/type.BlockNumber.html" title="type subspace_core_primitives::BlockNumber">BlockNumber</a>),
InvalidLastArchivedBlock(BlockNumber),
InvalidBlockSmallSize {
block_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
archived_block_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
},
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Archiver instantiation error</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.FailedToInitializeErasureCoding" class="variant"><a href="#variant.FailedToInitializeErasureCoding" class="anchor">§</a><h3 class="code-header">FailedToInitializeErasureCoding(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</h3></section><div class="docblock"><p>Failed to initialize erasure coding</p>
</div><section id="variant.InvalidLastArchivedBlock" class="variant"><a href="#variant.InvalidLastArchivedBlock" class="anchor">§</a><h3 class="code-header">InvalidLastArchivedBlock(<a class="type" href="../../subspace_core_primitives/type.BlockNumber.html" title="type subspace_core_primitives::BlockNumber">BlockNumber</a>)</h3></section><div class="docblock"><p>Invalid last archived block, its size is the same as encoded block</p>
</div><section id="variant.InvalidLastArchivedBlock" class="variant"><a href="#variant.InvalidLastArchivedBlock" class="anchor">§</a><h3 class="code-header">InvalidLastArchivedBlock(BlockNumber)</h3></section><div class="docblock"><p>Invalid last archived block, its size is the same as encoded block</p>
</div><section id="variant.InvalidBlockSmallSize" class="variant"><a href="#variant.InvalidBlockSmallSize" class="anchor">§</a><h3 class="code-header">InvalidBlockSmallSize</h3></section><div class="sub-variant" id="variant.InvalidBlockSmallSize.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.InvalidBlockSmallSize.field.block_bytes" class="small-section-header"><a href="#variant.InvalidBlockSmallSize.field.block_bytes" class="anchor field">§</a><code>block_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span><div class="docblock"><p>Full block size</p>
</div></div><div class="sub-variant-field"><span id="variant.InvalidBlockSmallSize.field.archived_block_bytes" class="small-section-header"><a href="#variant.InvalidBlockSmallSize.field.archived_block_bytes" class="anchor field">§</a><code>archived_block_bytes: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span><div class="docblock"><p>Already archived portion of the block</p>
</div></div></div><div class="docblock"><p>Invalid block, its size is smaller than already archived number of bytes</p>
Expand Down
4 changes: 2 additions & 2 deletions subspace_archiving/archiver/enum.SegmentItem.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
bytes: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;,
/* private fields */
},
ParentSegmentHeader(<a class="enum" href="../../subspace_core_primitives/enum.SegmentHeader.html" title="enum subspace_core_primitives::SegmentHeader">SegmentHeader</a>),
ParentSegmentHeader(SegmentHeader),
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Kinds of items that are contained within a segment</p>
</div></details><h2 id="variants" class="variants small-section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Padding" class="variant"><a href="#variant.Padding" class="anchor">§</a><h3 class="code-header">Padding</h3></section><div class="docblock"><p>Special dummy enum variant only used as an implementation detail for padding purposes</p>
</div><section id="variant.Block" class="variant"><a href="#variant.Block" class="anchor">§</a><h3 class="code-header">Block</h3></section><div class="sub-variant" id="variant.Block.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.Block.field.bytes" class="small-section-header"><a href="#variant.Block.field.bytes" class="anchor field">§</a><code>bytes: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code></span><div class="docblock"><p>Block bytes</p>
Expand All @@ -21,7 +21,7 @@
</div></div></div><div class="docblock"><p>Contains the beginning of the block inside, remainder will be found in subsequent segments</p>
</div><section id="variant.BlockContinuation" class="variant"><a href="#variant.BlockContinuation" class="anchor">§</a><h3 class="code-header">BlockContinuation</h3></section><div class="sub-variant" id="variant.BlockContinuation.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.BlockContinuation.field.bytes" class="small-section-header"><a href="#variant.BlockContinuation.field.bytes" class="anchor field">§</a><code>bytes: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code></span><div class="docblock"><p>Block bytes</p>
</div></div></div><div class="docblock"><p>Continuation of the partial block spilled over into the next segment</p>
</div><section id="variant.ParentSegmentHeader" class="variant"><a href="#variant.ParentSegmentHeader" class="anchor">§</a><h3 class="code-header">ParentSegmentHeader(<a class="enum" href="../../subspace_core_primitives/enum.SegmentHeader.html" title="enum subspace_core_primitives::SegmentHeader">SegmentHeader</a>)</h3></section><div class="docblock"><p>Segment header of the parent</p>
</div><section id="variant.ParentSegmentHeader" class="variant"><a href="#variant.ParentSegmentHeader" class="anchor">§</a><h3 class="code-header">ParentSegmentHeader(SegmentHeader)</h3></section><div class="docblock"><p>Segment header of the parent</p>
</div></div><h2 id="trait-implementations" class="small-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-SegmentItem" class="impl"><a class="src rightside" href="../../src/subspace_archiving/archiver.rs.html#131">source</a><a href="#impl-Clone-for-SegmentItem" 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.SegmentItem.html" title="enum subspace_archiving::archiver::SegmentItem">SegmentItem</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/subspace_archiving/archiver.rs.html#131">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>(&amp;self) -&gt; <a class="enum" href="enum.SegmentItem.html" title="enum subspace_archiving::archiver::SegmentItem">SegmentItem</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>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;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-SegmentItem" class="impl"><a class="src rightside" href="../../src/subspace_archiving/archiver.rs.html#131">source</a><a href="#impl-Debug-for-SegmentItem" 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.SegmentItem.html" title="enum subspace_archiving::archiver::SegmentItem">SegmentItem</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/subspace_archiving/archiver.rs.html#131">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>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <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-Decode-for-SegmentItem" class="impl"><a class="src rightside" href="../../src/subspace_archiving/archiver.rs.html#131">source</a><a href="#impl-Decode-for-SegmentItem" class="anchor">§</a><h3 class="code-header">impl Decode for <a class="enum" href="enum.SegmentItem.html" title="enum subspace_archiving::archiver::SegmentItem">SegmentItem</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/subspace_archiving/archiver.rs.html#131">source</a><a href="#method.decode" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decode</a>&lt;__CodecInputEdqy: Input&gt;(
__codec_input_edqy: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut __CodecInputEdqy</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, Error&gt;</h4></section></summary><div class='docblock'>Attempt to deserialise the value from input.</div></details><details class="toggle method-toggle" open><summary><section id="method.decode_into" class="method trait-impl"><a href="#method.decode_into" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decode_into</a>&lt;I&gt;(
Expand Down
Loading

0 comments on commit 6d32c10

Please sign in to comment.