]> Untitled Git - bitcoindevkit.org/commitdiff
Publish autogenerated nightly docs
authorgithub-actions <github-actions@github.com>
Tue, 21 Jan 2025 22:59:10 +0000 (22:59 +0000)
committergithub-actions <github-actions@github.com>
Tue, 21 Jan 2025 22:59:10 +0000 (22:59 +0000)
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/enum.FileStoreError.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/index.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/trait.WalletPersister.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/example_cli/fn.handle_commands.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/example_cli/struct.Init.html

index f184ea7fe94bb81a32182b8e1b773a769c3d191e..861391c84140a731668e2b642b34c9ab4c77feb2 100644 (file)
@@ -1,8 +1,8 @@
 <!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="Error for `bdk_file_store`’s implementation of `WalletPersister`."><title>FileStoreError in bdk_wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-5d1d17d0.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bdk_wallet" data-themes="" data-resource-suffix="" data-rustdoc-version="1.86.0-nightly (f3d1d47fd 2025-01-20)" data-channel="nightly" data-search-js="search-ccb196c1.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc 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" title="show sidebar"></button><a class="logo-container" href="../bdk_wallet/index.html"><img src="https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../bdk_wallet/index.html"><img src="https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png" alt="logo"></a><h2><a href="../bdk_wallet/index.html">bdk_<wbr>wallet</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">File<wbr>Store<wbr>Error</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Load" title="Load">Load</a></li><li><a href="#variant.Write" title="Write">Write</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-FileStoreError" title="Debug">Debug</a></li><li><a href="#impl-Display-for-FileStoreError" title="Display">Display</a></li><li><a href="#impl-Error-for-FileStoreError" title="Error">Error</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-FileStoreError" title="!Freeze">!Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-FileStoreError" title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-FileStoreError" title="!UnwindSafe">!UnwindSafe</a></li><li><a href="#impl-Send-for-FileStoreError" title="Send">Send</a></li><li><a href="#impl-Sync-for-FileStoreError" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-FileStoreError" title="Unpin">Unpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-ToString-for-T" title="ToString">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip&#60;V&#62;">VZip&#60;V&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate bdk_<wbr>wallet</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">bdk_wallet</a></span><h1>Enum <span class="enum">FileStoreError</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/bdk_wallet/wallet/persisted.rs.html#292-297">Source</a> </span></div><pre class="rust item-decl"><code>pub enum FileStoreError {
-    Load(<a class="struct" href="../bdk_file_store/store/struct.AggregateChangesetsError.html" title="struct bdk_file_store::store::AggregateChangesetsError">AggregateChangesetsError</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>&gt;),
+    Load(AggregateChangesetsError&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>&gt;),
     Write(<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>),
-}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Error for <a href="../bdk_file_store/index.html" title="mod bdk_file_store"><code>bdk_file_store</code></a>’s implementation of <a href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister"><code>WalletPersister</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.Load" class="variant"><a href="#variant.Load" class="anchor">§</a><h3 class="code-header">Load(<a class="struct" href="../bdk_file_store/store/struct.AggregateChangesetsError.html" title="struct bdk_file_store::store::AggregateChangesetsError">AggregateChangesetsError</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>&gt;)</h3></section><div class="docblock"><p>Error when loading from the store.</p>
+}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Error for [<code>bdk_file_store</code>]’s implementation of <a href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister"><code>WalletPersister</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.Load" class="variant"><a href="#variant.Load" class="anchor">§</a><h3 class="code-header">Load(AggregateChangesetsError&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>&gt;)</h3></section><div class="docblock"><p>Error when loading from the store.</p>
 </div><section id="variant.Write" class="variant"><a href="#variant.Write" class="anchor">§</a><h3 class="code-header">Write(<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>)</h3></section><div class="docblock"><p>Error when writing to the store.</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-Debug-for-FileStoreError" class="impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#291">Source</a><a href="#impl-Debug-for-FileStoreError" 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.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</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/bdk_wallet/wallet/persisted.rs.html#291">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-Display-for-FileStoreError" class="impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#300-308">Source</a><a href="#impl-Display-for-FileStoreError" 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="enum" href="enum.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</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/bdk_wallet/wallet/persisted.rs.html#301-307">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>(&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.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Error-for-FileStoreError" class="impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#311">Source</a><a href="#impl-Error-for-FileStoreError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html" title="trait core::error::Error">Error</a> for <a class="enum" href="enum.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.source" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.30.0">1.30.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#81">Source</a></span><a href="#method.source" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html#method.source" class="fn">source</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html" title="trait core::error::Error">Error</a> + 'static)&gt;</h4></section></summary><div class='docblock'>Returns the lower-level source of this error, if any. <a href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html#method.source">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.description" 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/error.rs.html#107">Source</a></span><a href="#method.description" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html#method.description" class="fn">description</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.42.0: use the Display impl or to_string()</span></div></span><div class='docblock'> <a href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html#method.description">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.cause" 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/error.rs.html#117">Source</a></span><a href="#method.cause" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html#method.cause" class="fn">cause</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html" title="trait core::error::Error">Error</a>&gt;</h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.33.0: replaced by Error::source, which can support downcasting</span></div></span></details><details class="toggle method-toggle" open><summary><section id="method.provide" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#180">Source</a><a href="#method.provide" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html#method.provide" class="fn">provide</a>&lt;'a&gt;(&amp;'a self, request: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/error/struct.Request.html" title="struct core::error::Request">Request</a>&lt;'a&gt;)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>error_generic_member_access</code>)</span></div></span><div class='docblock'>Provides type-based access to context intended for error reports. <a href="https://doc.rust-lang.org/nightly/core/error/trait.Error.html#method.provide">Read more</a></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-FileStoreError" class="impl"><a href="#impl-Freeze-for-FileStoreError" 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.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</a></h3></section><section id="impl-RefUnwindSafe-for-FileStoreError" class="impl"><a href="#impl-RefUnwindSafe-for-FileStoreError" 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.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</a></h3></section><section id="impl-Send-for-FileStoreError" class="impl"><a href="#impl-Send-for-FileStoreError" 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.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</a></h3></section><section id="impl-Sync-for-FileStoreError" class="impl"><a href="#impl-Sync-for-FileStoreError" 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.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</a></h3></section><section id="impl-Unpin-for-FileStoreError" class="impl"><a href="#impl-Unpin-for-FileStoreError" 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.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</a></h3></section><section id="impl-UnwindSafe-for-FileStoreError" class="impl"><a href="#impl-UnwindSafe-for-FileStoreError" 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.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</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#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <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#139">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>(&amp;self) -&gt; <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-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
index f7f993d3957f86cc990a24f239b39edb1b385321..0ca5c72a41f3b25b52d0d1fd28a3e49f64c03f9d 100644 (file)
@@ -182,7 +182,7 @@ that the <code>Wallet</code> can use to update its view of the chain.</p>
 submitted for inclusion in the work by you, as defined in the Apache-2.0
 license, shall be dual licensed as above, without any additional terms or
 conditions.</p>
-</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt><code>pub extern crate bitcoin;</code></dt><dt><code>pub extern crate bdk_chain as chain;</code></dt><dt><code>pub extern crate <a class="mod" href="../bdk_file_store/index.html" title="mod bdk_file_store">bdk_file_store</a> as file_<wbr>store;</code></dt><dt><code>pub extern crate miniscript;</code></dt><dt><code>pub extern crate <a class="mod" href="https://docs.rs/serde/1.0.217/serde/index.html" title="mod serde">serde</a>;</code></dt><dt><code>pub extern crate <a class="mod" href="https://docs.rs/serde_json/1.0.137/serde_json/index.html" title="mod serde_json">serde_json</a>;</code></dt><dt id="reexport.template"><code>pub use descriptor::<a class="mod" href="descriptor/template/index.html" title="mod bdk_wallet::descriptor::template">template</a>;</code></dt><dt id="reexport.HdKeyPaths"><code>pub use descriptor::<a class="type" href="descriptor/type.HdKeyPaths.html" title="type bdk_wallet::descriptor::HdKeyPaths">HdKeyPaths</a>;</code></dt><dt id="reexport.signer"><code>pub use <a class="mod" href="signer/index.html" title="mod bdk_wallet::signer">signer</a>;</code></dt><dt id="reexport.rusqlite"><code>pub use bdk_chain::rusqlite;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="coin_selection/index.html" title="mod bdk_wallet::coin_selection">coin_<wbr>selection</a></dt><dd>Coin selection</dd><dt><a class="mod" href="descriptor/index.html" title="mod bdk_wallet::descriptor">descriptor</a></dt><dd>Descriptors</dd><dt><a class="mod" href="error/index.html" title="mod bdk_wallet::error">error</a></dt><dd>Errors that can be thrown by the <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a></dd><dt><a class="mod" href="export/index.html" title="mod bdk_wallet::export">export</a></dt><dd>Wallet export</dd><dt><a class="mod" href="keys/index.html" title="mod bdk_wallet::keys">keys</a></dt><dd>Key formats</dd><dt><a class="mod" href="psbt/index.html" title="mod bdk_wallet::psbt">psbt</a></dt><dd>Additional functions on the <code>rust-bitcoin</code> <code>Psbt</code> structure.</dd><dt><a class="mod" href="rusqlite_impl/index.html" title="mod bdk_wallet::rusqlite_impl">rusqlite_<wbr>impl</a></dt><dd>Support for persisting <code>bdk_chain</code> structures to SQLite using [<code>rusqlite</code>].</dd><dt><a class="mod" href="signer/index.html" title="mod bdk_wallet::signer">signer</a></dt><dd>Generalized signers</dd><dt><a class="mod" href="tx_builder/index.html" title="mod bdk_wallet::tx_builder">tx_<wbr>builder</a></dt><dd>Transaction builder</dd></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.descriptor.html" title="macro bdk_wallet::descriptor">descriptor</a></dt><dd>Macro to write full descriptors with code</dd><dt><a class="macro" href="macro.fragment.html" title="macro bdk_wallet::fragment">fragment</a></dt><dd>Macro to write descriptor fragments with code</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::AddressInfo">Address<wbr>Info</a></dt><dd>A derived address and the index it was found at.
-For convenience this automatically derefs to <code>Address</code></dd><dt><a class="struct" href="struct.Balance.html" title="struct bdk_wallet::Balance">Balance</a></dt><dd>Balance, differentiated into various categories.</dd><dt><a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">Change<wbr>Set</a></dt><dd>A changeset for <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a>.</dd><dt><a class="struct" href="struct.CreateParams.html" title="struct bdk_wallet::CreateParams">Create<wbr>Params</a></dt><dd>Parameters for <a href="struct.Wallet.html#method.create" title="associated function bdk_wallet::Wallet::create"><code>Wallet::create</code></a> or <a href="struct.PersistedWallet.html#method.create" title="associated function bdk_wallet::PersistedWallet::create"><code>PersistedWallet::create</code></a>.</dd><dt><a class="struct" href="struct.LoadParams.html" title="struct bdk_wallet::LoadParams">Load<wbr>Params</a></dt><dd>Parameters for <a href="struct.Wallet.html#method.load" title="associated function bdk_wallet::Wallet::load"><code>Wallet::load</code></a> or <a href="struct.PersistedWallet.html#method.load" title="associated function bdk_wallet::PersistedWallet::load"><code>PersistedWallet::load</code></a>.</dd><dt><a class="struct" href="struct.LocalOutput.html" title="struct bdk_wallet::LocalOutput">Local<wbr>Output</a></dt><dd>An unspent output owned by a <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a>.</dd><dt><a class="struct" href="struct.PersistedWallet.html" title="struct bdk_wallet::PersistedWallet">Persisted<wbr>Wallet</a></dt><dd>Represents a persisted wallet which persists into type <code>P</code>.</dd><dt><a class="struct" href="struct.SignOptions.html" title="struct bdk_wallet::SignOptions">Sign<wbr>Options</a></dt><dd>Options for a software signer</dd><dt><a class="struct" href="struct.TxBuilder.html" title="struct bdk_wallet::TxBuilder">TxBuilder</a></dt><dd>A transaction builder</dd><dt><a class="struct" href="struct.Update.html" title="struct bdk_wallet::Update">Update</a></dt><dd>An update to <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a>.</dd><dt><a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::Wallet">Wallet</a></dt><dd>A Bitcoin wallet</dd><dt><a class="struct" href="struct.WeightedUtxo.html" title="struct bdk_wallet::WeightedUtxo">Weighted<wbr>Utxo</a></dt><dd>A <a href="enum.Utxo.html" title="enum bdk_wallet::Utxo"><code>Utxo</code></a> with its <code>satisfaction_weight</code>.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.AddForeignUtxoError.html" title="enum bdk_wallet::AddForeignUtxoError">AddForeign<wbr>Utxo<wbr>Error</a></dt><dd>Error returned from <a href="struct.TxBuilder.html#method.add_foreign_utxo" title="method bdk_wallet::TxBuilder::add_foreign_utxo"><code>TxBuilder::add_foreign_utxo</code></a>.</dd><dt><a class="enum" href="enum.AddUtxoError.html" title="enum bdk_wallet::AddUtxoError">AddUtxo<wbr>Error</a></dt><dd>Error returned from <a href="struct.TxBuilder.html#method.add_utxo" title="method bdk_wallet::TxBuilder::add_utxo"><code>TxBuilder::add_utxo</code></a> and <a href="struct.TxBuilder.html#method.add_utxos" title="method bdk_wallet::TxBuilder::add_utxos"><code>TxBuilder::add_utxos</code></a></dd><dt><a class="enum" href="enum.ApplyBlockError.html" title="enum bdk_wallet::ApplyBlockError">Apply<wbr>Block<wbr>Error</a></dt><dd>An error that may occur when applying a block to <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a>.</dd><dt><a class="enum" href="enum.ChangeSpendPolicy.html" title="enum bdk_wallet::ChangeSpendPolicy">Change<wbr>Spend<wbr>Policy</a></dt><dd>Policy regarding the use of change outputs when creating a transaction</dd><dt><a class="enum" href="enum.CreateWithPersistError.html" title="enum bdk_wallet::CreateWithPersistError">Create<wbr>With<wbr>Persist<wbr>Error</a></dt><dd>Error type for <a href="struct.PersistedWallet.html#method.create" title="associated function bdk_wallet::PersistedWallet::create"><code>PersistedWallet::create</code></a>.</dd><dt><a class="enum" href="enum.FileStoreError.html" title="enum bdk_wallet::FileStoreError">File<wbr>Store<wbr>Error</a></dt><dd>Error for <a href="../bdk_file_store/index.html" title="mod bdk_file_store"><code>bdk_file_store</code></a>’s implementation of <a href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister"><code>WalletPersister</code></a>.</dd><dt><a class="enum" href="enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">Keychain<wbr>Kind</a></dt><dd>Types of keychains</dd><dt><a class="enum" href="enum.LoadError.html" title="enum bdk_wallet::LoadError">Load<wbr>Error</a></dt><dd>The error type when loading a <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a> from a <a href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet"><code>ChangeSet</code></a>.</dd><dt><a class="enum" href="enum.LoadMismatch.html" title="enum bdk_wallet::LoadMismatch">Load<wbr>Mismatch</a></dt><dd>Represents a mismatch with what is loaded and what is expected from <a href="struct.LoadParams.html" title="struct bdk_wallet::LoadParams"><code>LoadParams</code></a>.</dd><dt><a class="enum" href="enum.LoadWithPersistError.html" title="enum bdk_wallet::LoadWithPersistError">Load<wbr>With<wbr>Persist<wbr>Error</a></dt><dd>Error type for <a href="struct.PersistedWallet.html#method.load" title="associated function bdk_wallet::PersistedWallet::load"><code>PersistedWallet::load</code></a>.</dd><dt><a class="enum" href="enum.TxOrdering.html" title="enum bdk_wallet::TxOrdering">TxOrdering</a></dt><dd>Ordering of the transaction’s inputs and outputs</dd><dt><a class="enum" href="enum.Utxo.html" title="enum bdk_wallet::Utxo">Utxo</a></dt><dd>An unspent transaction output (UTXO).</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.AsyncWalletPersister.html" title="trait bdk_wallet::AsyncWalletPersister">Async<wbr>Wallet<wbr>Persister</a></dt><dd>Async trait that persists <a href="struct.PersistedWallet.html" title="struct bdk_wallet::PersistedWallet"><code>PersistedWallet</code></a>.</dd><dt><a class="trait" href="trait.IsDust.html" title="trait bdk_wallet::IsDust">IsDust</a></dt><dd>Trait to check if a value is below the dust limit.
+</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt><code>pub extern crate bitcoin;</code></dt><dt><code>pub extern crate bdk_chain as chain;</code></dt><dt><code>pub extern crate bdk_file_store as file_<wbr>store;</code></dt><dt><code>pub extern crate miniscript;</code></dt><dt><code>pub extern crate <a class="mod" href="https://docs.rs/serde/1.0.217/serde/index.html" title="mod serde">serde</a>;</code></dt><dt><code>pub extern crate <a class="mod" href="https://docs.rs/serde_json/1.0.137/serde_json/index.html" title="mod serde_json">serde_json</a>;</code></dt><dt id="reexport.template"><code>pub use descriptor::<a class="mod" href="descriptor/template/index.html" title="mod bdk_wallet::descriptor::template">template</a>;</code></dt><dt id="reexport.HdKeyPaths"><code>pub use descriptor::<a class="type" href="descriptor/type.HdKeyPaths.html" title="type bdk_wallet::descriptor::HdKeyPaths">HdKeyPaths</a>;</code></dt><dt id="reexport.signer"><code>pub use <a class="mod" href="signer/index.html" title="mod bdk_wallet::signer">signer</a>;</code></dt><dt id="reexport.rusqlite"><code>pub use bdk_chain::rusqlite;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="coin_selection/index.html" title="mod bdk_wallet::coin_selection">coin_<wbr>selection</a></dt><dd>Coin selection</dd><dt><a class="mod" href="descriptor/index.html" title="mod bdk_wallet::descriptor">descriptor</a></dt><dd>Descriptors</dd><dt><a class="mod" href="error/index.html" title="mod bdk_wallet::error">error</a></dt><dd>Errors that can be thrown by the <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a></dd><dt><a class="mod" href="export/index.html" title="mod bdk_wallet::export">export</a></dt><dd>Wallet export</dd><dt><a class="mod" href="keys/index.html" title="mod bdk_wallet::keys">keys</a></dt><dd>Key formats</dd><dt><a class="mod" href="psbt/index.html" title="mod bdk_wallet::psbt">psbt</a></dt><dd>Additional functions on the <code>rust-bitcoin</code> <code>Psbt</code> structure.</dd><dt><a class="mod" href="rusqlite_impl/index.html" title="mod bdk_wallet::rusqlite_impl">rusqlite_<wbr>impl</a></dt><dd>Support for persisting <code>bdk_chain</code> structures to SQLite using [<code>rusqlite</code>].</dd><dt><a class="mod" href="signer/index.html" title="mod bdk_wallet::signer">signer</a></dt><dd>Generalized signers</dd><dt><a class="mod" href="tx_builder/index.html" title="mod bdk_wallet::tx_builder">tx_<wbr>builder</a></dt><dd>Transaction builder</dd></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.descriptor.html" title="macro bdk_wallet::descriptor">descriptor</a></dt><dd>Macro to write full descriptors with code</dd><dt><a class="macro" href="macro.fragment.html" title="macro bdk_wallet::fragment">fragment</a></dt><dd>Macro to write descriptor fragments with code</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::AddressInfo">Address<wbr>Info</a></dt><dd>A derived address and the index it was found at.
+For convenience this automatically derefs to <code>Address</code></dd><dt><a class="struct" href="struct.Balance.html" title="struct bdk_wallet::Balance">Balance</a></dt><dd>Balance, differentiated into various categories.</dd><dt><a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">Change<wbr>Set</a></dt><dd>A changeset for <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a>.</dd><dt><a class="struct" href="struct.CreateParams.html" title="struct bdk_wallet::CreateParams">Create<wbr>Params</a></dt><dd>Parameters for <a href="struct.Wallet.html#method.create" title="associated function bdk_wallet::Wallet::create"><code>Wallet::create</code></a> or <a href="struct.PersistedWallet.html#method.create" title="associated function bdk_wallet::PersistedWallet::create"><code>PersistedWallet::create</code></a>.</dd><dt><a class="struct" href="struct.LoadParams.html" title="struct bdk_wallet::LoadParams">Load<wbr>Params</a></dt><dd>Parameters for <a href="struct.Wallet.html#method.load" title="associated function bdk_wallet::Wallet::load"><code>Wallet::load</code></a> or <a href="struct.PersistedWallet.html#method.load" title="associated function bdk_wallet::PersistedWallet::load"><code>PersistedWallet::load</code></a>.</dd><dt><a class="struct" href="struct.LocalOutput.html" title="struct bdk_wallet::LocalOutput">Local<wbr>Output</a></dt><dd>An unspent output owned by a <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a>.</dd><dt><a class="struct" href="struct.PersistedWallet.html" title="struct bdk_wallet::PersistedWallet">Persisted<wbr>Wallet</a></dt><dd>Represents a persisted wallet which persists into type <code>P</code>.</dd><dt><a class="struct" href="struct.SignOptions.html" title="struct bdk_wallet::SignOptions">Sign<wbr>Options</a></dt><dd>Options for a software signer</dd><dt><a class="struct" href="struct.TxBuilder.html" title="struct bdk_wallet::TxBuilder">TxBuilder</a></dt><dd>A transaction builder</dd><dt><a class="struct" href="struct.Update.html" title="struct bdk_wallet::Update">Update</a></dt><dd>An update to <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a>.</dd><dt><a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::Wallet">Wallet</a></dt><dd>A Bitcoin wallet</dd><dt><a class="struct" href="struct.WeightedUtxo.html" title="struct bdk_wallet::WeightedUtxo">Weighted<wbr>Utxo</a></dt><dd>A <a href="enum.Utxo.html" title="enum bdk_wallet::Utxo"><code>Utxo</code></a> with its <code>satisfaction_weight</code>.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.AddForeignUtxoError.html" title="enum bdk_wallet::AddForeignUtxoError">AddForeign<wbr>Utxo<wbr>Error</a></dt><dd>Error returned from <a href="struct.TxBuilder.html#method.add_foreign_utxo" title="method bdk_wallet::TxBuilder::add_foreign_utxo"><code>TxBuilder::add_foreign_utxo</code></a>.</dd><dt><a class="enum" href="enum.AddUtxoError.html" title="enum bdk_wallet::AddUtxoError">AddUtxo<wbr>Error</a></dt><dd>Error returned from <a href="struct.TxBuilder.html#method.add_utxo" title="method bdk_wallet::TxBuilder::add_utxo"><code>TxBuilder::add_utxo</code></a> and <a href="struct.TxBuilder.html#method.add_utxos" title="method bdk_wallet::TxBuilder::add_utxos"><code>TxBuilder::add_utxos</code></a></dd><dt><a class="enum" href="enum.ApplyBlockError.html" title="enum bdk_wallet::ApplyBlockError">Apply<wbr>Block<wbr>Error</a></dt><dd>An error that may occur when applying a block to <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a>.</dd><dt><a class="enum" href="enum.ChangeSpendPolicy.html" title="enum bdk_wallet::ChangeSpendPolicy">Change<wbr>Spend<wbr>Policy</a></dt><dd>Policy regarding the use of change outputs when creating a transaction</dd><dt><a class="enum" href="enum.CreateWithPersistError.html" title="enum bdk_wallet::CreateWithPersistError">Create<wbr>With<wbr>Persist<wbr>Error</a></dt><dd>Error type for <a href="struct.PersistedWallet.html#method.create" title="associated function bdk_wallet::PersistedWallet::create"><code>PersistedWallet::create</code></a>.</dd><dt><a class="enum" href="enum.FileStoreError.html" title="enum bdk_wallet::FileStoreError">File<wbr>Store<wbr>Error</a></dt><dd>Error for [<code>bdk_file_store</code>]’s implementation of <a href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister"><code>WalletPersister</code></a>.</dd><dt><a class="enum" href="enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">Keychain<wbr>Kind</a></dt><dd>Types of keychains</dd><dt><a class="enum" href="enum.LoadError.html" title="enum bdk_wallet::LoadError">Load<wbr>Error</a></dt><dd>The error type when loading a <a href="struct.Wallet.html" title="struct bdk_wallet::Wallet"><code>Wallet</code></a> from a <a href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet"><code>ChangeSet</code></a>.</dd><dt><a class="enum" href="enum.LoadMismatch.html" title="enum bdk_wallet::LoadMismatch">Load<wbr>Mismatch</a></dt><dd>Represents a mismatch with what is loaded and what is expected from <a href="struct.LoadParams.html" title="struct bdk_wallet::LoadParams"><code>LoadParams</code></a>.</dd><dt><a class="enum" href="enum.LoadWithPersistError.html" title="enum bdk_wallet::LoadWithPersistError">Load<wbr>With<wbr>Persist<wbr>Error</a></dt><dd>Error type for <a href="struct.PersistedWallet.html#method.load" title="associated function bdk_wallet::PersistedWallet::load"><code>PersistedWallet::load</code></a>.</dd><dt><a class="enum" href="enum.TxOrdering.html" title="enum bdk_wallet::TxOrdering">TxOrdering</a></dt><dd>Ordering of the transaction’s inputs and outputs</dd><dt><a class="enum" href="enum.Utxo.html" title="enum bdk_wallet::Utxo">Utxo</a></dt><dd>An unspent transaction output (UTXO).</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.AsyncWalletPersister.html" title="trait bdk_wallet::AsyncWalletPersister">Async<wbr>Wallet<wbr>Persister</a></dt><dd>Async trait that persists <a href="struct.PersistedWallet.html" title="struct bdk_wallet::PersistedWallet"><code>PersistedWallet</code></a>.</dd><dt><a class="trait" href="trait.IsDust.html" title="trait bdk_wallet::IsDust">IsDust</a></dt><dd>Trait to check if a value is below the dust limit.
 We are performing dust value calculation for a given script public key using rust-bitcoin to
 keep it compatible with network dust rate</dd><dt><a class="trait" href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister">Wallet<wbr>Persister</a></dt><dd>Trait that persists <a href="struct.PersistedWallet.html" title="struct bdk_wallet::PersistedWallet"><code>PersistedWallet</code></a>.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.version.html" title="fn bdk_wallet::version">version</a></dt><dd>Get the version of <a href="index.html" title="mod bdk_wallet"><code>bdk_wallet</code></a> at runtime.</dd><dt><a class="fn" href="fn.wallet_name_from_descriptor.html" title="fn bdk_wallet::wallet_name_from_descriptor">wallet_<wbr>name_<wbr>from_<wbr>descriptor</a></dt><dd>Deterministically generate a unique name given the descriptors defining the wallet</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.WalletTx.html" title="type bdk_wallet::WalletTx">Wallet<wbr>Tx</a></dt><dd>A <code>CanonicalTx</code> managed by a <code>Wallet</code>.</dd></dl></section></div></main></body></html>
\ No newline at end of file
index 023fbb888188ca01a7b00068a794302d24c5d161..c017d440dea7db7ea28af5fcd1af26d2881eedbc 100644 (file)
@@ -30,10 +30,10 @@ persister implementations may NOT require initialization at all (and not error).
     changeset: &amp;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</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;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.WalletPersister.html#associatedtype.Error" title="type bdk_wallet::WalletPersister::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Persist the given <code>changeset</code> to the <code>persister</code>.</p>
 <p>This method can fail if the <code>persister</code> is not <a href="trait.WalletPersister.html#tymethod.initialize" title="associated function bdk_wallet::WalletPersister::initialize"><code>initialize</code></a>d.</p>
-</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></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-WalletPersister-for-Store%3CChangeSet%3E" class="impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#314-329">Source</a><a href="#impl-WalletPersister-for-Store%3CChangeSet%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister">WalletPersister</a> for <a class="struct" href="../bdk_file_store/store/struct.Store.html" title="struct bdk_file_store::store::Store">Store</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#315">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="enum.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</a></h4></section><section id="method.initialize" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#317-322">Source</a><a href="#method.initialize" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.initialize" class="fn">initialize</a>(persister: &amp;mut Self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>, Self::<a class="associatedtype" href="trait.WalletPersister.html#associatedtype.Error" title="type bdk_wallet::WalletPersister::Error">Error</a>&gt;</h4></section><section id="method.persist" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#324-328">Source</a><a href="#method.persist" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.persist" class="fn">persist</a>(
+</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></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-WalletPersister-for-Connection" class="impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#271-287">Source</a><a href="#impl-WalletPersister-for-Connection" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister">WalletPersister</a> for Connection</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#272">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = Error</h4></section><section id="method.initialize" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#274-280">Source</a><a href="#method.initialize" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.initialize" class="fn">initialize</a>(persister: &amp;mut Self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>, Self::<a class="associatedtype" href="trait.WalletPersister.html#associatedtype.Error" title="type bdk_wallet::WalletPersister::Error">Error</a>&gt;</h4></section><section id="method.persist" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#282-286">Source</a><a href="#method.persist" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.persist" class="fn">persist</a>(
     persister: &amp;mut Self,
     changeset: &amp;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</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;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.WalletPersister.html#associatedtype.Error" title="type bdk_wallet::WalletPersister::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WalletPersister-for-Connection" class="impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#271-287">Source</a><a href="#impl-WalletPersister-for-Connection" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister">WalletPersister</a> for Connection</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#272">Source</a><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = Error</h4></section><section id="method.initialize-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#274-280">Source</a><a href="#method.initialize-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.initialize" class="fn">initialize</a>(persister: &amp;mut Self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>, Self::<a class="associatedtype" href="trait.WalletPersister.html#associatedtype.Error" title="type bdk_wallet::WalletPersister::Error">Error</a>&gt;</h4></section><section id="method.persist-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#282-286">Source</a><a href="#method.persist-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.persist" class="fn">persist</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;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.WalletPersister.html#associatedtype.Error" title="type bdk_wallet::WalletPersister::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WalletPersister-for-Store%3CChangeSet%3E" class="impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#314-329">Source</a><a href="#impl-WalletPersister-for-Store%3CChangeSet%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister">WalletPersister</a> for Store&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#315">Source</a><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="enum.FileStoreError.html" title="enum bdk_wallet::FileStoreError">FileStoreError</a></h4></section><section id="method.initialize-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#317-322">Source</a><a href="#method.initialize-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.initialize" class="fn">initialize</a>(persister: &amp;mut Self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>, Self::<a class="associatedtype" href="trait.WalletPersister.html#associatedtype.Error" title="type bdk_wallet::WalletPersister::Error">Error</a>&gt;</h4></section><section id="method.persist-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#324-328">Source</a><a href="#method.persist-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.persist" class="fn">persist</a>(
     persister: &amp;mut Self,
     changeset: &amp;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</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;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.WalletPersister.html#associatedtype.Error" title="type bdk_wallet::WalletPersister::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WalletPersister-for-Transaction%3C'_%3E" class="impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#257-268">Source</a><a href="#impl-WalletPersister-for-Transaction%3C'_%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.WalletPersister.html" title="trait bdk_wallet::WalletPersister">WalletPersister</a> for Transaction&lt;'_&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#258">Source</a><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = Error</h4></section><section id="method.initialize-2" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#260-263">Source</a><a href="#method.initialize-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.initialize" class="fn">initialize</a>(persister: &amp;mut Self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_wallet::ChangeSet">ChangeSet</a>, Self::<a class="associatedtype" href="trait.WalletPersister.html#associatedtype.Error" title="type bdk_wallet::WalletPersister::Error">Error</a>&gt;</h4></section><section id="method.persist-2" class="method trait-impl"><a class="src rightside" href="../src/bdk_wallet/wallet/persisted.rs.html#265-267">Source</a><a href="#method.persist-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.persist" class="fn">persist</a>(
index 9e518debec0fd87d7d0a60b7f43079b06df82a63..50eee1eb5a0e98190ffa73a85e5ae46a3c514990 100644 (file)
@@ -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="API documentation for the Rust `handle_commands` fn in crate `example_cli`."><title>handle_commands in example_cli - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-5d1d17d0.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="example_cli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.86.0-nightly (f3d1d47fd 2025-01-20)" data-channel="nightly" data-search-js="search-ccb196c1.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc 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="../example_cli/index.html">example_<wbr>cli</a><span class="version">0.2.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">example_cli</a></span><h1>Function <span class="fn">handle_commands</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/example_cli/lib.rs.html#442-762">Source</a> </span></div><pre class="rust item-decl"><code>pub fn handle_commands&lt;CS: Subcommand, S: Args&gt;(
     graph: &amp;<a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;<a class="type" href="type.KeychainTxGraph.html" title="type example_cli::KeychainTxGraph">KeychainTxGraph</a>&gt;,
     chain: &amp;<a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;LocalChain&gt;,
-    db: &amp;<a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;<a class="struct" href="../bdk_file_store/store/struct.Store.html" title="struct bdk_file_store::store::Store">Store</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct example_cli::ChangeSet">ChangeSet</a>&gt;&gt;,
+    db: &amp;<a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;Store&lt;<a class="struct" href="struct.ChangeSet.html" title="struct example_cli::ChangeSet">ChangeSet</a>&gt;&gt;,
     network: Network,
     broadcast: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(S, &amp;Transaction) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.95/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;,
     cmd: <a class="enum" href="enum.Commands.html" title="enum example_cli::Commands">Commands</a>&lt;CS, S&gt;,
index 8acaaaa59c3f9dab6cf11b410f5952988bb9b050..086bc2c30eee5dd99a6be89e5efc17a97cd27fa4 100644 (file)
@@ -2,13 +2,13 @@
     pub args: <a class="struct" href="struct.Args.html" title="struct example_cli::Args">Args</a>&lt;CS, S&gt;,
     pub graph: <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;<a class="type" href="type.KeychainTxGraph.html" title="type example_cli::KeychainTxGraph">KeychainTxGraph</a>&gt;,
     pub chain: <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;LocalChain&gt;,
-    pub db: <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;<a class="struct" href="../bdk_file_store/store/struct.Store.html" title="struct bdk_file_store::store::Store">Store</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct example_cli::ChangeSet">ChangeSet</a>&gt;&gt;,
+    pub db: <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;Store&lt;<a class="struct" href="struct.ChangeSet.html" title="struct example_cli::ChangeSet">ChangeSet</a>&gt;&gt;,
     pub network: Network,
 }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The initial state returned by <a href="fn.init_or_load.html" title="fn example_cli::init_or_load"><code>init_or_load</code></a>.</p>
 </div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.args" class="structfield section-header"><a href="#structfield.args" class="anchor field">§</a><code>args: <a class="struct" href="struct.Args.html" title="struct example_cli::Args">Args</a>&lt;CS, S&gt;</code></span><div class="docblock"><p>CLI args</p>
 </div><span id="structfield.graph" class="structfield section-header"><a href="#structfield.graph" class="anchor field">§</a><code>graph: <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;<a class="type" href="type.KeychainTxGraph.html" title="type example_cli::KeychainTxGraph">KeychainTxGraph</a>&gt;</code></span><div class="docblock"><p>Indexed graph</p>
 </div><span id="structfield.chain" class="structfield section-header"><a href="#structfield.chain" class="anchor field">§</a><code>chain: <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;LocalChain&gt;</code></span><div class="docblock"><p>Local chain</p>
-</div><span id="structfield.db" class="structfield section-header"><a href="#structfield.db" class="anchor field">§</a><code>db: <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;<a class="struct" href="../bdk_file_store/store/struct.Store.html" title="struct bdk_file_store::store::Store">Store</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct example_cli::ChangeSet">ChangeSet</a>&gt;&gt;</code></span><div class="docblock"><p>Database</p>
+</div><span id="structfield.db" class="structfield section-header"><a href="#structfield.db" class="anchor field">§</a><code>db: <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html" title="struct std::sync::poison::mutex::Mutex">Mutex</a>&lt;Store&lt;<a class="struct" href="struct.ChangeSet.html" title="struct example_cli::ChangeSet">ChangeSet</a>&gt;&gt;</code></span><div class="docblock"><p>Database</p>
 </div><span id="structfield.network" class="structfield section-header"><a href="#structfield.network" class="anchor field">§</a><code>network: Network</code></span><div class="docblock"><p>Network</p>
 </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-Init%3CCS,+S%3E" class="impl"><a href="#impl-Freeze-for-Init%3CCS,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;CS, S&gt; !<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.Init.html" title="struct example_cli::Init">Init</a>&lt;CS, S&gt;</h3></section><section id="impl-RefUnwindSafe-for-Init%3CCS,+S%3E" class="impl"><a href="#impl-RefUnwindSafe-for-Init%3CCS,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;CS, S&gt; <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.Init.html" title="struct example_cli::Init">Init</a>&lt;CS, S&gt;<div class="where">where
     CS: <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>,