]> Untitled Git - bitcoindevkit.org/commitdiff
Publish autogenerated nightly docs
authorgithub-actions <github-actions@github.com>
Fri, 28 Jun 2024 22:40:40 +0000 (22:40 +0000)
committergithub-actions <github-actions@github.com>
Fri, 28 Jun 2024 22:40:40 +0000 (22:40 +0000)
25 files changed:
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/index.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/enum.InsertDescriptorError.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.ChangeSet.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainTxOutIndex.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.NoSuchKeychain.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.DescriptorId.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.Append.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.DescriptorExt.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/descriptor/enum.Descriptor.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/enum.ApplyBlockError.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/enum.InsertTxError.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/enum.LoadError.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/enum.NewError.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/enum.NewOrLoadError.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/fn.wallet_name_from_descriptor.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/index.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/struct.AddressInfo.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/struct.Update.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/struct.Wallet.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_wallet/wallet/type.ChangeSet.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/search.desc/bdk_chain/bdk_chain-desc-0-.js
docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/descriptor_ext.rs.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/keychain/txout_index.rs.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_wallet/wallet/mod.rs.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/type.impl/bdk_wallet/descriptor/enum.Descriptor.js

index ca62923a7066b985add0506575cb1a8e8e436a0a..38882f8fa9db908ea3c270e6088da5fdab020693 100644 (file)
@@ -16,6 +16,5 @@ cache or how you retrieve it from persistent storage.</li>
 </ol>
 </div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><code>pub extern crate <a class="mod" href="https://docs.rs/serde/1.0.203/serde/index.html" title="mod serde">serde_crate</a> as serde;</code></div></li><li><div class="item-name" id="reexport.IndexedTxGraph"><code>pub use indexed_tx_graph::<a class="struct" href="indexed_tx_graph/struct.IndexedTxGraph.html" title="struct bdk_chain::indexed_tx_graph::IndexedTxGraph">IndexedTxGraph</a>;</code></div></li><li><div class="item-name" id="reexport.Indexed"><code>pub use keychain::<a class="type" href="keychain/type.Indexed.html" title="type bdk_chain::keychain::Indexed">Indexed</a>;</code></div></li><li><div class="item-name" id="reexport.KeychainIndexed"><code>pub use keychain::<a class="type" href="keychain/type.KeychainIndexed.html" title="type bdk_chain::keychain::KeychainIndexed">KeychainIndexed</a>;</code></div></li><li><div class="item-name" id="reexport.TxGraph"><code>pub use tx_graph::<a class="struct" href="tx_graph/struct.TxGraph.html" title="struct bdk_chain::tx_graph::TxGraph">TxGraph</a>;</code></div></li><li><div class="item-name" id="reexport.bitcoin"><code>pub use bitcoin;</code></div></li><li><div class="item-name" id="reexport.miniscript"><code>pub use miniscript;</code></div></li></ul><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="indexed_tx_graph/index.html" title="mod bdk_chain::indexed_tx_graph">indexed_tx_graph</a></div><div class="desc docblock-short">Contains the <a href="indexed_tx_graph/struct.IndexedTxGraph.html" title="struct bdk_chain::indexed_tx_graph::IndexedTxGraph"><code>IndexedTxGraph</code></a> and associated types. Refer to the
 <a href="indexed_tx_graph/struct.IndexedTxGraph.html" title="struct bdk_chain::indexed_tx_graph::IndexedTxGraph"><code>IndexedTxGraph</code></a> documentation for more.</div></li><li><div class="item-name"><a class="mod" href="keychain/index.html" title="mod bdk_chain::keychain">keychain</a></div><div class="desc docblock-short">Module for keychain related structures.</div></li><li><div class="item-name"><a class="mod" href="local_chain/index.html" title="mod bdk_chain::local_chain">local_chain</a></div><div class="desc docblock-short">The <a href="local_chain/struct.LocalChain.html" title="struct bdk_chain::local_chain::LocalChain"><code>LocalChain</code></a> is a local implementation of <a href="trait.ChainOracle.html" title="trait bdk_chain::ChainOracle"><code>ChainOracle</code></a>.</div></li><li><div class="item-name"><a class="mod" href="spk_client/index.html" title="mod bdk_chain::spk_client">spk_client</a></div><div class="desc docblock-short">Helper types for spk-based blockchain clients.</div></li><li><div class="item-name"><a class="mod" href="tx_graph/index.html" title="mod bdk_chain::tx_graph">tx_graph</a></div><div class="desc docblock-short">Module for structures that store and traverse transactions.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.BlockId.html" title="struct bdk_chain::BlockId">BlockId</a></div><div class="desc docblock-short">A reference to a block in the canonical chain.</div></li><li><div class="item-name"><a class="struct" href="struct.CombinedChangeSet.html" title="struct bdk_chain::CombinedChangeSet">CombinedChangeSet</a></div><div class="desc docblock-short">A changeset containing <a href="index.html" title="mod bdk_chain"><code>crate</code></a> structures typically persisted together.</div></li><li><div class="item-name"><a class="struct" href="struct.ConfirmationHeightAnchor.html" title="struct bdk_chain::ConfirmationHeightAnchor">ConfirmationHeightAnchor</a></div><div class="desc docblock-short">An <a href="trait.Anchor.html" title="trait bdk_chain::Anchor"><code>Anchor</code></a> implementation that also records the exact confirmation height of the transaction.</div></li><li><div class="item-name"><a class="struct" href="struct.ConfirmationTimeHeightAnchor.html" title="struct bdk_chain::ConfirmationTimeHeightAnchor">ConfirmationTimeHeightAnchor</a></div><div class="desc docblock-short">An <a href="trait.Anchor.html" title="trait bdk_chain::Anchor"><code>Anchor</code></a> implementation that also records the exact confirmation time and height of the
-transaction.</div></li><li><div class="item-name"><a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></div><div class="desc docblock-short">Represents the ID of a descriptor, defined as the sha256 hash of
-the descriptor string, checksum excluded.</div></li><li><div class="item-name"><a class="struct" href="struct.FullTxOut.html" title="struct bdk_chain::FullTxOut">FullTxOut</a></div><div class="desc docblock-short">A <code>TxOut</code> with as much data as we can retrieve about it</div></li><li><div class="item-name"><a class="struct" href="struct.SpkIterator.html" title="struct bdk_chain::SpkIterator">SpkIterator</a></div><div class="desc docblock-short">An iterator for derived script pubkeys.</div></li><li><div class="item-name"><a class="struct" href="struct.SpkTxOutIndex.html" title="struct bdk_chain::SpkTxOutIndex">SpkTxOutIndex</a></div><div class="desc docblock-short">An index storing <a href="bitcoin::TxOut"><code>TxOut</code></a>s that have a script pubkey that matches those in a list.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.ChainPosition.html" title="enum bdk_chain::ChainPosition">ChainPosition</a></div><div class="desc docblock-short">Represents the observed position of some chain data.</div></li><li><div class="item-name"><a class="enum" href="enum.ConfirmationTime.html" title="enum bdk_chain::ConfirmationTime">ConfirmationTime</a></div><div class="desc docblock-short">Block height and timestamp at which a transaction is confirmed.</div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.BIP32_MAX_INDEX.html" title="constant bdk_chain::BIP32_MAX_INDEX">BIP32_MAX_INDEX</a></div><div class="desc docblock-short">Maximum <a href="https://bips.xyz/32">BIP32</a> derivation index.</div></li><li><div class="item-name"><a class="constant" href="constant.COINBASE_MATURITY.html" title="constant bdk_chain::COINBASE_MATURITY">COINBASE_MATURITY</a></div><div class="desc docblock-short">How many confirmations are needed f or a coinbase output to be spent.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Anchor.html" title="trait bdk_chain::Anchor">Anchor</a></div><div class="desc docblock-short">Trait that “anchors” blockchain data to a specific block of height and hash.</div></li><li><div class="item-name"><a class="trait" href="trait.AnchorFromBlockPosition.html" title="trait bdk_chain::AnchorFromBlockPosition">AnchorFromBlockPosition</a></div><div class="desc docblock-short">An <a href="trait.Anchor.html" title="trait bdk_chain::Anchor"><code>Anchor</code></a> that can be constructed from a given block, block height and transaction position
+transaction.</div></li><li><div class="item-name"><a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></div><div class="desc docblock-short">Represents the unique ID of a descriptor.</div></li><li><div class="item-name"><a class="struct" href="struct.FullTxOut.html" title="struct bdk_chain::FullTxOut">FullTxOut</a></div><div class="desc docblock-short">A <code>TxOut</code> with as much data as we can retrieve about it</div></li><li><div class="item-name"><a class="struct" href="struct.SpkIterator.html" title="struct bdk_chain::SpkIterator">SpkIterator</a></div><div class="desc docblock-short">An iterator for derived script pubkeys.</div></li><li><div class="item-name"><a class="struct" href="struct.SpkTxOutIndex.html" title="struct bdk_chain::SpkTxOutIndex">SpkTxOutIndex</a></div><div class="desc docblock-short">An index storing <a href="bitcoin::TxOut"><code>TxOut</code></a>s that have a script pubkey that matches those in a list.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.ChainPosition.html" title="enum bdk_chain::ChainPosition">ChainPosition</a></div><div class="desc docblock-short">Represents the observed position of some chain data.</div></li><li><div class="item-name"><a class="enum" href="enum.ConfirmationTime.html" title="enum bdk_chain::ConfirmationTime">ConfirmationTime</a></div><div class="desc docblock-short">Block height and timestamp at which a transaction is confirmed.</div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.BIP32_MAX_INDEX.html" title="constant bdk_chain::BIP32_MAX_INDEX">BIP32_MAX_INDEX</a></div><div class="desc docblock-short">Maximum <a href="https://bips.xyz/32">BIP32</a> derivation index.</div></li><li><div class="item-name"><a class="constant" href="constant.COINBASE_MATURITY.html" title="constant bdk_chain::COINBASE_MATURITY">COINBASE_MATURITY</a></div><div class="desc docblock-short">How many confirmations are needed f or a coinbase output to be spent.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Anchor.html" title="trait bdk_chain::Anchor">Anchor</a></div><div class="desc docblock-short">Trait that “anchors” blockchain data to a specific block of height and hash.</div></li><li><div class="item-name"><a class="trait" href="trait.AnchorFromBlockPosition.html" title="trait bdk_chain::AnchorFromBlockPosition">AnchorFromBlockPosition</a></div><div class="desc docblock-short">An <a href="trait.Anchor.html" title="trait bdk_chain::Anchor"><code>Anchor</code></a> that can be constructed from a given block, block height and transaction position
 within the block.</div></li><li><div class="item-name"><a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a></div><div class="desc docblock-short">Trait that makes an object appendable.</div></li><li><div class="item-name"><a class="trait" href="trait.ChainOracle.html" title="trait bdk_chain::ChainOracle">ChainOracle</a></div><div class="desc docblock-short">Represents a service that tracks the blockchain.</div></li><li><div class="item-name"><a class="trait" href="trait.DescriptorExt.html" title="trait bdk_chain::DescriptorExt">DescriptorExt</a></div><div class="desc docblock-short">A trait to extend the functionality of a miniscript descriptor.</div></li></ul></section></div></main></body></html>
\ No newline at end of file
index c5eee172614419bffd28bcc80e1e47d38893e707..cc069d06c88396b6804774267e2aa6b3158fa079 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Error returned from `KeychainTxOutIndex::insert_descriptor`"><title>InsertDescriptorError in bdk_chain::keychain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">InsertDescriptorError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.DescriptorAlreadyAssigned">DescriptorAlreadyAssigned</a></li><li><a href="#variant.KeychainAlreadyAssigned">KeychainAlreadyAssigned</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-InsertDescriptorError%3CK%3E">Clone</a></li><li><a href="#impl-Debug-for-InsertDescriptorError%3CK%3E">Debug</a></li><li><a href="#impl-Display-for-InsertDescriptorError%3CK%3E">Display</a></li><li><a href="#impl-Error-for-InsertDescriptorError%3CK%3E">Error</a></li><li><a href="#impl-PartialEq-for-InsertDescriptorError%3CK%3E">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-InsertDescriptorError%3CK%3E">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-InsertDescriptorError%3CK%3E">!Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-InsertDescriptorError%3CK%3E">RefUnwindSafe</a></li><li><a href="#impl-Send-for-InsertDescriptorError%3CK%3E">Send</a></li><li><a href="#impl-Sync-for-InsertDescriptorError%3CK%3E">Sync</a></li><li><a href="#impl-Unpin-for-InsertDescriptorError%3CK%3E">Unpin</a></li><li><a href="#impl-UnwindSafe-for-InsertDescriptorError%3CK%3E">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_chain::keychain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_chain</a>::<wbr><a href="index.html">keychain</a>::<wbr><a class="enum" href="#">InsertDescriptorError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_chain/keychain/txout_index.rs.html#801-816">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 InsertDescriptorError&lt;K&gt; {
+<!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 returned from `KeychainTxOutIndex::insert_descriptor`"><title>InsertDescriptorError in bdk_chain::keychain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">InsertDescriptorError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.DescriptorAlreadyAssigned">DescriptorAlreadyAssigned</a></li><li><a href="#variant.KeychainAlreadyAssigned">KeychainAlreadyAssigned</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-InsertDescriptorError%3CK%3E">Clone</a></li><li><a href="#impl-Debug-for-InsertDescriptorError%3CK%3E">Debug</a></li><li><a href="#impl-Display-for-InsertDescriptorError%3CK%3E">Display</a></li><li><a href="#impl-Error-for-InsertDescriptorError%3CK%3E">Error</a></li><li><a href="#impl-PartialEq-for-InsertDescriptorError%3CK%3E">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-InsertDescriptorError%3CK%3E">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-InsertDescriptorError%3CK%3E">!Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-InsertDescriptorError%3CK%3E">RefUnwindSafe</a></li><li><a href="#impl-Send-for-InsertDescriptorError%3CK%3E">Send</a></li><li><a href="#impl-Sync-for-InsertDescriptorError%3CK%3E">Sync</a></li><li><a href="#impl-Unpin-for-InsertDescriptorError%3CK%3E">Unpin</a></li><li><a href="#impl-UnwindSafe-for-InsertDescriptorError%3CK%3E">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_chain::keychain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_chain</a>::<wbr><a href="index.html">keychain</a>::<wbr><a class="enum" href="#">InsertDescriptorError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_chain/keychain/txout_index.rs.html#808-823">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 InsertDescriptorError&lt;K&gt; {
     DescriptorAlreadyAssigned {
         descriptor: Descriptor&lt;DescriptorPublicKey&gt;,
         existing_assignment: K,
@@ -14,9 +14,9 @@
 </div></div></div><section id="variant.KeychainAlreadyAssigned" class="variant"><a href="#variant.KeychainAlreadyAssigned" class="anchor">§</a><h3 class="code-header">KeychainAlreadyAssigned</h3></section><div class="docblock"><p>The keychain is already assigned to a descriptor so you can’t reassign it</p>
 </div><div class="sub-variant" id="variant.KeychainAlreadyAssigned.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.KeychainAlreadyAssigned.field.keychain" class="section-header"><a href="#variant.KeychainAlreadyAssigned.field.keychain" class="anchor field">§</a><code>keychain: K</code></span><div class="docblock"><p>The keychain that you have attempted to reassign</p>
 </div></div><div class="sub-variant-field"><span id="variant.KeychainAlreadyAssigned.field.existing_assignment" class="section-header"><a href="#variant.KeychainAlreadyAssigned.field.existing_assignment" class="anchor field">§</a><code>existing_assignment: Descriptor&lt;DescriptorPublicKey&gt;</code></span><div class="docblock"><p>The descriptor that the keychain is already assigned to</p>
-</div></div></div></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#799">source</a><a href="#impl-Clone-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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/bdk_chain/keychain/txout_index.rs.html#799">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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#799">source</a><a href="#impl-Debug-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#799">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-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#818-841">source</a><a href="#impl-Display-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#819-840">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-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#844">source</a><a href="#impl-Error-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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#84">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'>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#110">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#120">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#184">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><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#799">source</a><a href="#impl-PartialEq-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#799">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
+</div></div></div></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#806">source</a><a href="#impl-Clone-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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/bdk_chain/keychain/txout_index.rs.html#806">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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#806">source</a><a href="#impl-Debug-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#806">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-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#825-848">source</a><a href="#impl-Display-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#826-847">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-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#851">source</a><a href="#impl-Error-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</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#84">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'>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#110">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#120">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#184">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><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#806">source</a><a href="#impl-PartialEq-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#806">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
 by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
-sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-StructuralPartialEq-for-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#799">source</a><a href="#impl-StructuralPartialEq-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-InsertDescriptorError%3CK%3E" class="impl"><a href="#impl-Freeze-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</h3></section><section id="impl-RefUnwindSafe-for-InsertDescriptorError%3CK%3E" class="impl"><a href="#impl-RefUnwindSafe-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;<div class="where">where
+sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-StructuralPartialEq-for-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#806">source</a><a href="#impl-StructuralPartialEq-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-InsertDescriptorError%3CK%3E" class="impl"><a href="#impl-Freeze-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</h3></section><section id="impl-RefUnwindSafe-for-InsertDescriptorError%3CK%3E" class="impl"><a href="#impl-RefUnwindSafe-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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="enum" href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;<div class="where">where
     K: <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>,</div></h3></section><section id="impl-Send-for-InsertDescriptorError%3CK%3E" class="impl"><a href="#impl-Send-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;<div class="where">where
     K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-InsertDescriptorError%3CK%3E" class="impl"><a href="#impl-Sync-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;<div class="where">where
     K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-InsertDescriptorError%3CK%3E" class="impl"><a href="#impl-Unpin-for-InsertDescriptorError%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <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.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;<div class="where">where
index 8e54a0c4f4f2fdf27b1d6714038a5e294c6808fc..234d66e3762c1e6f32e8726eb36a8828d9cf9833 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Represents updates to the derivation index of a `KeychainTxOutIndex`. It maps each keychain `K` to a descriptor and its last revealed index."><title>ChangeSet in bdk_chain::keychain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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="../../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">ChangeSet</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.keychains_added">keychains_added</a></li><li><a href="#structfield.last_revealed">last_revealed</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Append-for-ChangeSet%3CK%3E">Append</a></li><li><a href="#impl-Clone-for-ChangeSet%3CK%3E">Clone</a></li><li><a href="#impl-Debug-for-ChangeSet%3CK%3E">Debug</a></li><li><a href="#impl-Default-for-ChangeSet%3CK%3E">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-ChangeSet%3CK%3E">Deserialize&lt;&#x27;de&gt;</a></li><li><a href="#impl-From%3CChangeSet%3CK%3E%3E-for-ChangeSet%3CA,+ChangeSet%3CK%3E%3E">From&lt;ChangeSet&lt;K&gt;&gt;</a></li><li><a href="#impl-From%3CChangeSet%3CK%3E%3E-for-CombinedChangeSet%3CK,+A%3E">From&lt;ChangeSet&lt;K&gt;&gt;</a></li><li><a href="#impl-PartialEq-for-ChangeSet%3CK%3E">PartialEq</a></li><li><a href="#impl-Serialize-for-ChangeSet%3CK%3E">Serialize</a></li><li><a href="#impl-StructuralPartialEq-for-ChangeSet%3CK%3E">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-ChangeSet%3CK%3E">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-ChangeSet%3CK%3E">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ChangeSet%3CK%3E">Send</a></li><li><a href="#impl-Sync-for-ChangeSet%3CK%3E">Sync</a></li><li><a href="#impl-Unpin-for-ChangeSet%3CK%3E">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ChangeSet%3CK%3E">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-DeserializeOwned-for-T">DeserializeOwned</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_chain::keychain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_chain</a>::<wbr><a href="index.html">keychain</a>::<wbr><a class="struct" href="#">ChangeSet</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_chain/keychain/txout_index.rs.html#871-876">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct ChangeSet&lt;K&gt; {
+<!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="Represents updates to the derivation index of a `KeychainTxOutIndex`. It maps each keychain `K` to a descriptor and its last revealed index."><title>ChangeSet in bdk_chain::keychain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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="../../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">ChangeSet</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.keychains_added">keychains_added</a></li><li><a href="#structfield.last_revealed">last_revealed</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Append-for-ChangeSet%3CK%3E">Append</a></li><li><a href="#impl-Clone-for-ChangeSet%3CK%3E">Clone</a></li><li><a href="#impl-Debug-for-ChangeSet%3CK%3E">Debug</a></li><li><a href="#impl-Default-for-ChangeSet%3CK%3E">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-ChangeSet%3CK%3E">Deserialize&lt;&#x27;de&gt;</a></li><li><a href="#impl-From%3CChangeSet%3CK%3E%3E-for-ChangeSet%3CA,+ChangeSet%3CK%3E%3E">From&lt;ChangeSet&lt;K&gt;&gt;</a></li><li><a href="#impl-From%3CChangeSet%3CK%3E%3E-for-CombinedChangeSet%3CK,+A%3E">From&lt;ChangeSet&lt;K&gt;&gt;</a></li><li><a href="#impl-PartialEq-for-ChangeSet%3CK%3E">PartialEq</a></li><li><a href="#impl-Serialize-for-ChangeSet%3CK%3E">Serialize</a></li><li><a href="#impl-StructuralPartialEq-for-ChangeSet%3CK%3E">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-ChangeSet%3CK%3E">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-ChangeSet%3CK%3E">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ChangeSet%3CK%3E">Send</a></li><li><a href="#impl-Sync-for-ChangeSet%3CK%3E">Sync</a></li><li><a href="#impl-Unpin-for-ChangeSet%3CK%3E">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ChangeSet%3CK%3E">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-DeserializeOwned-for-T">DeserializeOwned</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_chain::keychain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_chain</a>::<wbr><a href="index.html">keychain</a>::<wbr><a class="struct" href="#">ChangeSet</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_chain/keychain/txout_index.rs.html#878-883">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct ChangeSet&lt;K&gt; {
     pub keychains_added: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;K, Descriptor&lt;DescriptorPublicKey&gt;&gt;,
     pub last_revealed: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;,
 }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Represents updates to the derivation index of a <a href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex"><code>KeychainTxOutIndex</code></a>.
@@ -9,17 +9,17 @@ It maps each keychain <code>K</code> to a descriptor and its last revealed index
 same <em>one-to-one</em> keychain &lt;-&gt; descriptor mapping invariant as <a href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex"><code>KeychainTxOutIndex</code></a> itself.</p>
 </div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.keychains_added" class="structfield section-header"><a href="#structfield.keychains_added" class="anchor field">§</a><code>keychains_added: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;K, Descriptor&lt;DescriptorPublicKey&gt;&gt;</code></span><div class="docblock"><p>Contains the keychains that have been added and their respective descriptor</p>
 </div><span id="structfield.last_revealed" class="structfield section-header"><a href="#structfield.last_revealed" class="anchor field">§</a><code>last_revealed: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="struct" href="../struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</code></span><div class="docblock"><p>Contains for each descriptor_id the last revealed index of derivation</p>
-</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-Append-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#878-920">source</a><a href="#impl-Append-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt; <a class="trait" href="../trait.Append.html" title="trait bdk_chain::Append">Append</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.append" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#885-914">source</a><a href="#method.append" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Append.html#tymethod.append" class="fn">append</a>(&amp;mut self, other: Self)</h4></section></summary><div class="docblock"><p>Merge another <a href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet"><code>ChangeSet&lt;K&gt;</code></a> into self.</p>
+</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-Append-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#885-927">source</a><a href="#impl-Append-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt; <a class="trait" href="../trait.Append.html" title="trait bdk_chain::Append">Append</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.append" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#892-921">source</a><a href="#method.append" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Append.html#tymethod.append" class="fn">append</a>(&amp;mut self, other: Self)</h4></section></summary><div class="docblock"><p>Merge another <a href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet"><code>ChangeSet&lt;K&gt;</code></a> into self.</p>
 <p>For the <code>keychains_added</code> field this method respects the invariants of
 <a href="struct.KeychainTxOutIndex.html#method.insert_descriptor" title="method bdk_chain::keychain::KeychainTxOutIndex::insert_descriptor"><code>insert_descriptor</code></a>. <code>last_revealed</code> always becomes the larger of the two.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.is_empty" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#917-919">source</a><a href="#method.is_empty" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Append.html#tymethod.is_empty" class="fn">is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns whether the changeset are empty.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.take" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/tx_data_traits.rs.html#125-131">source</a><a href="#method.take" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Append.html#method.take" class="fn">take</a>(&amp;mut 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;Self&gt;</h4></section></summary><div class='docblock'>Take the value, replacing it with the default value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#858">source</a><a href="#impl-Clone-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</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/bdk_chain/keychain/txout_index.rs.html#858">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="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</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-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#858">source</a><a href="#impl-Debug-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#858">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-Default-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#922-929">source</a><a href="#impl-Default-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#923-928">source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -&gt; Self</h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#861">source</a><a href="#impl-Deserialize%3C'de%3E-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'de, K&gt; <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;<div class="where">where
-    K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#861">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&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, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
-    __D: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CChangeSet%3CK%3E%3E-for-ChangeSet%3CA,+ChangeSet%3CK%3E%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/indexed_tx_graph.rs.html#323-330">source</a><a href="#impl-From%3CChangeSet%3CK%3E%3E-for-ChangeSet%3CA,+ChangeSet%3CK%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;&gt; for <a class="struct" href="../indexed_tx_graph/struct.ChangeSet.html" title="struct bdk_chain::indexed_tx_graph::ChangeSet">ChangeSet</a>&lt;A, <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/indexed_tx_graph.rs.html#324-329">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(indexer: <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CChangeSet%3CK%3E%3E-for-CombinedChangeSet%3CK,+A%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/changeset.rs.html#79-89">source</a><a href="#impl-From%3CChangeSet%3CK%3E%3E-for-CombinedChangeSet%3CK,+A%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K, A&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;&gt; for <a class="struct" href="../struct.CombinedChangeSet.html" title="struct bdk_chain::CombinedChangeSet">CombinedChangeSet</a>&lt;K, A&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/changeset.rs.html#80-88">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(indexer: <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#858">source</a><a href="#impl-PartialEq-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#858">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
+</div></details><details class="toggle method-toggle" open><summary><section id="method.is_empty" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#924-926">source</a><a href="#method.is_empty" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Append.html#tymethod.is_empty" class="fn">is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns whether the changeset are empty.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.take" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/tx_data_traits.rs.html#125-131">source</a><a href="#method.take" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Append.html#method.take" class="fn">take</a>(&amp;mut 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;Self&gt;</h4></section></summary><div class='docblock'>Take the value, replacing it with the default value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#865">source</a><a href="#impl-Clone-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</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/bdk_chain/keychain/txout_index.rs.html#865">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="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</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-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#865">source</a><a href="#impl-Debug-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#865">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-Default-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#929-936">source</a><a href="#impl-Default-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#930-935">source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -&gt; Self</h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#868">source</a><a href="#impl-Deserialize%3C'de%3E-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'de, K&gt; <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;<div class="where">where
+    K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#868">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&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, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
+    __D: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CChangeSet%3CK%3E%3E-for-ChangeSet%3CA,+ChangeSet%3CK%3E%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/indexed_tx_graph.rs.html#323-330">source</a><a href="#impl-From%3CChangeSet%3CK%3E%3E-for-ChangeSet%3CA,+ChangeSet%3CK%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;&gt; for <a class="struct" href="../indexed_tx_graph/struct.ChangeSet.html" title="struct bdk_chain::indexed_tx_graph::ChangeSet">ChangeSet</a>&lt;A, <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/indexed_tx_graph.rs.html#324-329">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(indexer: <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CChangeSet%3CK%3E%3E-for-CombinedChangeSet%3CK,+A%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/changeset.rs.html#79-89">source</a><a href="#impl-From%3CChangeSet%3CK%3E%3E-for-CombinedChangeSet%3CK,+A%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K, A&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;&gt; for <a class="struct" href="../struct.CombinedChangeSet.html" title="struct bdk_chain::CombinedChangeSet">CombinedChangeSet</a>&lt;K, A&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/changeset.rs.html#80-88">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(indexer: <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#865">source</a><a href="#impl-PartialEq-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#865">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
 by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
-sufficient, and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#861">source</a><a href="#impl-Serialize-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;<div class="where">where
-    K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#861">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<div class="where">where
-    __S: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><section id="impl-StructuralPartialEq-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#858">source</a><a href="#impl-StructuralPartialEq-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-ChangeSet%3CK%3E" class="impl"><a href="#impl-Freeze-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section><section id="impl-RefUnwindSafe-for-ChangeSet%3CK%3E" class="impl"><a href="#impl-RefUnwindSafe-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;<div class="where">where
+sufficient, and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#868">source</a><a href="#impl-Serialize-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;<div class="where">where
+    K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#868">source</a><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<div class="where">where
+    __S: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><section id="impl-StructuralPartialEq-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#865">source</a><a href="#impl-StructuralPartialEq-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-ChangeSet%3CK%3E" class="impl"><a href="#impl-Freeze-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section><section id="impl-RefUnwindSafe-for-ChangeSet%3CK%3E" class="impl"><a href="#impl-RefUnwindSafe-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;<div class="where">where
     K: <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>,</div></h3></section><section id="impl-Send-for-ChangeSet%3CK%3E" class="impl"><a href="#impl-Send-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;<div class="where">where
     K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-ChangeSet%3CK%3E" class="impl"><a href="#impl-Sync-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;<div class="where">where
     K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-ChangeSet%3CK%3E" class="impl"><a href="#impl-Unpin-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section><section id="impl-UnwindSafe-for-ChangeSet%3CK%3E" class="impl"><a href="#impl-UnwindSafe-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;<div class="where">where
index 3b2e2146325b0d936728d21b07c0bcb66dd73e9e..4d98d6f5b12a6ebe2b378a9fa4b851aa60d9c2d6 100644 (file)
@@ -120,10 +120,10 @@ spent must have already been scanned by the index. Calculating received just use
 <em>takes</em> from the transaction outputs in the index. Shorthand for calling
 <a href="struct.KeychainTxOutIndex.html#method.sent_and_received" title="method bdk_chain::keychain::KeychainTxOutIndex::sent_and_received"><code>sent_and_received</code></a> and subtracting sent from received.</p>
 <p>This calls <a href="../struct.SpkTxOutIndex.html#method.net_value" title="method bdk_chain::SpkTxOutIndex::net_value"><code>SpkTxOutIndex::net_value</code></a> internally.</p>
-</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-KeychainTxOutIndex%3CK%3E-2" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#336-797">source</a><a href="#impl-KeychainTxOutIndex%3CK%3E-2" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="struct" href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex">KeychainTxOutIndex</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.keychains" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#338-345">source</a><h4 class="code-header">pub fn <a href="#method.keychains" class="fn">keychains</a>(
+</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-KeychainTxOutIndex%3CK%3E-2" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#336-804">source</a><a href="#impl-KeychainTxOutIndex%3CK%3E-2" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="struct" href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex">KeychainTxOutIndex</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.keychains" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#338-345">source</a><h4 class="code-header">pub fn <a href="#method.keychains" class="fn">keychains</a>(
     &amp;self
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html" title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a>&lt;Item = (<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>, &amp;Descriptor&lt;DescriptorPublicKey&gt;)&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/exact_size/trait.ExactSizeIterator.html" title="trait core::iter::traits::exact_size::ExactSizeIterator">ExactSizeIterator</a> + '_</h4></section></summary><div class="docblock"><p>Return all keychains and their corresponding descriptors.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.insert_descriptor" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#355-396">source</a><h4 class="code-header">pub fn <a href="#method.insert_descriptor" class="fn">insert_descriptor</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.insert_descriptor" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#362-403">source</a><h4 class="code-header">pub fn <a href="#method.insert_descriptor" class="fn">insert_descriptor</a>(
     &amp;mut self,
     keychain: K,
     descriptor: Descriptor&lt;DescriptorPublicKey&gt;
@@ -133,42 +133,48 @@ txout index will discover transaction outputs with those script pubkeys (once th
 derived and added to the index).</p>
 <p>keychain &lt;-&gt; descriptor is a one-to-one mapping that cannot be changed. Attempting to do so
 will return a <a href="enum.InsertDescriptorError.html" title="enum bdk_chain::keychain::InsertDescriptorError"><code>InsertDescriptorError&lt;K&gt;</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.get_descriptor" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#400-403">source</a><h4 class="code-header">pub fn <a href="#method.get_descriptor" class="fn">get_descriptor</a>(
+<p><code>[KeychainTxOutIndex]</code> will prevent you from inserting two descriptors which derive the same
+script pubkey at index 0, but it’s up to you to ensure that descriptors don’t collide at
+other indices. If they do nothing catastrophic happens at the <code>KeychainTxOutIndex</code> level
+(one keychain just becomes the defacto owner of that spk arbitrarily) but this may have
+subtle implications up the application stack like one UTXO being missing from one keychain
+because it has been assigned to another which produces the same script pubkey.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.get_descriptor" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#407-410">source</a><h4 class="code-header">pub fn <a href="#method.get_descriptor" class="fn">get_descriptor</a>(
     &amp;self,
     keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>
 ) -&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;Descriptor&lt;DescriptorPublicKey&gt;&gt;</h4></section></summary><div class="docblock"><p>Gets the descriptor associated with the keychain. Returns <code>None</code> if the keychain doesn’t
 have a descriptor associated with it.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.lookahead" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#410-412">source</a><h4 class="code-header">pub fn <a href="#method.lookahead" class="fn">lookahead</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Get the lookahead setting.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.lookahead" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#417-419">source</a><h4 class="code-header">pub fn <a href="#method.lookahead" class="fn">lookahead</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Get the lookahead setting.</p>
 <p>Refer to <a href="struct.KeychainTxOutIndex.html#method.new" title="associated function bdk_chain::keychain::KeychainTxOutIndex::new"><code>new</code></a> for more information on the <code>lookahead</code>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.lookahead_to_target" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#417-427">source</a><h4 class="code-header">pub fn <a href="#method.lookahead_to_target" class="fn">lookahead_to_target</a>(&amp;mut self, keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>, target_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</h4></section></summary><div class="docblock"><p>Store lookahead scripts until <code>target_index</code> (inclusive).</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.lookahead_to_target" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#424-434">source</a><h4 class="code-header">pub fn <a href="#method.lookahead_to_target" class="fn">lookahead_to_target</a>(&amp;mut self, keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>, target_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</h4></section></summary><div class="docblock"><p>Store lookahead scripts until <code>target_index</code> (inclusive).</p>
 <p>This does not change the global <code>lookahead</code> setting.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.unbounded_spk_iter" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#463-469">source</a><h4 class="code-header">pub fn <a href="#method.unbounded_spk_iter" class="fn">unbounded_spk_iter</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.unbounded_spk_iter" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#470-476">source</a><h4 class="code-header">pub fn <a href="#method.unbounded_spk_iter" class="fn">unbounded_spk_iter</a>(
     &amp;self,
     keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>
 ) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.SpkIterator.html" title="struct bdk_chain::SpkIterator">SpkIterator</a>&lt;Descriptor&lt;DescriptorPublicKey&gt;&gt;&gt;</h4></section></summary><div class="docblock"><p>Get an unbounded spk iterator over a given <code>keychain</code>. Returns <code>None</code> if the provided
 keychain doesn’t exist</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.all_unbounded_spk_iters" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#472-484">source</a><h4 class="code-header">pub fn <a href="#method.all_unbounded_spk_iters" class="fn">all_unbounded_spk_iters</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.all_unbounded_spk_iters" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#479-491">source</a><h4 class="code-header">pub fn <a href="#method.all_unbounded_spk_iters" class="fn">all_unbounded_spk_iters</a>(
     &amp;self
 ) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;K, <a class="struct" href="../struct.SpkIterator.html" title="struct bdk_chain::SpkIterator">SpkIterator</a>&lt;Descriptor&lt;DescriptorPublicKey&gt;&gt;&gt;</h4></section></summary><div class="docblock"><p>Get unbounded spk iterators for all keychains.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.revealed_spks" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#487-520">source</a><h4 class="code-header">pub fn <a href="#method.revealed_spks" class="fn">revealed_spks</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.revealed_spks" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#494-527">source</a><h4 class="code-header">pub fn <a href="#method.revealed_spks" class="fn">revealed_spks</a>(
     &amp;self,
     range: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/range/trait.RangeBounds.html" title="trait core::ops::range::RangeBounds">RangeBounds</a>&lt;K&gt;
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="type" href="type.KeychainIndexed.html" title="type bdk_chain::keychain::KeychainIndexed">KeychainIndexed</a>&lt;K, &amp;Script&gt;&gt;</h4></section></summary><div class="docblock"><p>Iterate over revealed spks of keychains in <code>range</code></p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.revealed_keychain_spks" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#526-538">source</a><h4 class="code-header">pub fn <a href="#method.revealed_keychain_spks" class="fn">revealed_keychain_spks</a>&lt;'a&gt;(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.revealed_keychain_spks" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#533-545">source</a><h4 class="code-header">pub fn <a href="#method.revealed_keychain_spks" class="fn">revealed_keychain_spks</a>&lt;'a&gt;(
     &amp;'a self,
     keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a K</a>
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html" title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a>&lt;Item = <a class="type" href="type.Indexed.html" title="type bdk_chain::keychain::Indexed">Indexed</a>&lt;&amp;Script&gt;&gt; + 'a</h4></section></summary><div class="docblock"><p>Iterate over revealed spks of the given <code>keychain</code> with ascending indices.</p>
 <p>This is a double ended iterator so you can easily reverse it to get an iterator where
 the script pubkeys that were most recently revealed are first.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.unused_spks" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#541-548">source</a><h4 class="code-header">pub fn <a href="#method.unused_spks" class="fn">unused_spks</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.unused_spks" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#548-555">source</a><h4 class="code-header">pub fn <a href="#method.unused_spks" class="fn">unused_spks</a>(
     &amp;self
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html" title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a>&lt;Item = <a class="type" href="type.KeychainIndexed.html" title="type bdk_chain::keychain::KeychainIndexed">KeychainIndexed</a>&lt;K, &amp;Script&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a></h4></section></summary><div class="docblock"><p>Iterate over revealed, but unused, spks of all keychains.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.unused_keychain_spks" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#552-564">source</a><h4 class="code-header">pub fn <a href="#method.unused_keychain_spks" class="fn">unused_keychain_spks</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.unused_keychain_spks" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#559-571">source</a><h4 class="code-header">pub fn <a href="#method.unused_keychain_spks" class="fn">unused_keychain_spks</a>(
     &amp;self,
     keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html" title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a>&lt;Item = <a class="type" href="type.Indexed.html" title="type bdk_chain::keychain::Indexed">Indexed</a>&lt;&amp;Script&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a></h4></section></summary><div class="docblock"><p>Iterate over revealed, but unused, spks of the given <code>keychain</code>.
 Returns an empty iterator if the provided keychain doesn’t exist.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.next_index" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#578-599">source</a><h4 class="code-header">pub fn <a href="#method.next_index" class="fn">next_index</a>(&amp;self, keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)&gt;</h4></section></summary><div class="docblock"><p>Get the next derivation index for <code>keychain</code>. The next index is the index after the last revealed
+</div></details><details class="toggle method-toggle" open><summary><section id="method.next_index" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#585-606">source</a><h4 class="code-header">pub fn <a href="#method.next_index" class="fn">next_index</a>(&amp;self, keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)&gt;</h4></section></summary><div class="docblock"><p>Get the next derivation index for <code>keychain</code>. The next index is the index after the last revealed
 derivation index.</p>
 <p>The second field in the returned tuple represents whether the next derivation index is new.
 There are two scenarios where the next derivation index is reused (not new):</p>
@@ -178,15 +184,15 @@ There are two scenarios where the next derivation index is reused (not new):</p>
 </ol>
 <p>Not checking the second field of the tuple may result in address reuse.</p>
 <p>Returns None if the provided <code>keychain</code> doesn’t exist.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.last_revealed_indices" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#604-612">source</a><h4 class="code-header">pub fn <a href="#method.last_revealed_indices" class="fn">last_revealed_indices</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;K, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Get the last derivation index that is revealed for each keychain.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.last_revealed_indices" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#611-619">source</a><h4 class="code-header">pub fn <a href="#method.last_revealed_indices" class="fn">last_revealed_indices</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;K, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Get the last derivation index that is revealed for each keychain.</p>
 <p>Keychains with no revealed indices will not be included in the returned <a href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap"><code>BTreeMap</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.last_revealed_index" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#616-619">source</a><h4 class="code-header">pub fn <a href="#method.last_revealed_index" class="fn">last_revealed_index</a>(&amp;self, keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Get the last derivation index revealed for <code>keychain</code>. Returns None if the keychain doesn’t
+</div></details><details class="toggle method-toggle" open><summary><section id="method.last_revealed_index" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#623-626">source</a><h4 class="code-header">pub fn <a href="#method.last_revealed_index" class="fn">last_revealed_index</a>(&amp;self, keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Get the last derivation index revealed for <code>keychain</code>. Returns None if the keychain doesn’t
 exist, or if the keychain doesn’t have any revealed scripts.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_to_target_multi" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#622-632">source</a><h4 class="code-header">pub fn <a href="#method.reveal_to_target_multi" class="fn">reveal_to_target_multi</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_to_target_multi" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#629-639">source</a><h4 class="code-header">pub fn <a href="#method.reveal_to_target_multi" class="fn">reveal_to_target_multi</a>(
     &amp;mut self,
     keychains: &amp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;K, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;
 ) -&gt; <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h4></section></summary><div class="docblock"><p>Convenience method to call <a href="struct.KeychainTxOutIndex.html#method.reveal_to_target" title="method bdk_chain::keychain::KeychainTxOutIndex::reveal_to_target"><code>Self::reveal_to_target</code></a> on multiple keychains.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_to_target" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#647-668">source</a><h4 class="code-header">pub fn <a href="#method.reveal_to_target" class="fn">reveal_to_target</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_to_target" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#654-675">source</a><h4 class="code-header">pub fn <a href="#method.reveal_to_target" class="fn">reveal_to_target</a>(
     &amp;mut self,
     keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>,
     target_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>
@@ -199,7 +205,7 @@ reveal up to the last possible index.</p>
 <a href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet"><code>ChangeSet</code></a>, which reports updates to the latest revealed index. If no new script
 pubkeys are revealed, then both of these will be empty.</p>
 <p>Returns None if the provided <code>keychain</code> doesn’t exist.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_next_spk" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#682-697">source</a><h4 class="code-header">pub fn <a href="#method.reveal_next_spk" class="fn">reveal_next_spk</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_next_spk" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#689-704">source</a><h4 class="code-header">pub fn <a href="#method.reveal_next_spk" class="fn">reveal_next_spk</a>(
     &amp;mut self,
     keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>
 ) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="type" href="type.Indexed.html" title="type bdk_chain::keychain::Indexed">Indexed</a>&lt;ScriptBuf&gt;, <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;)&gt;</h4></section></summary><div class="docblock"><p>Attempts to reveal the next script pubkey for <code>keychain</code>.</p>
@@ -213,7 +219,7 @@ Returns None if the provided keychain doesn’t exist.</p>
 <li>The descriptor has already revealed scripts up to the numeric bound.</li>
 <li>There is no descriptor associated with the given keychain.</li>
 </ol>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.next_unused_spk" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#712-719">source</a><h4 class="code-header">pub fn <a href="#method.next_unused_spk" class="fn">next_unused_spk</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.next_unused_spk" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#719-726">source</a><h4 class="code-header">pub fn <a href="#method.next_unused_spk" class="fn">next_unused_spk</a>(
     &amp;mut self,
     keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>
 ) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="type" href="type.Indexed.html" title="type bdk_chain::keychain::Indexed">Indexed</a>&lt;ScriptBuf&gt;, <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;)&gt;</h4></section></summary><div class="docblock"><p>Gets the next unused script pubkey in the keychain. I.e., the script pubkey with the lowest
@@ -224,20 +230,20 @@ has used all scripts up to the derivation bounds, then the last derived script p
 returned.</p>
 <p>Returns <code>None</code> if there are no script pubkeys that have been used and no new script pubkey
 could be revealed (see <a href="struct.KeychainTxOutIndex.html#method.reveal_next_spk" title="method bdk_chain::keychain::KeychainTxOutIndex::reveal_next_spk"><code>reveal_next_spk</code></a> for when this happens).</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.keychain_outpoints" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#723-729">source</a><h4 class="code-header">pub fn <a href="#method.keychain_outpoints" class="fn">keychain_outpoints</a>&lt;'a&gt;(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.keychain_outpoints" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#730-736">source</a><h4 class="code-header">pub fn <a href="#method.keychain_outpoints" class="fn">keychain_outpoints</a>&lt;'a&gt;(
     &amp;'a self,
     keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a K</a>
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html" title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a>&lt;Item = <a class="type" href="type.Indexed.html" title="type bdk_chain::keychain::Indexed">Indexed</a>&lt;OutPoint&gt;&gt; + 'a</h4></section></summary><div class="docblock"><p>Iterate over all [<code>OutPoint</code>]s that have <code>TxOut</code>s with script pubkeys derived from
 <code>keychain</code>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.keychain_outpoints_in_range" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#732-739">source</a><h4 class="code-header">pub fn <a href="#method.keychain_outpoints_in_range" class="fn">keychain_outpoints_in_range</a>&lt;'a&gt;(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.keychain_outpoints_in_range" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#739-746">source</a><h4 class="code-header">pub fn <a href="#method.keychain_outpoints_in_range" class="fn">keychain_outpoints_in_range</a>&lt;'a&gt;(
     &amp;'a self,
     range: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/range/trait.RangeBounds.html" title="trait core::ops::range::RangeBounds">RangeBounds</a>&lt;K&gt; + 'a
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html" title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a>&lt;Item = <a class="type" href="type.KeychainIndexed.html" title="type bdk_chain::keychain::KeychainIndexed">KeychainIndexed</a>&lt;K, OutPoint&gt;&gt; + 'a</h4></section></summary><div class="docblock"><p>Iterate over [<code>OutPoint</code>]s that have script pubkeys derived from keychains in <code>range</code>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.last_used_index" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#758-760">source</a><h4 class="code-header">pub fn <a href="#method.last_used_index" class="fn">last_used_index</a>(&amp;self, keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the highest derivation index of the <code>keychain</code> where <a href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex"><code>KeychainTxOutIndex</code></a> has
+</div></details><details class="toggle method-toggle" open><summary><section id="method.last_used_index" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#765-767">source</a><h4 class="code-header">pub fn <a href="#method.last_used_index" class="fn">last_used_index</a>(&amp;self, keychain: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;K</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the highest derivation index of the <code>keychain</code> where <a href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex"><code>KeychainTxOutIndex</code></a> has
 found a [<code>TxOut</code>] with it’s script pubkey.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.last_used_indices" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#764-772">source</a><h4 class="code-header">pub fn <a href="#method.last_used_indices" class="fn">last_used_indices</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;K, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the highest derivation index of each keychain that <a href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex"><code>KeychainTxOutIndex</code></a> has found
+</div></details><details class="toggle method-toggle" open><summary><section id="method.last_used_indices" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#771-779">source</a><h4 class="code-header">pub fn <a href="#method.last_used_indices" class="fn">last_used_indices</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;K, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the highest derivation index of each keychain that <a href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex"><code>KeychainTxOutIndex</code></a> has found
 a [<code>TxOut</code>] with it’s script pubkey.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_changeset" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#779-796">source</a><h4 class="code-header">pub fn <a href="#method.apply_changeset" class="fn">apply_changeset</a>(&amp;mut self, changeset: <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;)</h4></section></summary><div class="docblock"><p>Applies the <code>ChangeSet&lt;K&gt;</code> to the <a href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex"><code>KeychainTxOutIndex&lt;K&gt;</code></a></p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_changeset" class="method"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#786-803">source</a><h4 class="code-header">pub fn <a href="#method.apply_changeset" class="fn">apply_changeset</a>(&amp;mut self, changeset: <a class="struct" href="struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;)</h4></section></summary><div class="docblock"><p>Applies the <code>ChangeSet&lt;K&gt;</code> to the <a href="struct.KeychainTxOutIndex.html" title="struct bdk_chain::keychain::KeychainTxOutIndex"><code>KeychainTxOutIndex&lt;K&gt;</code></a></p>
 <p>Keychains added by the <code>keychains_added</code> field of <code>ChangeSet&lt;K&gt;</code> respect the one-to-one
 keychain &lt;-&gt; descriptor invariant by silently ignoring attempts to violate it (but will
 panic if <code>debug_assertions</code> are enabled).</p>
index 4e7fbadb557a57463de932cbf750cac28543b6a3..26ff821763e29b8c7fa3d5f52548dd707d08b9bd 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="The keychain doesn’t exist. Most likley hasn’t been inserted with `KeychainTxOutIndex::insert_descriptor`."><title>NoSuchKeychain in bdk_chain::keychain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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="../../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">NoSuchKeychain</a></h2><div class="sidebar-elems"><section><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-NoSuchKeychain%3CK%3E">Clone</a></li><li><a href="#impl-Debug-for-NoSuchKeychain%3CK%3E">Debug</a></li><li><a href="#impl-Display-for-NoSuchKeychain%3CK%3E">Display</a></li><li><a href="#impl-Eq-for-NoSuchKeychain%3CK%3E">Eq</a></li><li><a href="#impl-PartialEq-for-NoSuchKeychain%3CK%3E">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-NoSuchKeychain%3CK%3E">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-NoSuchKeychain%3CK%3E">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-NoSuchKeychain%3CK%3E">RefUnwindSafe</a></li><li><a href="#impl-Send-for-NoSuchKeychain%3CK%3E">Send</a></li><li><a href="#impl-Sync-for-NoSuchKeychain%3CK%3E">Sync</a></li><li><a href="#impl-Unpin-for-NoSuchKeychain%3CK%3E">Unpin</a></li><li><a href="#impl-UnwindSafe-for-NoSuchKeychain%3CK%3E">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_chain::keychain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_chain</a>::<wbr><a href="index.html">keychain</a>::<wbr><a class="struct" href="#">NoSuchKeychain</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_chain/keychain/txout_index.rs.html#933">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct NoSuchKeychain&lt;K&gt;(<span class="comment">/* private fields */</span>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The keychain doesn’t exist. Most likley hasn’t been inserted with <a href="struct.KeychainTxOutIndex.html#method.insert_descriptor" title="method bdk_chain::keychain::KeychainTxOutIndex::insert_descriptor"><code>KeychainTxOutIndex::insert_descriptor</code></a>.</p>
-</div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#931">source</a><a href="#impl-Clone-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</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/bdk_chain/keychain/txout_index.rs.html#931">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="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</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-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#931">source</a><a href="#impl-Debug-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#931">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#935-939">source</a><a href="#impl-Display-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#936-938">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-PartialEq-for-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#931">source</a><a href="#impl-PartialEq-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#931">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The keychain doesn’t exist. Most likley hasn’t been inserted with `KeychainTxOutIndex::insert_descriptor`."><title>NoSuchKeychain in bdk_chain::keychain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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="../../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">NoSuchKeychain</a></h2><div class="sidebar-elems"><section><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-NoSuchKeychain%3CK%3E">Clone</a></li><li><a href="#impl-Debug-for-NoSuchKeychain%3CK%3E">Debug</a></li><li><a href="#impl-Display-for-NoSuchKeychain%3CK%3E">Display</a></li><li><a href="#impl-Eq-for-NoSuchKeychain%3CK%3E">Eq</a></li><li><a href="#impl-PartialEq-for-NoSuchKeychain%3CK%3E">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-NoSuchKeychain%3CK%3E">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-NoSuchKeychain%3CK%3E">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-NoSuchKeychain%3CK%3E">RefUnwindSafe</a></li><li><a href="#impl-Send-for-NoSuchKeychain%3CK%3E">Send</a></li><li><a href="#impl-Sync-for-NoSuchKeychain%3CK%3E">Sync</a></li><li><a href="#impl-Unpin-for-NoSuchKeychain%3CK%3E">Unpin</a></li><li><a href="#impl-UnwindSafe-for-NoSuchKeychain%3CK%3E">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_chain::keychain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_chain</a>::<wbr><a href="index.html">keychain</a>::<wbr><a class="struct" href="#">NoSuchKeychain</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_chain/keychain/txout_index.rs.html#940">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct NoSuchKeychain&lt;K&gt;(<span class="comment">/* private fields */</span>);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The keychain doesn’t exist. Most likley hasn’t been inserted with <a href="struct.KeychainTxOutIndex.html#method.insert_descriptor" title="method bdk_chain::keychain::KeychainTxOutIndex::insert_descriptor"><code>KeychainTxOutIndex::insert_descriptor</code></a>.</p>
+</div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#938">source</a><a href="#impl-Clone-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</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/bdk_chain/keychain/txout_index.rs.html#938">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="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</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-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#938">source</a><a href="#impl-Debug-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#938">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#942-946">source</a><a href="#impl-Display-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</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_chain/keychain/txout_index.rs.html#943-945">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-PartialEq-for-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#938">source</a><a href="#impl-PartialEq-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#938">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
 by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
-sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-Eq-for-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#931">source</a><a href="#impl-Eq-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</h3></section><section id="impl-StructuralPartialEq-for-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#931">source</a><a href="#impl-StructuralPartialEq-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-NoSuchKeychain%3CK%3E" class="impl"><a href="#impl-Freeze-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;<div class="where">where
+sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-Eq-for-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#938">source</a><a href="#impl-Eq-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</h3></section><section id="impl-StructuralPartialEq-for-NoSuchKeychain%3CK%3E" class="impl"><a class="src rightside" href="../../src/bdk_chain/keychain/txout_index.rs.html#938">source</a><a href="#impl-StructuralPartialEq-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;</h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-NoSuchKeychain%3CK%3E" class="impl"><a href="#impl-Freeze-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;<div class="where">where
     K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-NoSuchKeychain%3CK%3E" class="impl"><a href="#impl-RefUnwindSafe-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&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.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;<div class="where">where
     K: <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>,</div></h3></section><section id="impl-Send-for-NoSuchKeychain%3CK%3E" class="impl"><a href="#impl-Send-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;<div class="where">where
     K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-NoSuchKeychain%3CK%3E" class="impl"><a href="#impl-Sync-for-NoSuchKeychain%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.NoSuchKeychain.html" title="struct bdk_chain::keychain::NoSuchKeychain">NoSuchKeychain</a>&lt;K&gt;<div class="where">where
index 3ef50c0ac11cd2cd38ade6f39c9ce972e9eac950..0a9d7a6ac8e6e436694429d2f03b0dcb7998a8a5 100644 (file)
@@ -1,32 +1,31 @@
-<!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="Represents the ID of a descriptor, defined as the sha256 hash of the descriptor string, checksum excluded."><title>DescriptorId in bdk_chain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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="../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">DescriptorId</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Tuple Fields</a></h3><ul class="block structfield"><li><a href="#structfield.0">0</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.as_raw_hash">as_raw_hash</a></li><li><a href="#method.from_raw_hash">from_raw_hash</a></li><li><a href="#method.to_raw_hash">to_raw_hash</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-AsRef%3C%5Bu8;+%3C%24hash+as+%24crate::Hash%3E::LEN%5D%3E-for-DescriptorId">AsRef&lt;[u8; 32]&gt;</a></li><li><a href="#impl-AsRef%3C%5Bu8%5D%3E-for-DescriptorId">AsRef&lt;[u8]&gt;</a></li><li><a href="#impl-Borrow%3C%5Bu8%5D%3E-for-DescriptorId">Borrow&lt;[u8]&gt;</a></li><li><a href="#impl-Clone-for-DescriptorId">Clone</a></li><li><a href="#impl-Copy-for-DescriptorId">Copy</a></li><li><a href="#impl-Debug-for-DescriptorId">Debug</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-DescriptorId">Deserialize&lt;&#x27;de&gt;</a></li><li><a href="#impl-Display-for-DescriptorId">Display</a></li><li><a href="#impl-Eq-for-DescriptorId">Eq</a></li><li><a href="#impl-From%3CDescriptorId%3E-for-Hash">From&lt;DescriptorId&gt;</a></li><li><a href="#impl-From%3CHash%3E-for-DescriptorId">From&lt;Hash&gt;</a></li><li><a href="#impl-FromStr-for-DescriptorId">FromStr</a></li><li><a href="#impl-Hash-for-DescriptorId">Hash</a></li><li><a href="#impl-Hash-for-DescriptorId-1">Hash</a></li><li><a href="#impl-Index%3CI%3E-for-DescriptorId">Index&lt;I&gt;</a></li><li><a href="#impl-LowerHex-for-DescriptorId">LowerHex</a></li><li><a href="#impl-Ord-for-DescriptorId">Ord</a></li><li><a href="#impl-PartialEq-for-DescriptorId">PartialEq</a></li><li><a href="#impl-PartialOrd-for-DescriptorId">PartialOrd</a></li><li><a href="#impl-SerdeHash-for-DescriptorId">SerdeHash</a></li><li><a href="#impl-Serialize-for-DescriptorId">Serialize</a></li><li><a href="#impl-StructuralPartialEq-for-DescriptorId">StructuralPartialEq</a></li><li><a href="#impl-UpperHex-for-DescriptorId">UpperHex</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-DescriptorId">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-DescriptorId">RefUnwindSafe</a></li><li><a href="#impl-Send-for-DescriptorId">Send</a></li><li><a href="#impl-Sync-for-DescriptorId">Sync</a></li><li><a href="#impl-Unpin-for-DescriptorId">Unpin</a></li><li><a href="#impl-UnwindSafe-for-DescriptorId">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-DeserializeOwned-for-T">DeserializeOwned</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In crate bdk_chain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="index.html">bdk_chain</a>::<wbr><a class="struct" href="#">DescriptorId</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct DescriptorId(pub Hash);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Represents the ID of a descriptor, defined as the sha256 hash of
-the descriptor string, checksum excluded.</p>
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Represents the unique ID of a descriptor."><title>DescriptorId in bdk_chain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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="../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">DescriptorId</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Tuple Fields</a></h3><ul class="block structfield"><li><a href="#structfield.0">0</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.as_raw_hash">as_raw_hash</a></li><li><a href="#method.from_raw_hash">from_raw_hash</a></li><li><a href="#method.to_raw_hash">to_raw_hash</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-AsRef%3C%5Bu8;+%3C%24hash+as+%24crate::Hash%3E::LEN%5D%3E-for-DescriptorId">AsRef&lt;[u8; 32]&gt;</a></li><li><a href="#impl-AsRef%3C%5Bu8%5D%3E-for-DescriptorId">AsRef&lt;[u8]&gt;</a></li><li><a href="#impl-Borrow%3C%5Bu8%5D%3E-for-DescriptorId">Borrow&lt;[u8]&gt;</a></li><li><a href="#impl-Clone-for-DescriptorId">Clone</a></li><li><a href="#impl-Copy-for-DescriptorId">Copy</a></li><li><a href="#impl-Debug-for-DescriptorId">Debug</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-DescriptorId">Deserialize&lt;&#x27;de&gt;</a></li><li><a href="#impl-Display-for-DescriptorId">Display</a></li><li><a href="#impl-Eq-for-DescriptorId">Eq</a></li><li><a href="#impl-From%3CDescriptorId%3E-for-Hash">From&lt;DescriptorId&gt;</a></li><li><a href="#impl-From%3CHash%3E-for-DescriptorId">From&lt;Hash&gt;</a></li><li><a href="#impl-FromStr-for-DescriptorId">FromStr</a></li><li><a href="#impl-Hash-for-DescriptorId">Hash</a></li><li><a href="#impl-Hash-for-DescriptorId-1">Hash</a></li><li><a href="#impl-Index%3CI%3E-for-DescriptorId">Index&lt;I&gt;</a></li><li><a href="#impl-LowerHex-for-DescriptorId">LowerHex</a></li><li><a href="#impl-Ord-for-DescriptorId">Ord</a></li><li><a href="#impl-PartialEq-for-DescriptorId">PartialEq</a></li><li><a href="#impl-PartialOrd-for-DescriptorId">PartialOrd</a></li><li><a href="#impl-SerdeHash-for-DescriptorId">SerdeHash</a></li><li><a href="#impl-Serialize-for-DescriptorId">Serialize</a></li><li><a href="#impl-StructuralPartialEq-for-DescriptorId">StructuralPartialEq</a></li><li><a href="#impl-UpperHex-for-DescriptorId">UpperHex</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-DescriptorId">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-DescriptorId">RefUnwindSafe</a></li><li><a href="#impl-Send-for-DescriptorId">Send</a></li><li><a href="#impl-Sync-for-DescriptorId">Sync</a></li><li><a href="#impl-Unpin-for-DescriptorId">Unpin</a></li><li><a href="#impl-UnwindSafe-for-DescriptorId">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-DeserializeOwned-for-T">DeserializeOwned</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In crate bdk_chain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="index.html">bdk_chain</a>::<wbr><a class="struct" href="#">DescriptorId</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct DescriptorId(pub Hash);</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Represents the unique ID of a descriptor.</p>
 <p>This is useful for having a fixed-length unique representation of a descriptor,
 in particular, we use it to persist application state changes related to the
 descriptor without having to re-write the whole descriptor each time.</p>
-</div></details><h2 id="fields" class="fields section-header">Tuple Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.0" class="structfield section-header"><a href="#structfield.0" class="anchor field">§</a><code>0: Hash</code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_raw_hash" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><h4 class="code-header">pub fn <a href="#method.from_raw_hash" class="fn">from_raw_hash</a>(inner: Hash) -&gt; <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h4></section></summary><div class="docblock"><p>Creates this wrapper type from the inner hash type.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.to_raw_hash" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><h4 class="code-header">pub fn <a href="#method.to_raw_hash" class="fn">to_raw_hash</a>(self) -&gt; Hash</h4></section></summary><div class="docblock"><p>Returns the inner hash (sha256, sh256d etc.).</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.as_raw_hash" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><h4 class="code-header">pub fn <a href="#method.as_raw_hash" class="fn">as_raw_hash</a>(&amp;self) -&gt; &amp;Hash</h4></section></summary><div class="docblock"><p>Returns a reference to the inner hash (sha256, sh256d etc.).</p>
-</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5Bu8%5D%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-AsRef%3C%5Bu8%5D%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>] <a href="#" class="tooltip" data-notable-ty="&amp;[u8]">ⓘ</a></h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5Bu8;+%3C%24hash+as+%24crate::Hash%3E::LEN%5D%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-AsRef%3C%5Bu8;+%3C%24hash+as+%24crate::Hash%3E::LEN%5D%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">32</a>]&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.as_ref-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">32</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Borrow%3C%5Bu8%5D%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Borrow%3C%5Bu8%5D%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>] <a href="#" class="tooltip" data-notable-ty="&amp;[u8]">ⓘ</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Clone-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</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/bdk_chain/descriptor_ext.rs.html#7-16">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="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</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-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Debug-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-2" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.fmt-2" 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-Deserialize%3C'de%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Deserialize%3C'de%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;D: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;(d: D) -&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.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>, D::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Display-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-3" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.fmt-3" 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-From%3CDescriptorId%3E-for-Hash" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-From%3CDescriptorId%3E-for-Hash" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>&gt; for Hash</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(hashtype: <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>) -&gt; Hash</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CHash%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-From%3CHash%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Hash&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(inner: Hash) -&gt; <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromStr-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-FromStr-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr">FromStr</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Err" class="associatedtype trait-impl"><a href="#associatedtype.Err" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err" class="associatedtype">Err</a> = HexToArrayError</h4></section></summary><div class='docblock'>The associated error which can be returned from parsing.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_str" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.from_str" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str" class="fn">from_str</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>, Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err" title="type core::str::traits::FromStr::Err">Err</a>&gt;</h4></section></summary><div class='docblock'>Parses a string <code>s</code> to return a value of this type. <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Hash-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a>&lt;__H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut __H</a>)</h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#238-240">source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a>&lt;H&gt;(data: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut H</a>)<div class="where">where
+</div></details><h2 id="fields" class="fields section-header">Tuple Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.0" class="structfield section-header"><a href="#structfield.0" class="anchor field">§</a><code>0: Hash</code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_raw_hash" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><h4 class="code-header">pub fn <a href="#method.from_raw_hash" class="fn">from_raw_hash</a>(inner: Hash) -&gt; <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h4></section></summary><div class="docblock"><p>Creates this wrapper type from the inner hash type.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.to_raw_hash" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><h4 class="code-header">pub fn <a href="#method.to_raw_hash" class="fn">to_raw_hash</a>(self) -&gt; Hash</h4></section></summary><div class="docblock"><p>Returns the inner hash (sha256, sh256d etc.).</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.as_raw_hash" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><h4 class="code-header">pub fn <a href="#method.as_raw_hash" class="fn">as_raw_hash</a>(&amp;self) -&gt; &amp;Hash</h4></section></summary><div class="docblock"><p>Returns a reference to the inner hash (sha256, sh256d etc.).</p>
+</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5Bu8%5D%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-AsRef%3C%5Bu8%5D%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>] <a href="#" class="tooltip" data-notable-ty="&amp;[u8]">ⓘ</a></h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3C%5Bu8;+%3C%24hash+as+%24crate::Hash%3E::LEN%5D%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-AsRef%3C%5Bu8;+%3C%24hash+as+%24crate::Hash%3E::LEN%5D%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">32</a>]&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.as_ref-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">32</a>]</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Borrow%3C%5Bu8%5D%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Borrow%3C%5Bu8%5D%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>] <a href="#" class="tooltip" data-notable-ty="&amp;[u8]">ⓘ</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Clone-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</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/bdk_chain/descriptor_ext.rs.html#4-12">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="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</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-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Debug-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-2" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.fmt-2" 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-Deserialize%3C'de%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Deserialize%3C'de%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;D: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;(d: D) -&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.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>, D::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Display-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-3" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.fmt-3" 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-From%3CDescriptorId%3E-for-Hash" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-From%3CDescriptorId%3E-for-Hash" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>&gt; for Hash</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(hashtype: <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>) -&gt; Hash</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CHash%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-From%3CHash%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Hash&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(inner: Hash) -&gt; <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromStr-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-FromStr-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr">FromStr</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Err" class="associatedtype trait-impl"><a href="#associatedtype.Err" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err" class="associatedtype">Err</a> = HexToArrayError</h4></section></summary><div class='docblock'>The associated error which can be returned from parsing.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_str" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.from_str" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str" class="fn">from_str</a>(s: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>, Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err" title="type core::str::traits::FromStr::Err">Err</a>&gt;</h4></section></summary><div class='docblock'>Parses a string <code>s</code> to return a value of this type. <a href="https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Hash-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a>&lt;__H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut __H</a>)</h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#238-240">source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a>&lt;H&gt;(data: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut H</a>)<div class="where">where
     H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
-    Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-DescriptorId-1" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Hash-for-DescriptorId-1" class="anchor">§</a><h3 class="code-header">impl Hash for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Engine" class="associatedtype trait-impl"><a href="#associatedtype.Engine" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Engine</a> = &lt;Hash as Hash&gt;::Engine</h4></section></summary><div class='docblock'>A hashing engine which bytes can be serialized into. It is expected
+    Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-DescriptorId-1" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Hash-for-DescriptorId-1" class="anchor">§</a><h3 class="code-header">impl Hash for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Engine" class="associatedtype trait-impl"><a href="#associatedtype.Engine" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Engine</a> = &lt;Hash as Hash&gt;::Engine</h4></section></summary><div class='docblock'>A hashing engine which bytes can be serialized into. It is expected
 to implement the <code>io::Write</code> trait, and to never return errors under
-any conditions.</div></details><details class="toggle" open><summary><section id="associatedtype.Bytes" class="associatedtype trait-impl"><a href="#associatedtype.Bytes" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Bytes</a> = &lt;Hash as Hash&gt;::Bytes</h4></section></summary><div class='docblock'>The byte array that represents the hash internally.</div></details><details class="toggle" open><summary><section id="associatedconstant.LEN" class="associatedconstant trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#associatedconstant.LEN" class="anchor">§</a><h4 class="code-header">const <a class="constant">LEN</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a> = 32usize</h4></section></summary><div class='docblock'>Length of the hash, in bytes.</div></details><details class="toggle" open><summary><section id="associatedconstant.DISPLAY_BACKWARD" class="associatedconstant trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#associatedconstant.DISPLAY_BACKWARD" class="anchor">§</a><h4 class="code-header">const <a class="constant">DISPLAY_BACKWARD</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> = false</h4></section></summary><div class='docblock'>Flag indicating whether user-visible serializations of this hash
+any conditions.</div></details><details class="toggle" open><summary><section id="associatedtype.Bytes" class="associatedtype trait-impl"><a href="#associatedtype.Bytes" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Bytes</a> = &lt;Hash as Hash&gt;::Bytes</h4></section></summary><div class='docblock'>The byte array that represents the hash internally.</div></details><details class="toggle" open><summary><section id="associatedconstant.LEN" class="associatedconstant trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#associatedconstant.LEN" class="anchor">§</a><h4 class="code-header">const <a class="constant">LEN</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a> = 32usize</h4></section></summary><div class='docblock'>Length of the hash, in bytes.</div></details><details class="toggle" open><summary><section id="associatedconstant.DISPLAY_BACKWARD" class="associatedconstant trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#associatedconstant.DISPLAY_BACKWARD" class="anchor">§</a><h4 class="code-header">const <a class="constant">DISPLAY_BACKWARD</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> = false</h4></section></summary><div class='docblock'>Flag indicating whether user-visible serializations of this hash
 should be backward. For some reason Satoshi decided this should be
-true for <code>Sha256dHash</code>, so here we are.</div></details><details class="toggle method-toggle" open><summary><section id="method.engine" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.engine" class="anchor">§</a><h4 class="code-header">fn <a class="fn">engine</a>() -&gt; Self::Engine</h4></section></summary><div class='docblock'>Constructs a new engine.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_engine" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.from_engine" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_engine</a>(e: Self::Engine) -&gt; Self</h4></section></summary><div class='docblock'>Produces a hash from the current state of a given engine.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_slice" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.from_slice" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_slice</a>(sl: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</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="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>, FromSliceError&gt;</h4></section></summary><div class='docblock'>Copies a byte slice into a hash object.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_byte_array" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.from_byte_array" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_byte_array</a>(bytes: Self::Bytes) -&gt; Self</h4></section></summary><div class='docblock'>Constructs a hash from the underlying byte array.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_byte_array" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.to_byte_array" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_byte_array</a>(self) -&gt; Self::Bytes</h4></section></summary><div class='docblock'>Returns the underlying byte array.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_byte_array" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.as_byte_array" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_byte_array</a>(&amp;self) -&gt; &amp;Self::Bytes</h4></section></summary><div class='docblock'>Returns a reference to the underlying byte array.</div></details><details class="toggle method-toggle" open><summary><section id="method.all_zeros" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.all_zeros" class="anchor">§</a><h4 class="code-header">fn <a class="fn">all_zeros</a>() -&gt; Self</h4></section></summary><div class='docblock'>Returns an all zero hash. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash-1" class="method trait-impl"><a href="#method.hash-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">hash</a>(data: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]) -&gt; Self</h4></section></summary><div class='docblock'>Hashes some bytes.</div></details><details class="toggle method-toggle" open><summary><section id="method.hash_byte_chunks" class="method trait-impl"><a href="#method.hash_byte_chunks" class="anchor">§</a><h4 class="code-header">fn <a class="fn">hash_byte_chunks</a>&lt;B, I&gt;(byte_slices: I) -&gt; Self<div class="where">where
+true for <code>Sha256dHash</code>, so here we are.</div></details><details class="toggle method-toggle" open><summary><section id="method.engine" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.engine" class="anchor">§</a><h4 class="code-header">fn <a class="fn">engine</a>() -&gt; Self::Engine</h4></section></summary><div class='docblock'>Constructs a new engine.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_engine" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.from_engine" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_engine</a>(e: Self::Engine) -&gt; Self</h4></section></summary><div class='docblock'>Produces a hash from the current state of a given engine.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_slice" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.from_slice" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_slice</a>(sl: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</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="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>, FromSliceError&gt;</h4></section></summary><div class='docblock'>Copies a byte slice into a hash object.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_byte_array" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.from_byte_array" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_byte_array</a>(bytes: Self::Bytes) -&gt; Self</h4></section></summary><div class='docblock'>Constructs a hash from the underlying byte array.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_byte_array" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.to_byte_array" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_byte_array</a>(self) -&gt; Self::Bytes</h4></section></summary><div class='docblock'>Returns the underlying byte array.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_byte_array" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.as_byte_array" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_byte_array</a>(&amp;self) -&gt; &amp;Self::Bytes</h4></section></summary><div class='docblock'>Returns a reference to the underlying byte array.</div></details><details class="toggle method-toggle" open><summary><section id="method.all_zeros" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.all_zeros" class="anchor">§</a><h4 class="code-header">fn <a class="fn">all_zeros</a>() -&gt; Self</h4></section></summary><div class='docblock'>Returns an all zero hash. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash-1" class="method trait-impl"><a href="#method.hash-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">hash</a>(data: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]) -&gt; Self</h4></section></summary><div class='docblock'>Hashes some bytes.</div></details><details class="toggle method-toggle" open><summary><section id="method.hash_byte_chunks" class="method trait-impl"><a href="#method.hash_byte_chunks" class="anchor">§</a><h4 class="code-header">fn <a class="fn">hash_byte_chunks</a>&lt;B, I&gt;(byte_slices: I) -&gt; Self<div class="where">where
     B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt;,
-    I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = B&gt;,</div></h4></section></summary><div class='docblock'>Hashes all the byte slices retrieved from the iterator together.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Index%3CI%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Index%3CI%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl&lt;I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/slice/index/trait.SliceIndex.html" title="trait core::slice::index::SliceIndex">SliceIndex</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a>&lt;I&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output" class="associatedtype">Output</a> = &lt;I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/slice/index/trait.SliceIndex.html" title="trait core::slice::index::SliceIndex">SliceIndex</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/slice/index/trait.SliceIndex.html#associatedtype.Output" title="type core::slice::index::SliceIndex::Output">Output</a></h4></section></summary><div class='docblock'>The returned type after indexing.</div></details><details class="toggle method-toggle" open><summary><section id="method.index" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.index" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index" class="fn">index</a>(&amp;self, index: I) -&gt; &amp;Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output" title="type core::ops::index::Index::Output">Output</a></h4></section></summary><div class='docblock'>Performs the indexing (<code>container[index]</code>) operation. <a href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LowerHex-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-LowerHex-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html" title="trait core::fmt::LowerHex">LowerHex</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</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_chain/descriptor_ext.rs.html#7-16">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.LowerHex.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.LowerHex.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Ord-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&amp;self, other: &amp;<a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#856-858">source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -&gt; Self<div class="where">where
+    I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = B&gt;,</div></h4></section></summary><div class='docblock'>Hashes all the byte slices retrieved from the iterator together.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Index%3CI%3E-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Index%3CI%3E-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl&lt;I: <a class="trait" href="https://doc.rust-lang.org/nightly/core/slice/index/trait.SliceIndex.html" title="trait core::slice::index::SliceIndex">SliceIndex</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt;&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html" title="trait core::ops::index::Index">Index</a>&lt;I&gt; for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output" class="associatedtype">Output</a> = &lt;I as <a class="trait" href="https://doc.rust-lang.org/nightly/core/slice/index/trait.SliceIndex.html" title="trait core::slice::index::SliceIndex">SliceIndex</a>&lt;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/slice/index/trait.SliceIndex.html#associatedtype.Output" title="type core::slice::index::SliceIndex::Output">Output</a></h4></section></summary><div class='docblock'>The returned type after indexing.</div></details><details class="toggle method-toggle" open><summary><section id="method.index" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.index" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index" class="fn">index</a>(&amp;self, index: I) -&gt; &amp;Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#associatedtype.Output" title="type core::ops::index::Index::Output">Output</a></h4></section></summary><div class='docblock'>Performs the indexing (<code>container[index]</code>) operation. <a href="https://doc.rust-lang.org/nightly/core/ops/index/trait.Index.html#tymethod.index">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LowerHex-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-LowerHex-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html" title="trait core::fmt::LowerHex">LowerHex</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</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_chain/descriptor_ext.rs.html#4-12">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.LowerHex.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.LowerHex.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Ord-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&amp;self, other: &amp;<a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#856-858">source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -&gt; Self<div class="where">where
     Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#877-879">source</a></span><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min" class="fn">min</a>(self, other: Self) -&gt; Self<div class="where">where
     Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.50.0">1.50.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#902-905">source</a></span><a href="#method.clamp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -&gt; Self<div class="where">where
-    Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-PartialEq-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
+    Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-PartialEq-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
 by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
-sufficient, and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-PartialOrd-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&amp;self, other: &amp;<a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>&gt;</h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1179">source</a></span><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1197">source</a></span><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;=</code>
+sufficient, and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-PartialOrd-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&amp;self, other: &amp;<a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>&gt;</h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1179">source</a></span><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1197">source</a></span><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;=</code>
 operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1214">source</a></span><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1232">source</a></span><a href="#method.ge" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;=</code>
-operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SerdeHash-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-SerdeHash-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl SerdeHash for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.N" class="associatedconstant trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#associatedconstant.N" class="anchor">§</a><h4 class="code-header">const <a class="constant">N</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a> = 32usize</h4></section></summary><div class='docblock'>Size, in bits, of the hash.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_slice_delegated" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.from_slice_delegated" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_slice_delegated</a>(sl: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</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, FromSliceError&gt;</h4></section></summary><div class='docblock'>Helper function to turn a deserialized slice into the correct hash type.</div></details><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a class="fn">serialize</a>&lt;S&gt;(
+operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SerdeHash-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-SerdeHash-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl SerdeHash for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.N" class="associatedconstant trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#associatedconstant.N" class="anchor">§</a><h4 class="code-header">const <a class="constant">N</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a> = 32usize</h4></section></summary><div class='docblock'>Size, in bits, of the hash.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_slice_delegated" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.from_slice_delegated" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_slice_delegated</a>(sl: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</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, FromSliceError&gt;</h4></section></summary><div class='docblock'>Helper function to turn a deserialized slice into the correct hash type.</div></details><details class="toggle method-toggle" open><summary><section id="method.serialize" class="method trait-impl"><a href="#method.serialize" class="anchor">§</a><h4 class="code-header">fn <a class="fn">serialize</a>&lt;S&gt;(
     &amp;self,
     s: S
 ) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&lt;S as <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, &lt;S as <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;<div class="where">where
     S: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><div class='docblock'>Do serde serialization.</div></details><details class="toggle method-toggle" open><summary><section id="method.deserialize-1" class="method trait-impl"><a href="#method.deserialize-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">deserialize</a>&lt;'de, D&gt;(d: D) -&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, &lt;D as <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
-    D: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Do serde deserialization.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Serialize-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#method.serialize-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;S: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>&gt;(&amp;self, s: S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;S::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, S::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UpperHex-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-UpperHex-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html" title="trait core::fmt::UpperHex">UpperHex</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</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_chain/descriptor_ext.rs.html#7-16">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.UpperHex.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.UpperHex.html#tymethod.fmt">Read more</a></div></details></div></details><section id="impl-Copy-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Copy-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-Eq-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-Eq-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-StructuralPartialEq-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#7-16">source</a><a href="#impl-StructuralPartialEq-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-DescriptorId" class="impl"><a href="#impl-Freeze-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-RefUnwindSafe-for-DescriptorId" class="impl"><a href="#impl-RefUnwindSafe-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-Send-for-DescriptorId" class="impl"><a href="#impl-Send-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-Sync-for-DescriptorId" class="impl"><a href="#impl-Sync-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-Unpin-for-DescriptorId" class="impl"><a href="#impl-Unpin-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-UnwindSafe-for-DescriptorId" class="impl"><a href="#impl-UnwindSafe-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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
+    D: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Do serde deserialization.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Serialize-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Serialize-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.serialize-1" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#method.serialize-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize" class="fn">serialize</a>&lt;S: <a class="trait" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>&gt;(&amp;self, s: S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;S::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, S::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UpperHex-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-UpperHex-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html" title="trait core::fmt::UpperHex">UpperHex</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</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_chain/descriptor_ext.rs.html#4-12">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.UpperHex.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.UpperHex.html#tymethod.fmt">Read more</a></div></details></div></details><section id="impl-Copy-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Copy-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-Eq-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-Eq-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-StructuralPartialEq-for-DescriptorId" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#4-12">source</a><a href="#impl-StructuralPartialEq-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-DescriptorId" class="impl"><a href="#impl-Freeze-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-RefUnwindSafe-for-DescriptorId" class="impl"><a href="#impl-RefUnwindSafe-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-Send-for-DescriptorId" class="impl"><a href="#impl-Send-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-Sync-for-DescriptorId" class="impl"><a href="#impl-Sync-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-Unpin-for-DescriptorId" class="impl"><a href="#impl-Unpin-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section><section id="impl-UnwindSafe-for-DescriptorId" class="impl"><a href="#impl-UnwindSafe-for-DescriptorId" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&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#208">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
     T: ?<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.borrow-1" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%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.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
     T: ?<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.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%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/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
index b5144ce3ce65036d918ccdcb87d8aabcd1751284..026ab45beb686ee45f99f75f0b1e8914cf39b363 100644 (file)
@@ -75,4 +75,4 @@
     T7: <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a>,
     T8: <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a>,
     T9: <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a>,
-    T10: <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a>,</div></h3></section></summary><div class="impl-items"><section id="method.append-12" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#194">source</a><a href="#method.append-12" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.append" class="fn">append</a>(&amp;mut self, _other: Self)</h4></section><section id="method.is_empty-12" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#194">source</a><a href="#method.is_empty-12" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.is_empty" class="fn">is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Append-for-Vec%3CT%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#158-166">source</a><a href="#impl-Append-for-Vec%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="method.append-13" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#159-161">source</a><a href="#method.append-13" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.append" class="fn">append</a>(&amp;mut self, other: Self)</h4></section><section id="method.is_empty-13" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#163-165">source</a><a href="#method.is_empty-13" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.is_empty" class="fn">is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Append-for-BTreeSet%3CT%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#146-156">source</a><a href="#impl-Append-for-BTreeSet%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="method.append-14" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#147-151">source</a><a href="#method.append-14" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.append" class="fn">append</a>(&amp;mut self, other: Self)</h4></section><section id="method.is_empty-14" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#153-155">source</a><a href="#method.is_empty-14" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.is_empty" class="fn">is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Append-for-ChangeSet%3CA%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/tx_graph.rs.html#1284-1308">source</a><a href="#impl-Append-for-ChangeSet%3CA%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for bdk_chain::tx_graph::<a class="struct" href="tx_graph/struct.ChangeSet.html" title="struct bdk_chain::tx_graph::ChangeSet">ChangeSet</a>&lt;A&gt;</h3></section><section id="impl-Append-for-ChangeSet%3CA,+IA%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/indexed_tx_graph.rs.html#302-311">source</a><a href="#impl-Append-for-ChangeSet%3CA,+IA%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A: <a class="trait" href="trait.Anchor.html" title="trait bdk_chain::Anchor">Anchor</a>, IA: <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for bdk_chain::indexed_tx_graph::<a class="struct" href="indexed_tx_graph/struct.ChangeSet.html" title="struct bdk_chain::indexed_tx_graph::ChangeSet">ChangeSet</a>&lt;A, IA&gt;</h3></section><section id="impl-Append-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/keychain/txout_index.rs.html#878-920">source</a><a href="#impl-Append-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for bdk_chain::keychain::<a class="struct" href="keychain/struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section><section id="impl-Append-for-CombinedChangeSet%3CK,+A%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/changeset.rs.html#36-52">source</a><a href="#impl-Append-for-CombinedChangeSet%3CK,+A%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>, A: <a class="trait" href="trait.Anchor.html" title="trait bdk_chain::Anchor">Anchor</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for <a class="struct" href="struct.CombinedChangeSet.html" title="struct bdk_chain::CombinedChangeSet">CombinedChangeSet</a>&lt;K, A&gt;</h3></section></div><script src="../trait.impl/bdk_chain/tx_data_traits/trait.Append.js" data-ignore-extern-crates="alloc,std" async></script></section></div></main></body></html>
\ No newline at end of file
+    T10: <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a>,</div></h3></section></summary><div class="impl-items"><section id="method.append-12" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#194">source</a><a href="#method.append-12" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.append" class="fn">append</a>(&amp;mut self, _other: Self)</h4></section><section id="method.is_empty-12" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#194">source</a><a href="#method.is_empty-12" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.is_empty" class="fn">is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Append-for-Vec%3CT%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#158-166">source</a><a href="#impl-Append-for-Vec%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="method.append-13" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#159-161">source</a><a href="#method.append-13" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.append" class="fn">append</a>(&amp;mut self, other: Self)</h4></section><section id="method.is_empty-13" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#163-165">source</a><a href="#method.is_empty-13" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.is_empty" class="fn">is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Append-for-BTreeSet%3CT%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#146-156">source</a><a href="#impl-Append-for-BTreeSet%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;T&gt;</h3></section></summary><div class="impl-items"><section id="method.append-14" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#147-151">source</a><a href="#method.append-14" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.append" class="fn">append</a>(&amp;mut self, other: Self)</h4></section><section id="method.is_empty-14" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/tx_data_traits.rs.html#153-155">source</a><a href="#method.is_empty-14" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.is_empty" class="fn">is_empty</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Append-for-ChangeSet%3CA%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/tx_graph.rs.html#1284-1308">source</a><a href="#impl-Append-for-ChangeSet%3CA%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for bdk_chain::tx_graph::<a class="struct" href="tx_graph/struct.ChangeSet.html" title="struct bdk_chain::tx_graph::ChangeSet">ChangeSet</a>&lt;A&gt;</h3></section><section id="impl-Append-for-ChangeSet%3CA,+IA%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/indexed_tx_graph.rs.html#302-311">source</a><a href="#impl-Append-for-ChangeSet%3CA,+IA%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A: <a class="trait" href="trait.Anchor.html" title="trait bdk_chain::Anchor">Anchor</a>, IA: <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for bdk_chain::indexed_tx_graph::<a class="struct" href="indexed_tx_graph/struct.ChangeSet.html" title="struct bdk_chain::indexed_tx_graph::ChangeSet">ChangeSet</a>&lt;A, IA&gt;</h3></section><section id="impl-Append-for-ChangeSet%3CK%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/keychain/txout_index.rs.html#885-927">source</a><a href="#impl-Append-for-ChangeSet%3CK%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for bdk_chain::keychain::<a class="struct" href="keychain/struct.ChangeSet.html" title="struct bdk_chain::keychain::ChangeSet">ChangeSet</a>&lt;K&gt;</h3></section><section id="impl-Append-for-CombinedChangeSet%3CK,+A%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/changeset.rs.html#36-52">source</a><a href="#impl-Append-for-CombinedChangeSet%3CK,+A%3E" class="anchor">§</a><h3 class="code-header">impl&lt;K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>, A: <a class="trait" href="trait.Anchor.html" title="trait bdk_chain::Anchor">Anchor</a>&gt; <a class="trait" href="trait.Append.html" title="trait bdk_chain::Append">Append</a> for <a class="struct" href="struct.CombinedChangeSet.html" title="struct bdk_chain::CombinedChangeSet">CombinedChangeSet</a>&lt;K, A&gt;</h3></section></div><script src="../trait.impl/bdk_chain/tx_data_traits/trait.Append.js" data-ignore-extern-crates="alloc,std" async></script></section></div></main></body></html>
\ No newline at end of file
index f0b22fbe88d7e06be6f61537933125ff78dd787e..bae07519b4b3ad37a6b405e93dc09d8209624064 100644 (file)
@@ -1,10 +1,10 @@
-<!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 trait to extend the functionality of a miniscript descriptor."><title>DescriptorExt in bdk_chain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">DescriptorExt</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.descriptor_id">descriptor_id</a></li><li><a href="#tymethod.dust_value">dust_value</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E">Descriptor&lt;DescriptorPublicKey&gt;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In crate bdk_chain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="index.html">bdk_chain</a>::<wbr><a class="trait" href="#">DescriptorExt</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/bdk_chain/descriptor_ext.rs.html#19-27">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 DescriptorExt {
+<!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 trait to extend the functionality of a miniscript descriptor."><title>DescriptorExt in bdk_chain - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bdk_chain" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../bdk_chain/index.html">bdk_chain</a><span class="version">0.16.0</span></h2></div><h2 class="location"><a href="#">DescriptorExt</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.descriptor_id">descriptor_id</a></li><li><a href="#tymethod.dust_value">dust_value</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E">Descriptor&lt;DescriptorPublicKey&gt;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In crate bdk_chain</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Trait <a href="index.html">bdk_chain</a>::<wbr><a class="trait" href="#">DescriptorExt</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/bdk_chain/descriptor_ext.rs.html#15-23">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 DescriptorExt {
     // Required methods
     fn <a href="#tymethod.dust_value" class="fn">dust_value</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
 <span class="item-spacer"></span>    fn <a href="#tymethod.descriptor_id" class="fn">descriptor_id</a>(&amp;self) -&gt; <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a>;
 }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A trait to extend the functionality of a miniscript descriptor.</p>
-</div></details><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.dust_value" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#22">source</a><h4 class="code-header">fn <a href="#tymethod.dust_value" class="fn">dust_value</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Returns the minimum value (in satoshis) at which an output is broadcastable.
+</div></details><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.dust_value" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#18">source</a><h4 class="code-header">fn <a href="#tymethod.dust_value" class="fn">dust_value</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Returns the minimum value (in satoshis) at which an output is broadcastable.
 Panics if the descriptor wildcard is hardened.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.descriptor_id" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#26">source</a><h4 class="code-header">fn <a href="#tymethod.descriptor_id" class="fn">descriptor_id</a>(&amp;self) -&gt; <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h4></section></summary><div class="docblock"><p>Returns the descriptor id, calculated as the sha256 of the descriptor, checksum not
-included.</p>
-</div></details></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-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#29-44">source</a><a href="#impl-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.DescriptorExt.html" title="trait bdk_chain::DescriptorExt">DescriptorExt</a> for Descriptor&lt;DescriptorPublicKey&gt;</h3></section></summary><div class="impl-items"><section id="method.dust_value" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#30-36">source</a><a href="#method.dust_value" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.dust_value" class="fn">dust_value</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section><section id="method.descriptor_id" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#38-43">source</a><a href="#method.descriptor_id" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.descriptor_id" class="fn">descriptor_id</a>(&amp;self) -&gt; <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../trait.impl/bdk_chain/descriptor_ext/trait.DescriptorExt.js" data-ignore-extern-crates="miniscript" async></script></section></div></main></body></html>
\ No newline at end of file
+</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.descriptor_id" class="method"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#22">source</a><h4 class="code-header">fn <a href="#tymethod.descriptor_id" class="fn">descriptor_id</a>(&amp;self) -&gt; <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h4></section></summary><div class="docblock"><p>Returns the descriptor ID, calculated as the sha256 hash of the spk derived from the
+descriptor at index 0.</p>
+</div></details></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-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E" class="impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#25-38">source</a><a href="#impl-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.DescriptorExt.html" title="trait bdk_chain::DescriptorExt">DescriptorExt</a> for Descriptor&lt;DescriptorPublicKey&gt;</h3></section></summary><div class="impl-items"><section id="method.dust_value" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#26-32">source</a><a href="#method.dust_value" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.dust_value" class="fn">dust_value</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section><section id="method.descriptor_id" class="method trait-impl"><a class="src rightside" href="../src/bdk_chain/descriptor_ext.rs.html#34-37">source</a><a href="#method.descriptor_id" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.descriptor_id" class="fn">descriptor_id</a>(&amp;self) -&gt; <a class="struct" href="struct.DescriptorId.html" title="struct bdk_chain::DescriptorId">DescriptorId</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../trait.impl/bdk_chain/descriptor_ext/trait.DescriptorExt.js" data-ignore-extern-crates="miniscript" async></script></section></div></main></body></html>
\ No newline at end of file
index 23f7c101ca2d376ae28355446b4e6caf60e94a26..bde82db2b2d0c19bdc424a7993c4c53c38d1f409 100644 (file)
@@ -237,8 +237,8 @@ default(0x02) y-coordinate.</p>
 </div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Descriptor%3CPk%3E" class="impl"><a href="#impl-Clone-for-Descriptor%3CPk%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Pk&gt; <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.Descriptor.html" title="enum bdk_wallet::descriptor::Descriptor">Descriptor</a>&lt;Pk&gt;<div class="where">where
     Pk: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + MiniscriptKey,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><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.Descriptor.html" title="enum bdk_wallet::descriptor::Descriptor">Descriptor</a>&lt;Pk&gt;</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-Descriptor%3CPk%3E" class="impl"><a href="#impl-Debug-for-Descriptor%3CPk%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Pk&gt; <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.Descriptor.html" title="enum bdk_wallet::descriptor::Descriptor">Descriptor</a>&lt;Pk&gt;<div class="where">where
     Pk: MiniscriptKey,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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="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>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</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-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E" class="impl"><a href="#impl-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E" class="anchor">§</a><h3 class="code-header">impl DescriptorExt for <a class="enum" href="enum.Descriptor.html" title="enum bdk_wallet::descriptor::Descriptor">Descriptor</a>&lt;<a class="enum" href="../keys/enum.DescriptorPublicKey.html" title="enum bdk_wallet::keys::DescriptorPublicKey">DescriptorPublicKey</a>&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.dust_value" class="method trait-impl"><a href="#method.dust_value" class="anchor">§</a><h4 class="code-header">fn <a class="fn">dust_value</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h4></section></summary><div class='docblock'>Returns the minimum value (in satoshis) at which an output is broadcastable.
-Panics if the descriptor wildcard is hardened.</div></details><details class="toggle method-toggle" open><summary><section id="method.descriptor_id" class="method trait-impl"><a href="#method.descriptor_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">descriptor_id</a>(&amp;self) -&gt; DescriptorId</h4></section></summary><div class='docblock'>Returns the descriptor id, calculated as the sha256 of the descriptor, checksum not
-included.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-Descriptor%3CPk%3E" class="impl"><a href="#impl-Deserialize%3C'de%3E-for-Descriptor%3CPk%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'de, Pk&gt; <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="enum" href="enum.Descriptor.html" title="enum bdk_wallet::descriptor::Descriptor">Descriptor</a>&lt;Pk&gt;<div class="where">where
+Panics if the descriptor wildcard is hardened.</div></details><details class="toggle method-toggle" open><summary><section id="method.descriptor_id" class="method trait-impl"><a href="#method.descriptor_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">descriptor_id</a>(&amp;self) -&gt; DescriptorId</h4></section></summary><div class='docblock'>Returns the descriptor ID, calculated as the sha256 hash of the spk derived from the
+descriptor at index 0.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-Descriptor%3CPk%3E" class="impl"><a href="#impl-Deserialize%3C'de%3E-for-Descriptor%3CPk%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'de, Pk&gt; <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="enum" href="enum.Descriptor.html" title="enum bdk_wallet::descriptor::Descriptor">Descriptor</a>&lt;Pk&gt;<div class="where">where
     Pk: FromStrKey,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a>&lt;D&gt;(
     deserializer: D
 ) -&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="enum" href="enum.Descriptor.html" title="enum bdk_wallet::descriptor::Descriptor">Descriptor</a>&lt;Pk&gt;, &lt;D as <a class="trait" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;&gt;::<a class="associatedtype" href="https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt;<div class="where">where
index 611c868b4075208f5528848cda305cb04df2a733..b93c5626a29046f38f46789ea8d60b95b5d88280 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="An error that may occur when applying a block to `Wallet`."><title>ApplyBlockError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">ApplyBlockError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.CannotConnect">CannotConnect</a></li><li><a href="#variant.UnexpectedConnectedToHash">UnexpectedConnectedToHash</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-ApplyBlockError">Debug</a></li><li><a href="#impl-Display-for-ApplyBlockError">Display</a></li><li><a href="#impl-Error-for-ApplyBlockError">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-ApplyBlockError">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-ApplyBlockError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ApplyBlockError">Send</a></li><li><a href="#impl-Sync-for-ApplyBlockError">Sync</a></li><li><a href="#impl-Unpin-for-ApplyBlockError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ApplyBlockError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">ApplyBlockError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#321-331">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 ApplyBlockError {
+<!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="An error that may occur when applying a block to `Wallet`."><title>ApplyBlockError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">ApplyBlockError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.CannotConnect">CannotConnect</a></li><li><a href="#variant.UnexpectedConnectedToHash">UnexpectedConnectedToHash</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-ApplyBlockError">Debug</a></li><li><a href="#impl-Display-for-ApplyBlockError">Display</a></li><li><a href="#impl-Error-for-ApplyBlockError">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-ApplyBlockError">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-ApplyBlockError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ApplyBlockError">Send</a></li><li><a href="#impl-Sync-for-ApplyBlockError">Sync</a></li><li><a href="#impl-Unpin-for-ApplyBlockError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ApplyBlockError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">ApplyBlockError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#324-334">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 ApplyBlockError {
     CannotConnect(CannotConnectError),
     UnexpectedConnectedToHash {
         connected_to_hash: BlockHash,
@@ -9,7 +9,7 @@
 </div><section id="variant.UnexpectedConnectedToHash" class="variant"><a href="#variant.UnexpectedConnectedToHash" class="anchor">§</a><h3 class="code-header">UnexpectedConnectedToHash</h3></section><div class="docblock"><p>Occurs when the <code>connected_to</code> hash does not match the hash derived from <code>block</code>.</p>
 </div><div class="sub-variant" id="variant.UnexpectedConnectedToHash.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.UnexpectedConnectedToHash.field.connected_to_hash" class="section-header"><a href="#variant.UnexpectedConnectedToHash.field.connected_to_hash" class="anchor field">§</a><code>connected_to_hash: BlockHash</code></span><div class="docblock"><p>Block hash of <code>connected_to</code>.</p>
 </div></div><div class="sub-variant-field"><span id="variant.UnexpectedConnectedToHash.field.expected_hash" class="section-header"><a href="#variant.UnexpectedConnectedToHash.field.expected_hash" class="anchor field">§</a><code>expected_hash: BlockHash</code></span><div class="docblock"><p>Expected block hash of <code>connected_to</code>, as derived from <code>block</code>.</p>
-</div></div></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-ApplyBlockError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#320">source</a><a href="#impl-Debug-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</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/mod.rs.html#320">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-ApplyBlockError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#333-347">source</a><a href="#impl-Display-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</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/mod.rs.html#334-346">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-ApplyBlockError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#350">source</a><a href="#impl-Error-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</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#84">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'>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#110">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#120">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#184">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-ApplyBlockError" class="impl"><a href="#impl-Freeze-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-RefUnwindSafe-for-ApplyBlockError" class="impl"><a href="#impl-RefUnwindSafe-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-Send-for-ApplyBlockError" class="impl"><a href="#impl-Send-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-Sync-for-ApplyBlockError" class="impl"><a href="#impl-Sync-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-Unpin-for-ApplyBlockError" class="impl"><a href="#impl-Unpin-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-UnwindSafe-for-ApplyBlockError" class="impl"><a href="#impl-UnwindSafe-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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
+</div></div></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-ApplyBlockError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#323">source</a><a href="#impl-Debug-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</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/mod.rs.html#323">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-ApplyBlockError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#336-350">source</a><a href="#impl-Display-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</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/mod.rs.html#337-349">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-ApplyBlockError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#353">source</a><a href="#impl-Error-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</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#84">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'>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#110">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#120">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#184">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-ApplyBlockError" class="impl"><a href="#impl-Freeze-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-RefUnwindSafe-for-ApplyBlockError" class="impl"><a href="#impl-RefUnwindSafe-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-Send-for-ApplyBlockError" class="impl"><a href="#impl-Send-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-Sync-for-ApplyBlockError" class="impl"><a href="#impl-Sync-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-Unpin-for-ApplyBlockError" class="impl"><a href="#impl-Unpin-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section><section id="impl-UnwindSafe-for-ApplyBlockError" class="impl"><a href="#impl-UnwindSafe-for-ApplyBlockError" 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.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&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#208">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
     T: ?<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.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%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.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
     T: ?<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.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%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/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
index 42433db64805522fcd7adeee4144bdf7776a0d03..6624c325b39cda4c08c0d973a95cb10be2e5b079 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="An error that may occur when inserting a transaction into `Wallet`."><title>InsertTxError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">InsertTxError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.ConfirmationHeightCannotBeGreaterThanTip">ConfirmationHeightCannotBeGreaterThanTip</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-InsertTxError">Debug</a></li><li><a href="#impl-Display-for-InsertTxError">Display</a></li><li><a href="#impl-Error-for-InsertTxError">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-InsertTxError">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-InsertTxError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-InsertTxError">Send</a></li><li><a href="#impl-Sync-for-InsertTxError">Sync</a></li><li><a href="#impl-Unpin-for-InsertTxError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-InsertTxError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">InsertTxError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#292-301">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 InsertTxError {
+<!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="An error that may occur when inserting a transaction into `Wallet`."><title>InsertTxError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">InsertTxError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.ConfirmationHeightCannotBeGreaterThanTip">ConfirmationHeightCannotBeGreaterThanTip</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-InsertTxError">Debug</a></li><li><a href="#impl-Display-for-InsertTxError">Display</a></li><li><a href="#impl-Error-for-InsertTxError">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-InsertTxError">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-InsertTxError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-InsertTxError">Send</a></li><li><a href="#impl-Sync-for-InsertTxError">Sync</a></li><li><a href="#impl-Unpin-for-InsertTxError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-InsertTxError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">InsertTxError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#295-304">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 InsertTxError {
     ConfirmationHeightCannotBeGreaterThanTip {
         tip_height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
         tx_height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
@@ -8,7 +8,7 @@
 confirmation height that is greater than the internal chain tip.</p>
 </div><div class="sub-variant" id="variant.ConfirmationHeightCannotBeGreaterThanTip.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.ConfirmationHeightCannotBeGreaterThanTip.field.tip_height" class="section-header"><a href="#variant.ConfirmationHeightCannotBeGreaterThanTip.field.tip_height" class="anchor field">§</a><code>tip_height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span><div class="docblock"><p>The internal chain’s tip height.</p>
 </div></div><div class="sub-variant-field"><span id="variant.ConfirmationHeightCannotBeGreaterThanTip.field.tx_height" class="section-header"><a href="#variant.ConfirmationHeightCannotBeGreaterThanTip.field.tx_height" class="anchor field">§</a><code>tx_height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span><div class="docblock"><p>The introduced transaction’s confirmation height.</p>
-</div></div></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-InsertTxError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#291">source</a><a href="#impl-Debug-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</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/mod.rs.html#291">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-InsertTxError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#303-314">source</a><a href="#impl-Display-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</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/mod.rs.html#304-313">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-InsertTxError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#317">source</a><a href="#impl-Error-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</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#84">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'>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#110">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#120">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#184">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-InsertTxError" class="impl"><a href="#impl-Freeze-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-RefUnwindSafe-for-InsertTxError" class="impl"><a href="#impl-RefUnwindSafe-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-Send-for-InsertTxError" class="impl"><a href="#impl-Send-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-Sync-for-InsertTxError" class="impl"><a href="#impl-Sync-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-Unpin-for-InsertTxError" class="impl"><a href="#impl-Unpin-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-UnwindSafe-for-InsertTxError" class="impl"><a href="#impl-UnwindSafe-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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
+</div></div></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-InsertTxError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#294">source</a><a href="#impl-Debug-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</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/mod.rs.html#294">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-InsertTxError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#306-317">source</a><a href="#impl-Display-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</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/mod.rs.html#307-316">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-InsertTxError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#320">source</a><a href="#impl-Error-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</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#84">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'>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#110">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#120">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#184">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-InsertTxError" class="impl"><a href="#impl-Freeze-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-RefUnwindSafe-for-InsertTxError" class="impl"><a href="#impl-RefUnwindSafe-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-Send-for-InsertTxError" class="impl"><a href="#impl-Send-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-Sync-for-InsertTxError" class="impl"><a href="#impl-Sync-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-Unpin-for-InsertTxError" class="impl"><a href="#impl-Unpin-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section><section id="impl-UnwindSafe-for-InsertTxError" class="impl"><a href="#impl-UnwindSafe-for-InsertTxError" 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.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&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#208">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
     T: ?<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.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%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.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
     T: ?<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.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%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/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
index de064db0c1ffd656d19d1a1424d32c948174ec4e..e5a256ffa8f01cd02fa8778c5b2f191ee4b66768 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The error type when loading a `Wallet` from a `ChangeSet`."><title>LoadError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">LoadError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Descriptor">Descriptor</a></li><li><a href="#variant.MissingDescriptor">MissingDescriptor</a></li><li><a href="#variant.MissingGenesis">MissingGenesis</a></li><li><a href="#variant.MissingNetwork">MissingNetwork</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-LoadError">Debug</a></li><li><a href="#impl-Display-for-LoadError">Display</a></li><li><a href="#impl-Error-for-LoadError">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-LoadError">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-LoadError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-LoadError">Send</a></li><li><a href="#impl-Sync-for-LoadError">Sync</a></li><li><a href="#impl-Unpin-for-LoadError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-LoadError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">LoadError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#206-215">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 LoadError {
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The error type when loading a `Wallet` from a `ChangeSet`."><title>LoadError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">LoadError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Descriptor">Descriptor</a></li><li><a href="#variant.MissingDescriptor">MissingDescriptor</a></li><li><a href="#variant.MissingGenesis">MissingGenesis</a></li><li><a href="#variant.MissingNetwork">MissingNetwork</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-LoadError">Debug</a></li><li><a href="#impl-Display-for-LoadError">Display</a></li><li><a href="#impl-Error-for-LoadError">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-LoadError">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-LoadError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-LoadError">Send</a></li><li><a href="#impl-Sync-for-LoadError">Sync</a></li><li><a href="#impl-Unpin-for-LoadError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-LoadError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">LoadError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#209-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 enum LoadError {
     Descriptor(<a class="enum" href="../descriptor/error/enum.Error.html" title="enum bdk_wallet::descriptor::error::Error">DescriptorError</a>),
     MissingNetwork,
     MissingGenesis,
@@ -9,7 +9,7 @@
 </div><section id="variant.MissingNetwork" class="variant"><a href="#variant.MissingNetwork" class="anchor">§</a><h3 class="code-header">MissingNetwork</h3></section><div class="docblock"><p>Data loaded from persistence is missing network type.</p>
 </div><section id="variant.MissingGenesis" class="variant"><a href="#variant.MissingGenesis" class="anchor">§</a><h3 class="code-header">MissingGenesis</h3></section><div class="docblock"><p>Data loaded from persistence is missing genesis hash.</p>
 </div><section id="variant.MissingDescriptor" class="variant"><a href="#variant.MissingDescriptor" class="anchor">§</a><h3 class="code-header">MissingDescriptor(<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>)</h3></section><div class="docblock"><p>Data loaded from persistence is missing descriptor.</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-LoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#205">source</a><a href="#impl-Debug-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</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/mod.rs.html#205">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-LoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#217-228">source</a><a href="#impl-Display-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</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/mod.rs.html#218-227">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-LoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#231">source</a><a href="#impl-Error-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</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#84">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'>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#110">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#120">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#184">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-LoadError" class="impl"><a href="#impl-Freeze-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-RefUnwindSafe-for-LoadError" class="impl"><a href="#impl-RefUnwindSafe-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-Send-for-LoadError" class="impl"><a href="#impl-Send-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-Sync-for-LoadError" class="impl"><a href="#impl-Sync-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-Unpin-for-LoadError" class="impl"><a href="#impl-Unpin-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-UnwindSafe-for-LoadError" class="impl"><a href="#impl-UnwindSafe-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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
+</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-LoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#208">source</a><a href="#impl-Debug-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</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/mod.rs.html#208">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-LoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#220-231">source</a><a href="#impl-Display-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</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/mod.rs.html#221-230">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-LoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#234">source</a><a href="#impl-Error-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</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#84">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'>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#110">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#120">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#184">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-LoadError" class="impl"><a href="#impl-Freeze-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-RefUnwindSafe-for-LoadError" class="impl"><a href="#impl-RefUnwindSafe-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-Send-for-LoadError" class="impl"><a href="#impl-Send-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-Sync-for-LoadError" class="impl"><a href="#impl-Sync-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-Unpin-for-LoadError" class="impl"><a href="#impl-Unpin-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section><section id="impl-UnwindSafe-for-LoadError" class="impl"><a href="#impl-UnwindSafe-for-LoadError" 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.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&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#208">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
     T: ?<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.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%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.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
     T: ?<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.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%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/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
index 27447c0ef8199ad98dd58f2c7068a241abd6fbd2..67a633d57073fe60bbe9e73d1d069b0abd7aa4eb 100644 (file)
@@ -1,9 +1,9 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The error type when constructing a fresh `Wallet`."><title>NewError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">NewError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Descriptor">Descriptor</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-NewError">Debug</a></li><li><a href="#impl-Display-for-NewError">Display</a></li><li><a href="#impl-Error-for-NewError">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-NewError">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-NewError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-NewError">Send</a></li><li><a href="#impl-Sync-for-NewError">Sync</a></li><li><a href="#impl-Unpin-for-NewError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-NewError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">NewError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#184-187">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 NewError {
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The error type when constructing a fresh `Wallet`."><title>NewError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">NewError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Descriptor">Descriptor</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-NewError">Debug</a></li><li><a href="#impl-Display-for-NewError">Display</a></li><li><a href="#impl-Error-for-NewError">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-NewError">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-NewError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-NewError">Send</a></li><li><a href="#impl-Sync-for-NewError">Sync</a></li><li><a href="#impl-Unpin-for-NewError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-NewError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">NewError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#187-190">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 NewError {
     Descriptor(<a class="enum" href="../descriptor/error/enum.Error.html" title="enum bdk_wallet::descriptor::error::Error">DescriptorError</a>),
 }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The error type when constructing a fresh <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a>.</p>
 <p>Methods <a href="struct.Wallet.html#method.new" title="associated function bdk_wallet::wallet::Wallet::new"><code>new</code></a> and <a href="struct.Wallet.html#method.new_with_genesis_hash" title="associated function bdk_wallet::wallet::Wallet::new_with_genesis_hash"><code>new_with_genesis_hash</code></a> may return this error.</p>
 </div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Descriptor" class="variant"><a href="#variant.Descriptor" class="anchor">§</a><h3 class="code-header">Descriptor(<a class="enum" href="../descriptor/error/enum.Error.html" title="enum bdk_wallet::descriptor::error::Error">DescriptorError</a>)</h3></section><div class="docblock"><p>There was problem with the passed-in descriptor(s).</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-NewError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#183">source</a><a href="#impl-Debug-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</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/mod.rs.html#183">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-NewError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#189-195">source</a><a href="#impl-Display-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</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/mod.rs.html#190-194">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-NewError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#198">source</a><a href="#impl-Error-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</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#84">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'>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#110">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#120">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#184">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-NewError" class="impl"><a href="#impl-Freeze-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-RefUnwindSafe-for-NewError" class="impl"><a href="#impl-RefUnwindSafe-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-Send-for-NewError" class="impl"><a href="#impl-Send-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-Sync-for-NewError" class="impl"><a href="#impl-Sync-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-Unpin-for-NewError" class="impl"><a href="#impl-Unpin-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-UnwindSafe-for-NewError" class="impl"><a href="#impl-UnwindSafe-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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
+</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-NewError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#186">source</a><a href="#impl-Debug-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</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/mod.rs.html#186">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-NewError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#192-198">source</a><a href="#impl-Display-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</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/mod.rs.html#193-197">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-NewError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#201">source</a><a href="#impl-Error-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</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#84">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'>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#110">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#120">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#184">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-NewError" class="impl"><a href="#impl-Freeze-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-RefUnwindSafe-for-NewError" class="impl"><a href="#impl-RefUnwindSafe-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-Send-for-NewError" class="impl"><a href="#impl-Send-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-Sync-for-NewError" class="impl"><a href="#impl-Sync-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-Unpin-for-NewError" class="impl"><a href="#impl-Unpin-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section><section id="impl-UnwindSafe-for-NewError" class="impl"><a href="#impl-UnwindSafe-for-NewError" 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.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&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#208">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
     T: ?<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.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%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.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
     T: ?<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.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%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/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
index cb5f77aaa6937064ee70e29b31fda80b771a9268..74be9d37be0a3724202e3dd9f3f04418f3d343c4 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Error type for when we try load a `Wallet` from persistence and creating it if non-existent."><title>NewOrLoadError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">NewOrLoadError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Descriptor">Descriptor</a></li><li><a href="#variant.LoadedDescriptorDoesNotMatch">LoadedDescriptorDoesNotMatch</a></li><li><a href="#variant.LoadedGenesisDoesNotMatch">LoadedGenesisDoesNotMatch</a></li><li><a href="#variant.LoadedNetworkDoesNotMatch">LoadedNetworkDoesNotMatch</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-NewOrLoadError">Debug</a></li><li><a href="#impl-Display-for-NewOrLoadError">Display</a></li><li><a href="#impl-Error-for-NewOrLoadError">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-NewOrLoadError">!Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-NewOrLoadError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-NewOrLoadError">Send</a></li><li><a href="#impl-Sync-for-NewOrLoadError">Sync</a></li><li><a href="#impl-Unpin-for-NewOrLoadError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-NewOrLoadError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">NewOrLoadError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#240-264">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 NewOrLoadError {
+<!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 type for when we try load a `Wallet` from persistence and creating it if non-existent."><title>NewOrLoadError in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc 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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">NewOrLoadError</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Descriptor">Descriptor</a></li><li><a href="#variant.LoadedDescriptorDoesNotMatch">LoadedDescriptorDoesNotMatch</a></li><li><a href="#variant.LoadedGenesisDoesNotMatch">LoadedGenesisDoesNotMatch</a></li><li><a href="#variant.LoadedNetworkDoesNotMatch">LoadedNetworkDoesNotMatch</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-NewOrLoadError">Debug</a></li><li><a href="#impl-Display-for-NewOrLoadError">Display</a></li><li><a href="#impl-Error-for-NewOrLoadError">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-NewOrLoadError">!Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-NewOrLoadError">RefUnwindSafe</a></li><li><a href="#impl-Send-for-NewOrLoadError">Send</a></li><li><a href="#impl-Sync-for-NewOrLoadError">Sync</a></li><li><a href="#impl-Unpin-for-NewOrLoadError">Unpin</a></li><li><a href="#impl-UnwindSafe-for-NewOrLoadError">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="enum" href="#">NewOrLoadError</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#243-267">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 NewOrLoadError {
     Descriptor(<a class="enum" href="../descriptor/error/enum.Error.html" title="enum bdk_wallet::descriptor::error::Error">DescriptorError</a>),
     LoadedGenesisDoesNotMatch {
         expected: BlockHash,
@@ -24,7 +24,7 @@
 </div></div></div><section id="variant.LoadedDescriptorDoesNotMatch" class="variant"><a href="#variant.LoadedDescriptorDoesNotMatch" class="anchor">§</a><h3 class="code-header">LoadedDescriptorDoesNotMatch</h3></section><div class="docblock"><p>The loaded desccriptor does not match what was provided.</p>
 </div><div class="sub-variant" id="variant.LoadedDescriptorDoesNotMatch.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.LoadedDescriptorDoesNotMatch.field.got" class="section-header"><a href="#variant.LoadedDescriptorDoesNotMatch.field.got" class="anchor field">§</a><code>got: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="type" href="../descriptor/type.ExtendedDescriptor.html" title="type bdk_wallet::descriptor::ExtendedDescriptor">ExtendedDescriptor</a>&gt;</code></span><div class="docblock"><p>The descriptor loaded from persistence.</p>
 </div></div><div class="sub-variant-field"><span id="variant.LoadedDescriptorDoesNotMatch.field.keychain" class="section-header"><a href="#variant.LoadedDescriptorDoesNotMatch.field.keychain" class="anchor field">§</a><code>keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a></code></span><div class="docblock"><p>The keychain of the descriptor not matching</p>
-</div></div></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-NewOrLoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#239">source</a><a href="#impl-Debug-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</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/mod.rs.html#239">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-NewOrLoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#266-285">source</a><a href="#impl-Display-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</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/mod.rs.html#267-284">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-NewOrLoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#288">source</a><a href="#impl-Error-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</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#84">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'>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#110">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#120">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#184">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-NewOrLoadError" class="impl"><a href="#impl-Freeze-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-RefUnwindSafe-for-NewOrLoadError" class="impl"><a href="#impl-RefUnwindSafe-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-Send-for-NewOrLoadError" class="impl"><a href="#impl-Send-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-Sync-for-NewOrLoadError" class="impl"><a href="#impl-Sync-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-Unpin-for-NewOrLoadError" class="impl"><a href="#impl-Unpin-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-UnwindSafe-for-NewOrLoadError" class="impl"><a href="#impl-UnwindSafe-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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
+</div></div></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-NewOrLoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#242">source</a><a href="#impl-Debug-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</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/mod.rs.html#242">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&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-NewOrLoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#269-288">source</a><a href="#impl-Display-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</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/mod.rs.html#270-287">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&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-NewOrLoadError" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#291">source</a><a href="#impl-Error-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</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#84">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'>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#110">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#120">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#184">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-NewOrLoadError" class="impl"><a href="#impl-Freeze-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-RefUnwindSafe-for-NewOrLoadError" class="impl"><a href="#impl-RefUnwindSafe-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-Send-for-NewOrLoadError" class="impl"><a href="#impl-Send-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-Sync-for-NewOrLoadError" class="impl"><a href="#impl-Sync-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-Unpin-for-NewOrLoadError" class="impl"><a href="#impl-Unpin-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section><section id="impl-UnwindSafe-for-NewOrLoadError" class="impl"><a href="#impl-UnwindSafe-for-NewOrLoadError" 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.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&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#208">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
     T: ?<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.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%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.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
     T: ?<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.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%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/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
index ea0105c6d6679803a77ed0e8e787b35e44bdcb1e..ea05de2ac49383460db4e67babad4f10b899b50a 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Deterministically generate a unique name given the descriptors defining the wallet"><title>wallet_name_from_descriptor in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="fn" href="#">wallet_name_from_descriptor</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#2451-2477">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn wallet_name_from_descriptor&lt;T&gt;(
+<!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="Deterministically generate a unique name given the descriptors defining the wallet"><title>wallet_name_from_descriptor in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="fn" href="#">wallet_name_from_descriptor</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#2454-2480">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn wallet_name_from_descriptor&lt;T&gt;(
     descriptor: T,
     change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt;,
     network: Network,
index cf88fd6a8b5753ac20b6223aa95c3461470ed0f6..416f618b943fa183fa1b727cca734abb095339ad 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Wallet"><title>bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">Module wallet</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In crate bdk_wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">bdk_wallet</a>::<wbr><a class="mod" href="#">wallet</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#12-2574">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Wallet</p>
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Wallet"><title>bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">Module wallet</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section><h2><a href="../index.html">In crate bdk_wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">bdk_wallet</a>::<wbr><a class="mod" href="#">wallet</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#12-2577">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Wallet</p>
 <p>This module defines the <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a>.</p>
 </div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="coin_selection/index.html" title="mod bdk_wallet::wallet::coin_selection">coin_selection</a></div><div class="desc docblock-short">Coin selection</div></li><li><div class="item-name"><a class="mod" href="error/index.html" title="mod bdk_wallet::wallet::error">error</a></div><div class="desc docblock-short">Errors that can be thrown by the <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a></div></li><li><div class="item-name"><a class="mod" href="export/index.html" title="mod bdk_wallet::wallet::export">export</a></div><div class="desc docblock-short">Wallet export</div></li><li><div class="item-name"><a class="mod" href="signer/index.html" title="mod bdk_wallet::wallet::signer">signer</a></div><div class="desc docblock-short">Generalized signers</div></li><li><div class="item-name"><a class="mod" href="tx_builder/index.html" title="mod bdk_wallet::wallet::tx_builder">tx_builder</a></div><div class="desc docblock-short">Transaction builder</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></div><div class="desc docblock-short">A derived address and the index it was found at.
 For convenience this automatically derefs to <code>Address</code></div></li><li><div class="item-name"><a class="struct" href="struct.Balance.html" title="struct bdk_wallet::wallet::Balance">Balance</a></div><div class="desc docblock-short">Balance, differentiated into various categories.</div></li><li><div class="item-name"><a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></div><div class="desc docblock-short">An update to <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></div><div class="desc docblock-short">A Bitcoin wallet</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.ApplyBlockError.html" title="enum bdk_wallet::wallet::ApplyBlockError">ApplyBlockError</a></div><div class="desc docblock-short">An error that may occur when applying a block to <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a>.</div></li><li><div class="item-name"><a class="enum" href="enum.InsertTxError.html" title="enum bdk_wallet::wallet::InsertTxError">InsertTxError</a></div><div class="desc docblock-short">An error that may occur when inserting a transaction into <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a>.</div></li><li><div class="item-name"><a class="enum" href="enum.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a></div><div class="desc docblock-short">The error type when loading a <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a> from a <a href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet"><code>ChangeSet</code></a>.</div></li><li><div class="item-name"><a class="enum" href="enum.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a></div><div class="desc docblock-short">The error type when constructing a fresh <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a>.</div></li><li><div class="item-name"><a class="enum" href="enum.NewOrLoadError.html" title="enum bdk_wallet::wallet::NewOrLoadError">NewOrLoadError</a></div><div class="desc docblock-short">Error type for when we try load a <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a> from persistence and creating it if non-existent.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.IsDust.html" title="trait bdk_wallet::wallet::IsDust">IsDust</a></div><div class="desc docblock-short">Trait to check if a value is below the dust limit.
index 794d4830320bc5d782fbd5f8e0171aec6b9ad7cc..ce63b902cdf1a58bdf17bbf1c280a4fbe2b301ec 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A derived address and the index it was found at. For convenience this automatically derefs to `Address`"><title>AddressInfo in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">AddressInfo</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.address">address</a></li><li><a href="#structfield.index">index</a></li><li><a href="#structfield.keychain">keychain</a></li></ul><h3><a href="#deref-methods-Address">Methods from Deref&lt;Target=Address&gt;</a></h3><ul class="block deref-methods"><li><a href="#method.address_type">address_type</a></li><li><a href="#method.as_unchecked">as_unchecked</a></li><li><a href="#method.assume_checked_ref">assume_checked_ref</a></li><li><a href="#method.is_related_to_pubkey">is_related_to_pubkey</a></li><li><a href="#method.is_related_to_xonly_pubkey">is_related_to_xonly_pubkey</a></li><li><a href="#method.is_spend_standard">is_spend_standard</a></li><li><a href="#method.is_valid_for_network">is_valid_for_network</a></li><li><a href="#method.matches_script_pubkey">matches_script_pubkey</a></li><li><a href="#method.pubkey_hash">pubkey_hash</a></li><li><a href="#method.script_hash">script_hash</a></li><li><a href="#method.script_pubkey">script_pubkey</a></li><li><a href="#method.to_address_data">to_address_data</a></li><li><a href="#method.to_qr_uri">to_qr_uri</a></li><li><a href="#method.witness_program">witness_program</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-AddressInfo">Debug</a></li><li><a href="#impl-Deref-for-AddressInfo">Deref</a></li><li><a href="#impl-Display-for-AddressInfo">Display</a></li><li><a href="#impl-Eq-for-AddressInfo">Eq</a></li><li><a href="#impl-PartialEq-for-AddressInfo">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-AddressInfo">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-AddressInfo">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-AddressInfo">RefUnwindSafe</a></li><li><a href="#impl-Send-for-AddressInfo">Send</a></li><li><a href="#impl-Sync-for-AddressInfo">Sync</a></li><li><a href="#impl-Unpin-for-AddressInfo">Unpin</a></li><li><a href="#impl-UnwindSafe-for-AddressInfo">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="struct" href="#">AddressInfo</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#154-161">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct AddressInfo {
+<!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 derived address and the index it was found at. For convenience this automatically derefs to `Address`"><title>AddressInfo in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">AddressInfo</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.address">address</a></li><li><a href="#structfield.index">index</a></li><li><a href="#structfield.keychain">keychain</a></li></ul><h3><a href="#deref-methods-Address">Methods from Deref&lt;Target=Address&gt;</a></h3><ul class="block deref-methods"><li><a href="#method.address_type">address_type</a></li><li><a href="#method.as_unchecked">as_unchecked</a></li><li><a href="#method.assume_checked_ref">assume_checked_ref</a></li><li><a href="#method.is_related_to_pubkey">is_related_to_pubkey</a></li><li><a href="#method.is_related_to_xonly_pubkey">is_related_to_xonly_pubkey</a></li><li><a href="#method.is_spend_standard">is_spend_standard</a></li><li><a href="#method.is_valid_for_network">is_valid_for_network</a></li><li><a href="#method.matches_script_pubkey">matches_script_pubkey</a></li><li><a href="#method.pubkey_hash">pubkey_hash</a></li><li><a href="#method.script_hash">script_hash</a></li><li><a href="#method.script_pubkey">script_pubkey</a></li><li><a href="#method.to_address_data">to_address_data</a></li><li><a href="#method.to_qr_uri">to_qr_uri</a></li><li><a href="#method.witness_program">witness_program</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-AddressInfo">Debug</a></li><li><a href="#impl-Deref-for-AddressInfo">Deref</a></li><li><a href="#impl-Display-for-AddressInfo">Display</a></li><li><a href="#impl-Eq-for-AddressInfo">Eq</a></li><li><a href="#impl-PartialEq-for-AddressInfo">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-AddressInfo">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-AddressInfo">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-AddressInfo">RefUnwindSafe</a></li><li><a href="#impl-Send-for-AddressInfo">Send</a></li><li><a href="#impl-Sync-for-AddressInfo">Sync</a></li><li><a href="#impl-Unpin-for-AddressInfo">Unpin</a></li><li><a href="#impl-UnwindSafe-for-AddressInfo">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="struct" href="#">AddressInfo</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#157-164">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct AddressInfo {
     pub index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
     pub address: Address,
     pub keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>,
@@ -68,9 +68,9 @@ network a simple comparison is not enough anymore. Instead this function can be
 <span class="kw">let </span>address: Address&lt;NetworkUnchecked&gt; = <span class="string">"32iVBEu4dxkUQk9dJbZUiBiQdmypcEyJRf"</span>.parse().unwrap();
 <span class="macro">assert!</span>(address.is_valid_for_network(Network::Bitcoin));
 <span class="macro">assert_eq!</span>(address.is_valid_for_network(Network::Testnet), <span class="bool-val">false</span>);</code></pre></div>
-</div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#153">source</a><a href="#impl-Debug-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</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/mod.rs.html#153">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-Deref-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#163-169">source</a><a href="#impl-Deref-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = Address</h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#166-168">source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#171-175">source</a><a href="#impl-Display-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</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/mod.rs.html#172-174">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-PartialEq-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#153">source</a><a href="#impl-PartialEq-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#153">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
+</div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#156">source</a><a href="#impl-Debug-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</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/mod.rs.html#156">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-Deref-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#166-172">source</a><a href="#impl-Deref-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Target" class="associatedtype trait-impl"><a href="#associatedtype.Target" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" class="associatedtype">Target</a> = Address</h4></section></summary><div class='docblock'>The resulting type after dereferencing.</div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#169-171">source</a><a href="#method.deref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref" class="fn">deref</a>(&amp;self) -&gt; &amp;Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target" title="type core::ops::deref::Deref::Target">Target</a></h4></section></summary><div class='docblock'>Dereferences the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#174-178">source</a><a href="#impl-Display-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</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/mod.rs.html#175-177">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-PartialEq-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#156">source</a><a href="#impl-PartialEq-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#156">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
 by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
-sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-Eq-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#153">source</a><a href="#impl-Eq-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-StructuralPartialEq-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#153">source</a><a href="#impl-StructuralPartialEq-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-AddressInfo" class="impl"><a href="#impl-Freeze-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-RefUnwindSafe-for-AddressInfo" class="impl"><a href="#impl-RefUnwindSafe-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-Send-for-AddressInfo" class="impl"><a href="#impl-Send-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-Sync-for-AddressInfo" class="impl"><a href="#impl-Sync-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-Unpin-for-AddressInfo" class="impl"><a href="#impl-Unpin-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-UnwindSafe-for-AddressInfo" class="impl"><a href="#impl-UnwindSafe-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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
+sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-Eq-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#156">source</a><a href="#impl-Eq-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-StructuralPartialEq-for-AddressInfo" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#156">source</a><a href="#impl-StructuralPartialEq-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-AddressInfo" class="impl"><a href="#impl-Freeze-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-RefUnwindSafe-for-AddressInfo" class="impl"><a href="#impl-RefUnwindSafe-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-Send-for-AddressInfo" class="impl"><a href="#impl-Send-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-Sync-for-AddressInfo" class="impl"><a href="#impl-Sync-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-Unpin-for-AddressInfo" class="impl"><a href="#impl-Unpin-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section><section id="impl-UnwindSafe-for-AddressInfo" class="impl"><a href="#impl-UnwindSafe-for-AddressInfo" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&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#208">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
     T: ?<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.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%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.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
     T: ?<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.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%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/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
index 5c6f7b91ec6b15fd9268796e90f4d77a3daa73ae..5f4aa6ce2515e654352c0620a9556df1a0db8685 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="An update to `Wallet`."><title>Update in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">Update</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.chain">chain</a></li><li><a href="#structfield.graph">graph</a></li><li><a href="#structfield.last_active_indices">last_active_indices</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-Update">Clone</a></li><li><a href="#impl-Debug-for-Update">Debug</a></li><li><a href="#impl-Default-for-Update">Default</a></li><li><a href="#impl-From%3CFullScanResult%3CKeychainKind%3E%3E-for-Update">From&lt;FullScanResult&lt;KeychainKind&gt;&gt;</a></li><li><a href="#impl-From%3CSyncResult%3E-for-Update">From&lt;SyncResult&gt;</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Update">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Update">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Update">Send</a></li><li><a href="#impl-Sync-for-Update">Sync</a></li><li><a href="#impl-Unpin-for-Update">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Update">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="struct" href="#">Update</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#114-126">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Update {
+<!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="An update to `Wallet`."><title>Update in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">Update</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.chain">chain</a></li><li><a href="#structfield.graph">graph</a></li><li><a href="#structfield.last_active_indices">last_active_indices</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-Update">Clone</a></li><li><a href="#impl-Debug-for-Update">Debug</a></li><li><a href="#impl-Default-for-Update">Default</a></li><li><a href="#impl-From%3CFullScanResult%3CKeychainKind%3E%3E-for-Update">From&lt;FullScanResult&lt;KeychainKind&gt;&gt;</a></li><li><a href="#impl-From%3CSyncResult%3E-for-Update">From&lt;SyncResult&gt;</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Update">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Update">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Update">Send</a></li><li><a href="#impl-Sync-for-Update">Sync</a></li><li><a href="#impl-Unpin-for-Update">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Update">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><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-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="struct" href="#">Update</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#117-129">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Update {
     pub last_active_indices: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;,
     pub graph: TxGraph&lt;ConfirmationTimeHeightAnchor&gt;,
     pub chain: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;CheckPoint&gt;,
@@ -8,7 +8,7 @@
 [<code>KeychainTxOutIndex</code>].</p>
 </div><span id="structfield.graph" class="structfield section-header"><a href="#structfield.graph" class="anchor field">§</a><code>graph: TxGraph&lt;ConfirmationTimeHeightAnchor&gt;</code></span><div class="docblock"><p>Update for the wallet’s internal [<code>TxGraph</code>].</p>
 </div><span id="structfield.chain" class="structfield section-header"><a href="#structfield.chain" class="anchor field">§</a><code>chain: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;CheckPoint&gt;</code></span><div class="docblock"><p>Update for the wallet’s internal <a href="local_chain::LocalChain"><code>LocalChain</code></a>.</p>
-</div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#113">source</a><a href="#impl-Clone-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</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/bdk_wallet/wallet/mod.rs.html#113">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="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</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-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#113">source</a><a href="#impl-Debug-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</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/mod.rs.html#113">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-Default-for-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#113">source</a><a href="#impl-Default-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#113">source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -&gt; <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFullScanResult%3CKeychainKind%3E%3E-for-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#128-136">source</a><a href="#impl-From%3CFullScanResult%3CKeychainKind%3E%3E-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;FullScanResult&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>&gt;&gt; for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#129-135">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: FullScanResult&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>&gt;) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CSyncResult%3E-for-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#138-146">source</a><a href="#impl-From%3CSyncResult%3E-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;SyncResult&gt; for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#139-145">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: SyncResult) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Update" class="impl"><a href="#impl-Freeze-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-RefUnwindSafe-for-Update" class="impl"><a href="#impl-RefUnwindSafe-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-Send-for-Update" class="impl"><a href="#impl-Send-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-Sync-for-Update" class="impl"><a href="#impl-Sync-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-Unpin-for-Update" class="impl"><a href="#impl-Unpin-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-UnwindSafe-for-Update" class="impl"><a href="#impl-UnwindSafe-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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
+</div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#116">source</a><a href="#impl-Clone-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</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/bdk_wallet/wallet/mod.rs.html#116">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="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</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-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#116">source</a><a href="#impl-Debug-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</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/mod.rs.html#116">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-Default-for-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#116">source</a><a href="#impl-Default-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#116">source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -&gt; <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFullScanResult%3CKeychainKind%3E%3E-for-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#131-139">source</a><a href="#impl-From%3CFullScanResult%3CKeychainKind%3E%3E-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;FullScanResult&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>&gt;&gt; for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#132-138">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: FullScanResult&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>&gt;) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CSyncResult%3E-for-Update" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#141-149">source</a><a href="#impl-From%3CSyncResult%3E-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;SyncResult&gt; for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#142-148">source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(value: SyncResult) -&gt; Self</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Update" class="impl"><a href="#impl-Freeze-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-RefUnwindSafe-for-Update" class="impl"><a href="#impl-RefUnwindSafe-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-Send-for-Update" class="impl"><a href="#impl-Send-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-Sync-for-Update" class="impl"><a href="#impl-Sync-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-Unpin-for-Update" class="impl"><a href="#impl-Unpin-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section><section id="impl-UnwindSafe-for-Update" class="impl"><a href="#impl-UnwindSafe-for-Update" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&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#208">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
     T: ?<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.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%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.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
     T: ?<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.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%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/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
index 8d3c7fa3276882742e4a7e951cc2d8709e26f5ed..078e64d03633470e879702f3164ce6a05a0c30aa 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A Bitcoin wallet"><title>Wallet in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">Wallet</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.add_signer">add_signer</a></li><li><a href="#method.all_unbounded_spk_iters">all_unbounded_spk_iters</a></li><li><a href="#method.apply_block">apply_block</a></li><li><a href="#method.apply_block_connected_to">apply_block_connected_to</a></li><li><a href="#method.apply_unconfirmed_txs">apply_unconfirmed_txs</a></li><li><a href="#method.apply_update">apply_update</a></li><li><a href="#method.balance">balance</a></li><li><a href="#method.build_fee_bump">build_fee_bump</a></li><li><a href="#method.build_tx">build_tx</a></li><li><a href="#method.calculate_fee">calculate_fee</a></li><li><a href="#method.calculate_fee_rate">calculate_fee_rate</a></li><li><a href="#method.cancel_tx">cancel_tx</a></li><li><a href="#method.checkpoints">checkpoints</a></li><li><a href="#method.derivation_index">derivation_index</a></li><li><a href="#method.derivation_of_spk">derivation_of_spk</a></li><li><a href="#method.descriptor_checksum">descriptor_checksum</a></li><li><a href="#method.finalize_psbt">finalize_psbt</a></li><li><a href="#method.get_descriptor_for_keychain">get_descriptor_for_keychain</a></li><li><a href="#method.get_psbt_input">get_psbt_input</a></li><li><a href="#method.get_signers">get_signers</a></li><li><a href="#method.get_tx">get_tx</a></li><li><a href="#method.get_utxo">get_utxo</a></li><li><a href="#method.insert_checkpoint">insert_checkpoint</a></li><li><a href="#method.insert_tx">insert_tx</a></li><li><a href="#method.insert_txout">insert_txout</a></li><li><a href="#method.is_mine">is_mine</a></li><li><a href="#method.keychains">keychains</a></li><li><a href="#method.latest_checkpoint">latest_checkpoint</a></li><li><a href="#method.list_output">list_output</a></li><li><a href="#method.list_unspent">list_unspent</a></li><li><a href="#method.list_unused_addresses">list_unused_addresses</a></li><li><a href="#method.load_from_changeset">load_from_changeset</a></li><li><a href="#method.local_chain">local_chain</a></li><li><a href="#method.mark_used">mark_used</a></li><li><a href="#method.network">network</a></li><li><a href="#method.new">new</a></li><li><a href="#method.new_or_load">new_or_load</a></li><li><a href="#method.new_or_load_with_genesis_hash">new_or_load_with_genesis_hash</a></li><li><a href="#method.new_with_genesis_hash">new_with_genesis_hash</a></li><li><a href="#method.next_derivation_index">next_derivation_index</a></li><li><a href="#method.next_unused_address">next_unused_address</a></li><li><a href="#method.peek_address">peek_address</a></li><li><a href="#method.policies">policies</a></li><li><a href="#method.public_descriptor">public_descriptor</a></li><li><a href="#method.reveal_addresses_to">reveal_addresses_to</a></li><li><a href="#method.reveal_next_address">reveal_next_address</a></li><li><a href="#method.secp_ctx">secp_ctx</a></li><li><a href="#method.sent_and_received">sent_and_received</a></li><li><a href="#method.sign">sign</a></li><li><a href="#method.spk_index">spk_index</a></li><li><a href="#method.staged">staged</a></li><li><a href="#method.start_full_scan">start_full_scan</a></li><li><a href="#method.start_sync_with_revealed_spks">start_sync_with_revealed_spks</a></li><li><a href="#method.take_staged">take_staged</a></li><li><a href="#method.transactions">transactions</a></li><li><a href="#method.tx_graph">tx_graph</a></li><li><a href="#method.unbounded_spk_iter">unbounded_spk_iter</a></li><li><a href="#method.unmark_used">unmark_used</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-AsRef%3CTxGraph%3CConfirmationTimeHeightAnchor%3E%3E-for-Wallet">AsRef&lt;TxGraph&lt;ConfirmationTimeHeightAnchor&gt;&gt;</a></li><li><a href="#impl-Debug-for-Wallet">Debug</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-Wallet">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-Wallet">!UnwindSafe</a></li><li><a href="#impl-Freeze-for-Wallet">Freeze</a></li><li><a href="#impl-Send-for-Wallet">Send</a></li><li><a href="#impl-Sync-for-Wallet">Sync</a></li><li><a href="#impl-Unpin-for-Wallet">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">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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="struct" href="#">Wallet</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#100-108">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Wallet { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A Bitcoin wallet</p>
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A Bitcoin wallet"><title>Wallet in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">Wallet</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.add_signer">add_signer</a></li><li><a href="#method.all_unbounded_spk_iters">all_unbounded_spk_iters</a></li><li><a href="#method.apply_block">apply_block</a></li><li><a href="#method.apply_block_connected_to">apply_block_connected_to</a></li><li><a href="#method.apply_unconfirmed_txs">apply_unconfirmed_txs</a></li><li><a href="#method.apply_update">apply_update</a></li><li><a href="#method.balance">balance</a></li><li><a href="#method.build_fee_bump">build_fee_bump</a></li><li><a href="#method.build_tx">build_tx</a></li><li><a href="#method.calculate_fee">calculate_fee</a></li><li><a href="#method.calculate_fee_rate">calculate_fee_rate</a></li><li><a href="#method.cancel_tx">cancel_tx</a></li><li><a href="#method.checkpoints">checkpoints</a></li><li><a href="#method.derivation_index">derivation_index</a></li><li><a href="#method.derivation_of_spk">derivation_of_spk</a></li><li><a href="#method.descriptor_checksum">descriptor_checksum</a></li><li><a href="#method.finalize_psbt">finalize_psbt</a></li><li><a href="#method.get_descriptor_for_keychain">get_descriptor_for_keychain</a></li><li><a href="#method.get_psbt_input">get_psbt_input</a></li><li><a href="#method.get_signers">get_signers</a></li><li><a href="#method.get_tx">get_tx</a></li><li><a href="#method.get_utxo">get_utxo</a></li><li><a href="#method.insert_checkpoint">insert_checkpoint</a></li><li><a href="#method.insert_tx">insert_tx</a></li><li><a href="#method.insert_txout">insert_txout</a></li><li><a href="#method.is_mine">is_mine</a></li><li><a href="#method.keychains">keychains</a></li><li><a href="#method.latest_checkpoint">latest_checkpoint</a></li><li><a href="#method.list_output">list_output</a></li><li><a href="#method.list_unspent">list_unspent</a></li><li><a href="#method.list_unused_addresses">list_unused_addresses</a></li><li><a href="#method.load_from_changeset">load_from_changeset</a></li><li><a href="#method.local_chain">local_chain</a></li><li><a href="#method.mark_used">mark_used</a></li><li><a href="#method.network">network</a></li><li><a href="#method.new">new</a></li><li><a href="#method.new_or_load">new_or_load</a></li><li><a href="#method.new_or_load_with_genesis_hash">new_or_load_with_genesis_hash</a></li><li><a href="#method.new_with_genesis_hash">new_with_genesis_hash</a></li><li><a href="#method.next_derivation_index">next_derivation_index</a></li><li><a href="#method.next_unused_address">next_unused_address</a></li><li><a href="#method.peek_address">peek_address</a></li><li><a href="#method.policies">policies</a></li><li><a href="#method.public_descriptor">public_descriptor</a></li><li><a href="#method.reveal_addresses_to">reveal_addresses_to</a></li><li><a href="#method.reveal_next_address">reveal_next_address</a></li><li><a href="#method.secp_ctx">secp_ctx</a></li><li><a href="#method.sent_and_received">sent_and_received</a></li><li><a href="#method.sign">sign</a></li><li><a href="#method.spk_index">spk_index</a></li><li><a href="#method.staged">staged</a></li><li><a href="#method.start_full_scan">start_full_scan</a></li><li><a href="#method.start_sync_with_revealed_spks">start_sync_with_revealed_spks</a></li><li><a href="#method.take_staged">take_staged</a></li><li><a href="#method.transactions">transactions</a></li><li><a href="#method.tx_graph">tx_graph</a></li><li><a href="#method.unbounded_spk_iter">unbounded_spk_iter</a></li><li><a href="#method.unmark_used">unmark_used</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-AsRef%3CTxGraph%3CConfirmationTimeHeightAnchor%3E%3E-for-Wallet">AsRef&lt;TxGraph&lt;ConfirmationTimeHeightAnchor&gt;&gt;</a></li><li><a href="#impl-Debug-for-Wallet">Debug</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-Wallet">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-Wallet">!UnwindSafe</a></li><li><a href="#impl-Freeze-for-Wallet">Freeze</a></li><li><a href="#impl-Send-for-Wallet">Send</a></li><li><a href="#impl-Sync-for-Wallet">Sync</a></li><li><a href="#impl-Unpin-for-Wallet">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">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-Into%3CU%3E-for-T">Into&lt;U&gt;</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-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="struct" href="#">Wallet</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#103-111">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Wallet { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A Bitcoin wallet</p>
 <p>The <code>Wallet</code> acts as a way of coherently interfacing with output descriptors and related transactions.
 Its main components are:</p>
 <ol>
@@ -8,12 +8,14 @@ Its main components are:</p>
 <p>The user is responsible for loading and writing wallet changes which are represented as
 <a href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet"><code>ChangeSet</code></a>s (see <a href="struct.Wallet.html#method.take_staged" title="method bdk_wallet::wallet::Wallet::take_staged"><code>take_staged</code></a>). Also see individual functions and example for instructions
 on when <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a> state needs to be persisted.</p>
-</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Wallet" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#352-2415">source</a><a href="#impl-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#354-361">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;E: <a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk_wallet::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(
+<p>The <code>Wallet</code> descriptor (external) and change descriptor (internal) must not derive the same
+script pubkeys. See [<code>KeychainTxOutIndex::insert_descriptor()</code>] for more details.</p>
+</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Wallet" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#355-2418">source</a><a href="#impl-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#357-364">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;E: <a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk_wallet::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(
     descriptor: E,
     change_descriptor: E,
     network: Network
 ) -&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, <a class="enum" href="enum.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a>&gt;</h4></section></summary><div class="docblock"><p>Initialize an empty <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.new_with_genesis_hash" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#367-398">source</a><h4 class="code-header">pub fn <a href="#method.new_with_genesis_hash" class="fn">new_with_genesis_hash</a>&lt;E: <a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk_wallet::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.new_with_genesis_hash" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#370-401">source</a><h4 class="code-header">pub fn <a href="#method.new_with_genesis_hash" class="fn">new_with_genesis_hash</a>&lt;E: <a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk_wallet::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(
     descriptor: E,
     change_descriptor: E,
     network: Network,
@@ -21,7 +23,7 @@ on when <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><
 ) -&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, <a class="enum" href="enum.NewError.html" title="enum bdk_wallet::wallet::NewError">NewError</a>&gt;</h4></section></summary><div class="docblock"><p>Initialize an empty <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a> with a custom genesis hash.</p>
 <p>This is like <a href="struct.Wallet.html#method.new" title="associated function bdk_wallet::wallet::Wallet::new"><code>Wallet::new</code></a> with an additional <code>genesis_hash</code> parameter. This is useful
 for syncing from alternative networks.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.load_from_changeset" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#442-481">source</a><h4 class="code-header">pub fn <a href="#method.load_from_changeset" class="fn">load_from_changeset</a>(changeset: <a class="type" href="type.ChangeSet.html" title="type bdk_wallet::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;Self, <a class="enum" href="enum.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a>&gt;</h4></section></summary><div class="docblock"><p>Load <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a> from the given previously persisted <a href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet"><code>ChangeSet</code></a>.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.load_from_changeset" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#445-484">source</a><h4 class="code-header">pub fn <a href="#method.load_from_changeset" class="fn">load_from_changeset</a>(changeset: <a class="type" href="type.ChangeSet.html" title="type bdk_wallet::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;Self, <a class="enum" href="enum.LoadError.html" title="enum bdk_wallet::wallet::LoadError">LoadError</a>&gt;</h4></section></summary><div class="docblock"><p>Load <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a> from the given previously persisted <a href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet"><code>ChangeSet</code></a>.</p>
 <p>Note that the descriptor secret keys are not persisted to the db; this means that after
 calling this method the <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a> <strong>won’t</strong> know the secret keys, and as such, won’t be
 able to sign transactions.</p>
@@ -47,7 +49,7 @@ internal_signer_container.signers().into_iter()
     .for_each(|s| wallet.add_signer(KeychainKind::Internal, SignerOrdering::default(), s.clone()));</code></pre></div>
 <p>Alternatively, you can call <a href="struct.Wallet.html#method.new_or_load" title="associated function bdk_wallet::wallet::Wallet::new_or_load"><code>Wallet::new_or_load</code></a>, which will add the private keys of the
 passed-in descriptors to the <a href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet"><code>Wallet</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.new_or_load" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#501-515">source</a><h4 class="code-header">pub fn <a href="#method.new_or_load" class="fn">new_or_load</a>&lt;E: <a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk_wallet::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.new_or_load" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#504-518">source</a><h4 class="code-header">pub fn <a href="#method.new_or_load" class="fn">new_or_load</a>&lt;E: <a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk_wallet::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(
     descriptor: E,
     change_descriptor: E,
     changeset: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="type" href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet">ChangeSet</a>&gt;,
@@ -64,7 +66,7 @@ passed-in descriptors to the <a href="struct.Wallet.html" title="struct bdk_wall
 <span class="kw">let </span>internal_descriptor = <span class="string">"wpkh(tprv8ZgxMBicQKsPdy6LMhUtFHAgpocR8GC6QmwMSFpZs7h6Eziw3SpThFfczTDh5rW2krkqffa11UpX3XkeTTB2FvzZKWXqPY54Y6Rq4AQ5R8L/84'/1'/0'/1/*)"</span>;
 
 <span class="kw">let </span><span class="kw-2">mut </span>wallet = Wallet::new_or_load(external_descriptor, internal_descriptor, changeset, Testnet)<span class="question-mark">?</span>;</code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.new_or_load_with_genesis_hash" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#523-620">source</a><h4 class="code-header">pub fn <a href="#method.new_or_load_with_genesis_hash" class="fn">new_or_load_with_genesis_hash</a>&lt;E: <a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk_wallet::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.new_or_load_with_genesis_hash" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#526-623">source</a><h4 class="code-header">pub fn <a href="#method.new_or_load_with_genesis_hash" class="fn">new_or_load_with_genesis_hash</a>&lt;E: <a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk_wallet::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(
     descriptor: E,
     change_descriptor: E,
     changeset: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="type" href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet">ChangeSet</a>&gt;,
@@ -75,16 +77,16 @@ provided descriptor, change descriptor, network, and custom genesis hash.</p>
 <p>This method will fail if the loaded <a href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet"><code>ChangeSet</code></a> has different parameters to those provided.
 This is like <a href="struct.Wallet.html#method.new_or_load" title="associated function bdk_wallet::wallet::Wallet::new_or_load"><code>Wallet::new_or_load</code></a> with an additional <code>genesis_hash</code> parameter. This is
 useful for syncing from alternative networks.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.network" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#623-625">source</a><h4 class="code-header">pub fn <a href="#method.network" class="fn">network</a>(&amp;self) -&gt; Network</h4></section></summary><div class="docblock"><p>Get the Bitcoin network the wallet is using.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.keychains" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#628-630">source</a><h4 class="code-header">pub fn <a href="#method.keychains" class="fn">keychains</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.network" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#626-628">source</a><h4 class="code-header">pub fn <a href="#method.network" class="fn">network</a>(&amp;self) -&gt; Network</h4></section></summary><div class="docblock"><p>Get the Bitcoin network the wallet is using.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.keychains" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#631-633">source</a><h4 class="code-header">pub fn <a href="#method.keychains" class="fn">keychains</a>(
     &amp;self
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = (&amp;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, &amp;<a class="type" href="../descriptor/type.ExtendedDescriptor.html" title="type bdk_wallet::descriptor::ExtendedDescriptor">ExtendedDescriptor</a>)&gt;</h4></section></summary><div class="docblock"><p>Iterator over all keychains in this wallet</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.peek_address" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#640-658">source</a><h4 class="code-header">pub fn <a href="#method.peek_address" class="fn">peek_address</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h4></section></summary><div class="docblock"><p>Peek an address of the given <code>keychain</code> at <code>index</code> without revealing it.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.peek_address" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#643-661">source</a><h4 class="code-header">pub fn <a href="#method.peek_address" class="fn">peek_address</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h4></section></summary><div class="docblock"><p>Peek an address of the given <code>keychain</code> at <code>index</code> without revealing it.</p>
 <p>For non-wildcard descriptors this returns the same address at every provided index.</p>
 <h5 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h5>
 <p>This panics when the caller requests for an address of derivation index greater than the
 <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki">BIP32</a> max index.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_next_address" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#687-703">source</a><h4 class="code-header">pub fn <a href="#method.reveal_next_address" class="fn">reveal_next_address</a>(&amp;mut self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h4></section></summary><div class="docblock"><p>Attempt to reveal the next address of the given <code>keychain</code>.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_next_address" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#690-706">source</a><h4 class="code-header">pub fn <a href="#method.reveal_next_address" class="fn">reveal_next_address</a>(&amp;mut self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h4></section></summary><div class="docblock"><p>Attempt to reveal the next address of the given <code>keychain</code>.</p>
 <p>This will increment the keychain’s derivation index. If the keychain’s descriptor doesn’t
 contain a wildcard or every address is already revealed up to the maximum derivation
 index defined in <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki">BIP32</a>,
@@ -102,7 +104,7 @@ calls to this method before closing the wallet. For example:</p>
 
 <span class="comment">// Now it's safe to show the user their next address!
 </span><span class="macro">println!</span>(<span class="string">"Next address: {}"</span>, next_address.address);</code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_addresses_to" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#714-732">source</a><h4 class="code-header">pub fn <a href="#method.reveal_addresses_to" class="fn">reveal_addresses_to</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.reveal_addresses_to" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#717-735">source</a><h4 class="code-header">pub fn <a href="#method.reveal_addresses_to" class="fn">reveal_addresses_to</a>(
     &amp;mut self,
     keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>,
     index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>
@@ -113,35 +115,35 @@ possible index. If all addresses up to the given <code>index</code> are already
 no new addresses are returned.</p>
 <p><strong>WARNING</strong>: To avoid address reuse you must persist the changes resulting from one or more
 calls to this method before closing the wallet. See <a href="struct.Wallet.html#method.reveal_next_address" title="method bdk_wallet::wallet::Wallet::reveal_next_address"><code>Wallet::reveal_next_address</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.next_unused_address" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#742-758">source</a><h4 class="code-header">pub fn <a href="#method.next_unused_address" class="fn">next_unused_address</a>(&amp;mut self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h4></section></summary><div class="docblock"><p>Get the next unused address for the given <code>keychain</code>, i.e. the address with the lowest
+</div></details><details class="toggle method-toggle" open><summary><section id="method.next_unused_address" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#745-761">source</a><h4 class="code-header">pub fn <a href="#method.next_unused_address" class="fn">next_unused_address</a>(&amp;mut self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a></h4></section></summary><div class="docblock"><p>Get the next unused address for the given <code>keychain</code>, i.e. the address with the lowest
 derivation index that hasn’t been used.</p>
 <p>This will attempt to derive and reveal a new address if no newly revealed addresses
 are available. See also <a href="struct.Wallet.html#method.reveal_next_address" title="method bdk_wallet::wallet::Wallet::reveal_next_address"><code>reveal_next_address</code></a>.</p>
 <p><strong>WARNING</strong>: To avoid address reuse you must persist the changes resulting from one or more
 calls to this method before closing the wallet. See <a href="struct.Wallet.html#method.reveal_next_address" title="method bdk_wallet::wallet::Wallet::reveal_next_address"><code>Wallet::reveal_next_address</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.mark_used" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#763-765">source</a><h4 class="code-header">pub fn <a href="#method.mark_used" class="fn">mark_used</a>(&amp;mut self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Marks an address used of the given <code>keychain</code> at <code>index</code>.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.mark_used" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#766-768">source</a><h4 class="code-header">pub fn <a href="#method.mark_used" class="fn">mark_used</a>(&amp;mut self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Marks an address used of the given <code>keychain</code> at <code>index</code>.</p>
 <p>Returns whether the given index was present and then removed from the unused set.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.unmark_used" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#775-777">source</a><h4 class="code-header">pub fn <a href="#method.unmark_used" class="fn">unmark_used</a>(&amp;mut self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Undoes the effect of <a href="struct.Wallet.html#method.mark_used" title="method bdk_wallet::wallet::Wallet::mark_used"><code>mark_used</code></a> and returns whether the <code>index</code> was inserted
+</div></details><details class="toggle method-toggle" open><summary><section id="method.unmark_used" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#778-780">source</a><h4 class="code-header">pub fn <a href="#method.unmark_used" class="fn">unmark_used</a>(&amp;mut self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Undoes the effect of <a href="struct.Wallet.html#method.mark_used" title="method bdk_wallet::wallet::Wallet::mark_used"><code>mark_used</code></a> and returns whether the <code>index</code> was inserted
 back into the unused set.</p>
 <p>Since this is only a superficial marker, it will have no effect if the address at the given
 <code>index</code> was actually used, i.e. the wallet has previously indexed a tx output for the
 derived spk.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.list_unused_addresses" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#784-796">source</a><h4 class="code-header">pub fn <a href="#method.list_unused_addresses" class="fn">list_unused_addresses</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.list_unused_addresses" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#787-799">source</a><h4 class="code-header">pub fn <a href="#method.list_unused_addresses" class="fn">list_unused_addresses</a>(
     &amp;self,
     keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/double_ended/trait.DoubleEndedIterator.html" title="trait core::iter::traits::double_ended::DoubleEndedIterator">DoubleEndedIterator</a>&lt;Item = <a class="struct" href="struct.AddressInfo.html" title="struct bdk_wallet::wallet::AddressInfo">AddressInfo</a>&gt; + '_</h4></section></summary><div class="docblock"><p>List addresses that are revealed but unused.</p>
 <p>Note if the returned iterator is empty you can reveal more addresses
 by using <a href="struct.Wallet.html#method.reveal_next_address" title="method bdk_wallet::wallet::Wallet::reveal_next_address"><code>reveal_next_address</code></a> or
 <a href="struct.Wallet.html#method.reveal_addresses_to" title="method bdk_wallet::wallet::Wallet::reveal_addresses_to"><code>reveal_addresses_to</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.is_mine" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#799-801">source</a><h4 class="code-header">pub fn <a href="#method.is_mine" class="fn">is_mine</a>(&amp;self, script: &amp;Script) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return whether or not a <code>script</code> is part of this wallet (either internal or external)</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.derivation_of_spk" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#806-808">source</a><h4 class="code-header">pub fn <a href="#method.derivation_of_spk" class="fn">derivation_of_spk</a>(&amp;self, spk: &amp;Script) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)&gt;</h4></section></summary><div class="docblock"><p>Finds how the wallet derived the script pubkey <code>spk</code>.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.is_mine" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#802-804">source</a><h4 class="code-header">pub fn <a href="#method.is_mine" class="fn">is_mine</a>(&amp;self, script: &amp;Script) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return whether or not a <code>script</code> is part of this wallet (either internal or external)</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.derivation_of_spk" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#809-811">source</a><h4 class="code-header">pub fn <a href="#method.derivation_of_spk" class="fn">derivation_of_spk</a>(&amp;self, spk: &amp;Script) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)&gt;</h4></section></summary><div class="docblock"><p>Finds how the wallet derived the script pubkey <code>spk</code>.</p>
 <p>Will only return <code>Some(_)</code> if the wallet has given out the spk.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.list_unspent" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#811-820">source</a><h4 class="code-header">pub fn <a href="#method.list_unspent" class="fn">list_unspent</a>(&amp;self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="struct" href="../struct.LocalOutput.html" title="struct bdk_wallet::LocalOutput">LocalOutput</a>&gt; + '_</h4></section></summary><div class="docblock"><p>Return the list of unspent outputs of this wallet</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.list_output" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#825-834">source</a><h4 class="code-header">pub fn <a href="#method.list_output" class="fn">list_output</a>(&amp;self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="struct" href="../struct.LocalOutput.html" title="struct bdk_wallet::LocalOutput">LocalOutput</a>&gt; + '_</h4></section></summary><div class="docblock"><p>List all relevant outputs (includes both spent and unspent, confirmed and unconfirmed).</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.list_unspent" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#814-823">source</a><h4 class="code-header">pub fn <a href="#method.list_unspent" class="fn">list_unspent</a>(&amp;self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="struct" href="../struct.LocalOutput.html" title="struct bdk_wallet::LocalOutput">LocalOutput</a>&gt; + '_</h4></section></summary><div class="docblock"><p>Return the list of unspent outputs of this wallet</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.list_output" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#828-837">source</a><h4 class="code-header">pub fn <a href="#method.list_output" class="fn">list_output</a>(&amp;self) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = <a class="struct" href="../struct.LocalOutput.html" title="struct bdk_wallet::LocalOutput">LocalOutput</a>&gt; + '_</h4></section></summary><div class="docblock"><p>List all relevant outputs (includes both spent and unspent, confirmed and unconfirmed).</p>
 <p>To list only unspent outputs (UTXOs), use <a href="struct.Wallet.html#method.list_unspent" title="method bdk_wallet::wallet::Wallet::list_unspent"><code>Wallet::list_unspent</code></a> instead.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.checkpoints" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#837-839">source</a><h4 class="code-header">pub fn <a href="#method.checkpoints" class="fn">checkpoints</a>(&amp;self) -&gt; CheckPointIter</h4></section></summary><div class="docblock"><p>Get all the checkpoints the wallet is currently storing indexed by height.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.latest_checkpoint" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#842-844">source</a><h4 class="code-header">pub fn <a href="#method.latest_checkpoint" class="fn">latest_checkpoint</a>(&amp;self) -&gt; CheckPoint</h4></section></summary><div class="docblock"><p>Returns the latest checkpoint.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.all_unbounded_spk_iters" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#854-858">source</a><h4 class="code-header">pub fn <a href="#method.all_unbounded_spk_iters" class="fn">all_unbounded_spk_iters</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.checkpoints" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#840-842">source</a><h4 class="code-header">pub fn <a href="#method.checkpoints" class="fn">checkpoints</a>(&amp;self) -&gt; CheckPointIter</h4></section></summary><div class="docblock"><p>Get all the checkpoints the wallet is currently storing indexed by height.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.latest_checkpoint" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#845-847">source</a><h4 class="code-header">pub fn <a href="#method.latest_checkpoint" class="fn">latest_checkpoint</a>(&amp;self) -&gt; CheckPoint</h4></section></summary><div class="docblock"><p>Returns the latest checkpoint.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.all_unbounded_spk_iters" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#857-861">source</a><h4 class="code-header">pub fn <a href="#method.all_unbounded_spk_iters" class="fn">all_unbounded_spk_iters</a>(
     &amp;self
 ) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Indexed&lt;ScriptBuf&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt;</h4></section></summary><div class="docblock"><p>Get unbounded script pubkey iterators for both <code>Internal</code> and <code>External</code> keychains.</p>
 <p>This is intended to be used when doing a full scan of your addresses (e.g. after restoring
@@ -149,14 +151,14 @@ from seed words). You pass the <code>BTreeMap</code> of iterators to a blockchai
 electrum server) which will go through each address until it reaches a <em>stop gap</em>.</p>
 <p>Note carefully that iterators go over <strong>all</strong> script pubkeys on the keychains (not what
 script pubkeys the wallet is storing internally).</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.unbounded_spk_iter" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#865-873">source</a><h4 class="code-header">pub fn <a href="#method.unbounded_spk_iter" class="fn">unbounded_spk_iter</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.unbounded_spk_iter" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#868-876">source</a><h4 class="code-header">pub fn <a href="#method.unbounded_spk_iter" class="fn">unbounded_spk_iter</a>(
     &amp;self,
     keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = Indexed&lt;ScriptBuf&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a></h4></section></summary><div class="docblock"><p>Get an unbounded script pubkey iterator for the given <code>keychain</code>.</p>
 <p>See <a href="struct.Wallet.html#method.all_unbounded_spk_iters" title="method bdk_wallet::wallet::Wallet::all_unbounded_spk_iters"><code>all_unbounded_spk_iters</code></a> for more documentation</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.get_utxo" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#877-888">source</a><h4 class="code-header">pub fn <a href="#method.get_utxo" class="fn">get_utxo</a>(&amp;self, op: OutPoint) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.LocalOutput.html" title="struct bdk_wallet::LocalOutput">LocalOutput</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the utxo owned by this wallet corresponding to <code>outpoint</code> if it exists in the
+</div></details><details class="toggle method-toggle" open><summary><section id="method.get_utxo" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#880-891">source</a><h4 class="code-header">pub fn <a href="#method.get_utxo" class="fn">get_utxo</a>(&amp;self, op: OutPoint) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.LocalOutput.html" title="struct bdk_wallet::LocalOutput">LocalOutput</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the utxo owned by this wallet corresponding to <code>outpoint</code> if it exists in the
 wallet’s database.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.insert_txout" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#907-910">source</a><h4 class="code-header">pub fn <a href="#method.insert_txout" class="fn">insert_txout</a>(&amp;mut self, outpoint: OutPoint, txout: TxOut)</h4></section></summary><div class="docblock"><p>Inserts a [<code>TxOut</code>] at [<code>OutPoint</code>] into the wallet’s transaction graph.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.insert_txout" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#910-913">source</a><h4 class="code-header">pub fn <a href="#method.insert_txout" class="fn">insert_txout</a>(&amp;mut self, outpoint: OutPoint, txout: TxOut)</h4></section></summary><div class="docblock"><p>Inserts a [<code>TxOut</code>] at [<code>OutPoint</code>] into the wallet’s transaction graph.</p>
 <p>This is used for providing a previous output’s value so that we can use <a href="struct.Wallet.html#method.calculate_fee" title="method bdk_wallet::wallet::Wallet::calculate_fee"><code>calculate_fee</code></a>
 or <a href="struct.Wallet.html#method.calculate_fee_rate" title="method bdk_wallet::wallet::Wallet::calculate_fee_rate"><code>calculate_fee_rate</code></a> on a given transaction. Outputs inserted with this method will
 not be returned in <a href="struct.Wallet.html#method.list_unspent" title="method bdk_wallet::wallet::Wallet::list_unspent"><code>list_unspent</code></a> or <a href="struct.Wallet.html#method.list_output" title="method bdk_wallet::wallet::Wallet::list_output"><code>list_output</code></a>.</p>
@@ -165,7 +167,7 @@ insert <code>TxOut</code>s that you trust the values for!</p>
 <p>You must persist the changes resulting from one or more calls to this method if you need
 the inserted <code>TxOut</code> data to be reloaded after closing the wallet.
 See <a href="struct.Wallet.html#method.reveal_next_address" title="method bdk_wallet::wallet::Wallet::reveal_next_address"><code>Wallet::reveal_next_address</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.calculate_fee" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#939-941">source</a><h4 class="code-header">pub fn <a href="#method.calculate_fee" class="fn">calculate_fee</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.calculate_fee" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#942-944">source</a><h4 class="code-header">pub fn <a href="#method.calculate_fee" class="fn">calculate_fee</a>(
     &amp;self,
     tx: &amp;Transaction
 ) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Amount, CalculateFeeError&gt;</h4></section></summary><div class="docblock"><p>Calculates the fee of a given transaction. Returns [<code>Amount::ZERO</code>] if <code>tx</code> is a coinbase transaction.</p>
@@ -178,7 +180,7 @@ manually insert the TxOut(s) into the tx graph using the <a href="struct.Wallet.
 
 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>tx = <span class="kw-2">&amp;</span>psbt.clone().extract_tx().expect(<span class="string">"tx"</span>);
 <span class="kw">let </span>fee = wallet.calculate_fee(tx).expect(<span class="string">"fee"</span>);</code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.calculate_fee_rate" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#970-972">source</a><h4 class="code-header">pub fn <a href="#method.calculate_fee_rate" class="fn">calculate_fee_rate</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.calculate_fee_rate" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#973-975">source</a><h4 class="code-header">pub fn <a href="#method.calculate_fee_rate" class="fn">calculate_fee_rate</a>(
     &amp;self,
     tx: &amp;Transaction
 ) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;FeeRate, CalculateFeeError&gt;</h4></section></summary><div class="docblock"><p>Calculate the [<code>FeeRate</code>] for a given transaction.</p>
@@ -191,7 +193,7 @@ manually insert the TxOut(s) into the tx graph using the <a href="struct.Wallet.
 
 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>tx = <span class="kw-2">&amp;</span>psbt.clone().extract_tx().expect(<span class="string">"tx"</span>);
 <span class="kw">let </span>fee_rate = wallet.calculate_fee_rate(tx).expect(<span class="string">"fee rate"</span>);</code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.sent_and_received" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#999-1001">source</a><h4 class="code-header">pub fn <a href="#method.sent_and_received" class="fn">sent_and_received</a>(&amp;self, tx: &amp;Transaction) -&gt; (Amount, Amount)</h4></section></summary><div class="docblock"><p>Compute the <code>tx</code>’s sent and received [<code>Amount</code>]s.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.sent_and_received" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1002-1004">source</a><h4 class="code-header">pub fn <a href="#method.sent_and_received" class="fn">sent_and_received</a>(&amp;self, tx: &amp;Transaction) -&gt; (Amount, Amount)</h4></section></summary><div class="docblock"><p>Compute the <code>tx</code>’s sent and received [<code>Amount</code>]s.</p>
 <p>This method returns a tuple <code>(sent, received)</code>. Sent is the sum of the txin amounts
 that spend from previous txouts tracked by this wallet. Received is the summation
 of this tx’s outputs that send to script pubkeys tracked by this wallet.</p>
@@ -201,7 +203,7 @@ of this tx’s outputs that send to script pubkeys tracked by this wallet.</p>
 
 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>tx = <span class="kw-2">&amp;</span>psbt.clone().extract_tx().expect(<span class="string">"tx"</span>);
 <span class="kw">let </span>(sent, received) = wallet.sent_and_received(tx);</code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.get_tx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1046-1060">source</a><h4 class="code-header">pub fn <a href="#method.get_tx" class="fn">get_tx</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.get_tx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1049-1063">source</a><h4 class="code-header">pub fn <a href="#method.get_tx" class="fn">get_tx</a>(
     &amp;self,
     txid: Txid
 ) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;CanonicalTx&lt;'_, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Transaction&gt;, ConfirmationTimeHeightAnchor&gt;&gt;</h4></section></summary><div class="docblock"><p>Get a single transaction from the wallet as a [<code>CanonicalTx</code>] (if the transaction exists).</p>
@@ -242,7 +244,7 @@ the transaction was last seen in the mempool is provided.</li>
         last_seen,
     ),
 }</code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.insert_checkpoint" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1072-1080">source</a><h4 class="code-header">pub fn <a href="#method.insert_checkpoint" class="fn">insert_checkpoint</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.insert_checkpoint" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1075-1083">source</a><h4 class="code-header">pub fn <a href="#method.insert_checkpoint" class="fn">insert_checkpoint</a>(
     &amp;mut self,
     block_id: BlockId
 ) -&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.bool.html">bool</a>, AlterCheckPointError&gt;</h4></section></summary><div class="docblock"><p>Add a new checkpoint to the wallet’s internal view of the chain.</p>
@@ -251,7 +253,7 @@ there).</p>
 <p><strong>WARNING</strong>: You must persist the changes resulting from one or more calls to this method
 if you need the inserted checkpoint data to be reloaded after closing the wallet.
 See <a href="struct.Wallet.html#method.reveal_next_address" title="method bdk_wallet::wallet::Wallet::reveal_next_address"><code>Wallet::reveal_next_address</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.insert_tx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1102-1142">source</a><h4 class="code-header">pub fn <a href="#method.insert_tx" class="fn">insert_tx</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.insert_tx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1105-1145">source</a><h4 class="code-header">pub fn <a href="#method.insert_tx" class="fn">insert_tx</a>(
     &amp;mut self,
     tx: Transaction,
     position: ConfirmationTime
@@ -267,19 +269,19 @@ is &gt;= the <code>position</code>’s height. The caller is responsible for ens
 local view of the best chain’s history.</p>
 <p>You must persist the changes resulting from one or more calls to this method if you need
 the inserted tx to be reloaded after closing the wallet.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.transactions" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1145-1152">source</a><h4 class="code-header">pub fn <a href="#method.transactions" class="fn">transactions</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.transactions" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1148-1155">source</a><h4 class="code-header">pub fn <a href="#method.transactions" class="fn">transactions</a>(
     &amp;self
 ) -&gt; impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = CanonicalTx&lt;'_, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;Transaction&gt;, ConfirmationTimeHeightAnchor&gt;&gt; + '_</h4></section></summary><div class="docblock"><p>Iterate over the transactions in the wallet.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.balance" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1156-1163">source</a><h4 class="code-header">pub fn <a href="#method.balance" class="fn">balance</a>(&amp;self) -&gt; <a class="struct" href="struct.Balance.html" title="struct bdk_wallet::wallet::Balance">Balance</a></h4></section></summary><div class="docblock"><p>Return the balance, separated into available, trusted-pending, untrusted-pending and immature
+</div></details><details class="toggle method-toggle" open><summary><section id="method.balance" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1159-1166">source</a><h4 class="code-header">pub fn <a href="#method.balance" class="fn">balance</a>(&amp;self) -&gt; <a class="struct" href="struct.Balance.html" title="struct bdk_wallet::wallet::Balance">Balance</a></h4></section></summary><div class="docblock"><p>Return the balance, separated into available, trusted-pending, untrusted-pending and immature
 values.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.add_signer" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1168-1180">source</a><h4 class="code-header">pub fn <a href="#method.add_signer" class="fn">add_signer</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.add_signer" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1171-1183">source</a><h4 class="code-header">pub fn <a href="#method.add_signer" class="fn">add_signer</a>(
     &amp;mut self,
     keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>,
     ordering: <a class="struct" href="signer/struct.SignerOrdering.html" title="struct bdk_wallet::wallet::signer::SignerOrdering">SignerOrdering</a>,
     signer: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="signer/trait.TransactionSigner.html" title="trait bdk_wallet::wallet::signer::TransactionSigner">TransactionSigner</a>&gt;
 )</h4></section></summary><div class="docblock"><p>Add an external signer</p>
 <p>See <a href="signer/index.html" title="mod bdk_wallet::wallet::signer">the <code>signer</code> module</a> for an example.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.get_signers" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1199-1204">source</a><h4 class="code-header">pub fn <a href="#method.get_signers" class="fn">get_signers</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="signer/struct.SignersContainer.html" title="struct bdk_wallet::wallet::signer::SignersContainer">SignersContainer</a>&gt;</h4></section></summary><div class="docblock"><p>Get the signers</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.get_signers" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1202-1207">source</a><h4 class="code-header">pub fn <a href="#method.get_signers" class="fn">get_signers</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="struct" href="signer/struct.SignersContainer.html" title="struct bdk_wallet::wallet::signer::SignersContainer">SignersContainer</a>&gt;</h4></section></summary><div class="docblock"><p>Get the signers</p>
 <h6 id="example"><a class="doc-anchor" href="#example">§</a>Example</h6>
 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>descriptor = <span class="string">"wpkh(tprv8ZgxMBicQKsPe73PBRSmNbTfbcsZnwWhz5eVmhHpi31HW29Z7mc9B4cWGRQzopNUzZUT391DeDJxL2PefNunWyLgqCKRMDkU1s2s8bAfoSk/84'/1'/0'/0/*)"</span>;
 <span class="kw">let </span>change_descriptor = <span class="string">"wpkh(tprv8ZgxMBicQKsPe73PBRSmNbTfbcsZnwWhz5eVmhHpi31HW29Z7mc9B4cWGRQzopNUzZUT391DeDJxL2PefNunWyLgqCKRMDkU1s2s8bAfoSk/84'/1'/0'/1/*)"</span>;
@@ -290,7 +292,7 @@ values.</p>
 }
 
 <span class="prelude-val">Ok</span>::&lt;(), Box&lt;<span class="kw">dyn </span>std::error::Error&gt;&gt;(())</code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.build_tx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1234-1240">source</a><h4 class="code-header">pub fn <a href="#method.build_tx" class="fn">build_tx</a>(&amp;mut self) -&gt; <a class="struct" href="tx_builder/struct.TxBuilder.html" title="struct bdk_wallet::wallet::tx_builder::TxBuilder">TxBuilder</a>&lt;'_, <a class="type" href="coin_selection/type.DefaultCoinSelectionAlgorithm.html" title="type bdk_wallet::wallet::coin_selection::DefaultCoinSelectionAlgorithm">DefaultCoinSelectionAlgorithm</a>&gt;</h4></section></summary><div class="docblock"><p>Start building a transaction.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.build_tx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1237-1243">source</a><h4 class="code-header">pub fn <a href="#method.build_tx" class="fn">build_tx</a>(&amp;mut self) -&gt; <a class="struct" href="tx_builder/struct.TxBuilder.html" title="struct bdk_wallet::wallet::tx_builder::TxBuilder">TxBuilder</a>&lt;'_, <a class="type" href="coin_selection/type.DefaultCoinSelectionAlgorithm.html" title="type bdk_wallet::wallet::coin_selection::DefaultCoinSelectionAlgorithm">DefaultCoinSelectionAlgorithm</a>&gt;</h4></section></summary><div class="docblock"><p>Start building a transaction.</p>
 <p>This returns a blank <a href="tx_builder/struct.TxBuilder.html" title="struct bdk_wallet::wallet::tx_builder::TxBuilder"><code>TxBuilder</code></a> from which you can specify the parameters for the transaction.</p>
 <h6 id="example-1"><a class="doc-anchor" href="#example-1">§</a>Example</h6>
 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>psbt = {
@@ -301,7 +303,7 @@ values.</p>
 </span>};
 
 <span class="comment">// sign and broadcast ...</span></code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.build_fee_bump" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1609-1742">source</a><h4 class="code-header">pub fn <a href="#method.build_fee_bump" class="fn">build_fee_bump</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.build_fee_bump" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1612-1745">source</a><h4 class="code-header">pub fn <a href="#method.build_fee_bump" class="fn">build_fee_bump</a>(
     &amp;mut self,
     txid: Txid
 ) -&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="tx_builder/struct.TxBuilder.html" title="struct bdk_wallet::wallet::tx_builder::TxBuilder">TxBuilder</a>&lt;'_, <a class="type" href="coin_selection/type.DefaultCoinSelectionAlgorithm.html" title="type bdk_wallet::wallet::coin_selection::DefaultCoinSelectionAlgorithm">DefaultCoinSelectionAlgorithm</a>&gt;, <a class="enum" href="error/enum.BuildFeeBumpError.html" title="enum bdk_wallet::wallet::error::BuildFeeBumpError">BuildFeeBumpError</a>&gt;</h4></section></summary><div class="docblock"><p>Bump the fee of a transaction previously created with this wallet.</p>
@@ -329,7 +331,7 @@ pre-populated with the inputs and outputs of the original transaction.</p>
 <span class="kw">let _ </span>= wallet.sign(<span class="kw-2">&amp;mut </span>psbt, SignOptions::default())<span class="question-mark">?</span>;
 <span class="kw">let </span>fee_bumped_tx = psbt.extract_tx();
 <span class="comment">// broadcast fee_bumped_tx to replace original</span></code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.sign" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1771-1818">source</a><h4 class="code-header">pub fn <a href="#method.sign" class="fn">sign</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.sign" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1774-1821">source</a><h4 class="code-header">pub fn <a href="#method.sign" class="fn">sign</a>(
     &amp;self,
     psbt: &amp;mut Psbt,
     sign_options: <a class="struct" href="signer/struct.SignOptions.html" title="struct bdk_wallet::wallet::signer::SignOptions">SignOptions</a>
@@ -347,14 +349,14 @@ in this library will.</p>
 </span>};
 <span class="kw">let </span>finalized = wallet.sign(<span class="kw-2">&amp;mut </span>psbt, SignOptions::default())<span class="question-mark">?</span>;
 <span class="macro">assert!</span>(finalized, <span class="string">"we should have signed all the inputs"</span>);</code></pre></div>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.policies" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1821-1832">source</a><h4 class="code-header">pub fn <a href="#method.policies" class="fn">policies</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.policies" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1824-1835">source</a><h4 class="code-header">pub fn <a href="#method.policies" class="fn">policies</a>(
     &amp;self,
     keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</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="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../descriptor/policy/struct.Policy.html" title="struct bdk_wallet::descriptor::policy::Policy">Policy</a>&gt;, <a class="enum" href="../descriptor/error/enum.Error.html" title="enum bdk_wallet::descriptor::error::Error">DescriptorError</a>&gt;</h4></section></summary><div class="docblock"><p>Return the spending policies for the wallet’s descriptor</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.public_descriptor" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1838-1845">source</a><h4 class="code-header">pub fn <a href="#method.public_descriptor" class="fn">public_descriptor</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; &amp;<a class="type" href="../descriptor/type.ExtendedDescriptor.html" title="type bdk_wallet::descriptor::ExtendedDescriptor">ExtendedDescriptor</a></h4></section></summary><div class="docblock"><p>Return the “public” version of the wallet’s descriptor, meaning a new descriptor that has
+</div></details><details class="toggle method-toggle" open><summary><section id="method.public_descriptor" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1841-1848">source</a><h4 class="code-header">pub fn <a href="#method.public_descriptor" class="fn">public_descriptor</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; &amp;<a class="type" href="../descriptor/type.ExtendedDescriptor.html" title="type bdk_wallet::descriptor::ExtendedDescriptor">ExtendedDescriptor</a></h4></section></summary><div class="docblock"><p>Return the “public” version of the wallet’s descriptor, meaning a new descriptor that has
 the same structure but with every secret key removed</p>
 <p>This can be used to build a watch-only version of a wallet</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.finalize_psbt" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1856-1942">source</a><h4 class="code-header">pub fn <a href="#method.finalize_psbt" class="fn">finalize_psbt</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.finalize_psbt" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1859-1945">source</a><h4 class="code-header">pub fn <a href="#method.finalize_psbt" class="fn">finalize_psbt</a>(
     &amp;self,
     psbt: &amp;mut Psbt,
     sign_options: <a class="struct" href="signer/struct.SignOptions.html" title="struct bdk_wallet::wallet::signer::SignOptions">SignOptions</a>
@@ -365,25 +367,25 @@ and <a href="https://github.com/bitcoin/bips/blob/master/bip-0371.mediawiki">BIP
 for further information.</p>
 <p>Returns <code>true</code> if the PSBT could be finalized, and <code>false</code> otherwise.</p>
 <p>The <a href="signer/struct.SignOptions.html" title="struct bdk_wallet::wallet::signer::SignOptions"><code>SignOptions</code></a> can be used to tweak the behavior of the finalizer.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.secp_ctx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1945-1947">source</a><h4 class="code-header">pub fn <a href="#method.secp_ctx" class="fn">secp_ctx</a>(&amp;self) -&gt; &amp;Secp256k1&lt;All&gt;</h4></section></summary><div class="docblock"><p>Return the secp256k1 context used for all signing operations</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.get_descriptor_for_keychain" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1950-1952">source</a><h4 class="code-header">pub fn <a href="#method.get_descriptor_for_keychain" class="fn">get_descriptor_for_keychain</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.secp_ctx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1948-1950">source</a><h4 class="code-header">pub fn <a href="#method.secp_ctx" class="fn">secp_ctx</a>(&amp;self) -&gt; &amp;Secp256k1&lt;All&gt;</h4></section></summary><div class="docblock"><p>Return the secp256k1 context used for all signing operations</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.get_descriptor_for_keychain" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1953-1955">source</a><h4 class="code-header">pub fn <a href="#method.get_descriptor_for_keychain" class="fn">get_descriptor_for_keychain</a>(
     &amp;self,
     keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>
 ) -&gt; &amp;<a class="type" href="../descriptor/type.ExtendedDescriptor.html" title="type bdk_wallet::descriptor::ExtendedDescriptor">ExtendedDescriptor</a></h4></section></summary><div class="docblock"><p>Returns the descriptor used to create addresses for a particular <code>keychain</code>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.derivation_index" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1956-1958">source</a><h4 class="code-header">pub fn <a href="#method.derivation_index" class="fn">derivation_index</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>The derivation index of this wallet. It will return <code>None</code> if it has not derived any addresses.
+</div></details><details class="toggle method-toggle" open><summary><section id="method.derivation_index" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1959-1961">source</a><h4 class="code-header">pub fn <a href="#method.derivation_index" class="fn">derivation_index</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;</h4></section></summary><div class="docblock"><p>The derivation index of this wallet. It will return <code>None</code> if it has not derived any addresses.
 Otherwise, it will return the index of the highest address it has derived.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.next_derivation_index" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1961-1967">source</a><h4 class="code-header">pub fn <a href="#method.next_derivation_index" class="fn">next_derivation_index</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>The index of the next address that you would get if you were to ask the wallet for a new address</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.cancel_tx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1973-1982">source</a><h4 class="code-header">pub fn <a href="#method.cancel_tx" class="fn">cancel_tx</a>(&amp;mut self, tx: &amp;Transaction)</h4></section></summary><div class="docblock"><p>Informs the wallet that you no longer intend to broadcast a tx that was built from it.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.next_derivation_index" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1964-1970">source</a><h4 class="code-header">pub fn <a href="#method.next_derivation_index" class="fn">next_derivation_index</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>The index of the next address that you would get if you were to ask the wallet for a new address</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.cancel_tx" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#1976-1985">source</a><h4 class="code-header">pub fn <a href="#method.cancel_tx" class="fn">cancel_tx</a>(&amp;mut self, tx: &amp;Transaction)</h4></section></summary><div class="docblock"><p>Informs the wallet that you no longer intend to broadcast a tx that was built from it.</p>
 <p>This frees up the change address used when creating the tx for use in future transactions.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.get_psbt_input" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2192-2230">source</a><h4 class="code-header">pub fn <a href="#method.get_psbt_input" class="fn">get_psbt_input</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.get_psbt_input" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2195-2233">source</a><h4 class="code-header">pub fn <a href="#method.get_psbt_input" class="fn">get_psbt_input</a>(
     &amp;self,
     utxo: <a class="struct" href="../struct.LocalOutput.html" title="struct bdk_wallet::LocalOutput">LocalOutput</a>,
     sighash_type: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;PsbtSighashType&gt;,
     only_witness_utxo: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</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;Input, <a class="enum" href="error/enum.CreateTxError.html" title="enum bdk_wallet::wallet::error::CreateTxError">CreateTxError</a>&gt;</h4></section></summary><div class="docblock"><p>get the corresponding PSBT Input for a LocalUtxo</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.descriptor_checksum" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2272-2279">source</a><h4 class="code-header">pub fn <a href="#method.descriptor_checksum" class="fn">descriptor_checksum</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Return the checksum of the public descriptor associated to <code>keychain</code></p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.descriptor_checksum" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2275-2282">source</a><h4 class="code-header">pub fn <a href="#method.descriptor_checksum" class="fn">descriptor_checksum</a>(&amp;self, keychain: <a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class="docblock"><p>Return the checksum of the public descriptor associated to <code>keychain</code></p>
 <p>Internally calls <a href="struct.Wallet.html#method.get_descriptor_for_keychain" title="method bdk_wallet::wallet::Wallet::get_descriptor_for_keychain"><code>Self::get_descriptor_for_keychain</code></a> to fetch the right descriptor</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_update" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2290-2305">source</a><h4 class="code-header">pub fn <a href="#method.apply_update" class="fn">apply_update</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_update" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2293-2308">source</a><h4 class="code-header">pub fn <a href="#method.apply_update" class="fn">apply_update</a>(
     &amp;mut self,
     update: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="struct.Update.html" title="struct bdk_wallet::wallet::Update">Update</a>&gt;
 ) -&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>, CannotConnectError&gt;</h4></section></summary><div class="docblock"><p>Applies an update to the wallet and stages the changes (but does not persist them).</p>
@@ -391,12 +393,12 @@ Otherwise, it will return the index of the highest address it has derived.</p>
 transactions related to your wallet into it.</p>
 <p>After applying updates you should persist the staged wallet changes. For an example of how
 to persist staged wallet changes see <a href="struct.Wallet.html#method.reveal_next_address" title="method bdk_wallet::wallet::Wallet::reveal_next_address"><code>Wallet::reveal_next_address</code></a>. `</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.staged" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2308-2314">source</a><h4 class="code-header">pub fn <a href="#method.staged" class="fn">staged</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;<a class="type" href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet">ChangeSet</a>&gt;</h4></section></summary><div class="docblock"><p>Get a reference of the staged <a href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet"><code>ChangeSet</code></a> that are yet to be committed (if any).</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.take_staged" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2317-2319">source</a><h4 class="code-header">pub fn <a href="#method.take_staged" class="fn">take_staged</a>(&amp;mut 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;<a class="type" href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet">ChangeSet</a>&gt;</h4></section></summary><div class="docblock"><p>Take the staged <a href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet"><code>ChangeSet</code></a> to be persisted now (if any).</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.tx_graph" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2322-2324">source</a><h4 class="code-header">pub fn <a href="#method.tx_graph" class="fn">tx_graph</a>(&amp;self) -&gt; &amp;TxGraph&lt;ConfirmationTimeHeightAnchor&gt;</h4></section></summary><div class="docblock"><p>Get a reference to the inner [<code>TxGraph</code>].</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.spk_index" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2327-2329">source</a><h4 class="code-header">pub fn <a href="#method.spk_index" class="fn">spk_index</a>(&amp;self) -&gt; &amp;KeychainTxOutIndex&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>&gt;</h4></section></summary><div class="docblock"><p>Get a reference to the inner [<code>KeychainTxOutIndex</code>].</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.local_chain" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2332-2334">source</a><h4 class="code-header">pub fn <a href="#method.local_chain" class="fn">local_chain</a>(&amp;self) -&gt; &amp;LocalChain</h4></section></summary><div class="docblock"><p>Get a reference to the inner [<code>LocalChain</code>].</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_block" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2343-2361">source</a><h4 class="code-header">pub fn <a href="#method.apply_block" class="fn">apply_block</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.staged" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2311-2317">source</a><h4 class="code-header">pub fn <a href="#method.staged" class="fn">staged</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;<a class="type" href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet">ChangeSet</a>&gt;</h4></section></summary><div class="docblock"><p>Get a reference of the staged <a href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet"><code>ChangeSet</code></a> that are yet to be committed (if any).</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.take_staged" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2320-2322">source</a><h4 class="code-header">pub fn <a href="#method.take_staged" class="fn">take_staged</a>(&amp;mut 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;<a class="type" href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet">ChangeSet</a>&gt;</h4></section></summary><div class="docblock"><p>Take the staged <a href="type.ChangeSet.html" title="type bdk_wallet::wallet::ChangeSet"><code>ChangeSet</code></a> to be persisted now (if any).</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.tx_graph" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2325-2327">source</a><h4 class="code-header">pub fn <a href="#method.tx_graph" class="fn">tx_graph</a>(&amp;self) -&gt; &amp;TxGraph&lt;ConfirmationTimeHeightAnchor&gt;</h4></section></summary><div class="docblock"><p>Get a reference to the inner [<code>TxGraph</code>].</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.spk_index" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2330-2332">source</a><h4 class="code-header">pub fn <a href="#method.spk_index" class="fn">spk_index</a>(&amp;self) -&gt; &amp;KeychainTxOutIndex&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>&gt;</h4></section></summary><div class="docblock"><p>Get a reference to the inner [<code>KeychainTxOutIndex</code>].</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.local_chain" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2335-2337">source</a><h4 class="code-header">pub fn <a href="#method.local_chain" class="fn">local_chain</a>(&amp;self) -&gt; &amp;LocalChain</h4></section></summary><div class="docblock"><p>Get a reference to the inner [<code>LocalChain</code>].</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_block" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2346-2364">source</a><h4 class="code-header">pub fn <a href="#method.apply_block" class="fn">apply_block</a>(
     &amp;mut self,
     block: &amp;Block,
     height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>
@@ -404,7 +406,7 @@ to persist staged wallet changes see <a href="struct.Wallet.html#method.reveal_n
 <code>prev_blockhash</code> of the block’s header.</p>
 <p>This is a convenience method that is equivalent to calling <a href="struct.Wallet.html#method.apply_block_connected_to" title="method bdk_wallet::wallet::Wallet::apply_block_connected_to"><code>apply_block_connected_to</code></a>
 with <code>prev_blockhash</code> and <code>height-1</code> as the <code>connected_to</code> parameter.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_block_connected_to" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2373-2392">source</a><h4 class="code-header">pub fn <a href="#method.apply_block_connected_to" class="fn">apply_block_connected_to</a>(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_block_connected_to" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2376-2395">source</a><h4 class="code-header">pub fn <a href="#method.apply_block_connected_to" class="fn">apply_block_connected_to</a>(
     &amp;mut self,
     block: &amp;Block,
     height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
@@ -417,7 +419,7 @@ internal [<code>TxGraph</code>].</p>
 <p><strong>WARNING</strong>: You must persist the changes resulting from one or more calls to this method
 if you need the inserted block data to be reloaded after closing the wallet.
 See <a href="struct.Wallet.html#method.reveal_next_address" title="method bdk_wallet::wallet::Wallet::reveal_next_address"><code>Wallet::reveal_next_address</code></a>.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_unconfirmed_txs" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2406-2414">source</a><h4 class="code-header">pub fn <a href="#method.apply_unconfirmed_txs" class="fn">apply_unconfirmed_txs</a>&lt;'t&gt;(
+</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_unconfirmed_txs" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2409-2417">source</a><h4 class="code-header">pub fn <a href="#method.apply_unconfirmed_txs" class="fn">apply_unconfirmed_txs</a>&lt;'t&gt;(
     &amp;mut self,
     unconfirmed_txs: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = (&amp;'t Transaction, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)&gt;
 )</h4></section></summary><div class="docblock"><p>Apply relevant unconfirmed transactions to the wallet.</p>
@@ -429,18 +431,18 @@ when there is conflicting unconfirmed transactions. The transaction with the lat
 <p><strong>WARNING</strong>: You must persist the changes resulting from one or more calls to this method
 if you need the applied unconfirmed transactions to be reloaded after closing the wallet.
 See <a href="struct.Wallet.html#method.reveal_next_address" title="method bdk_wallet::wallet::Wallet::reveal_next_address"><code>Wallet::reveal_next_address</code></a>.</p>
-</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Wallet-1" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2418-2440">source</a><a href="#impl-Wallet-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section></summary><div class="docblock"><p>Methods to construct sync/full-scan requests for spk-based chain sources.</p>
-</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.start_sync_with_revealed_spks" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2424-2427">source</a><h4 class="code-header">pub fn <a href="#method.start_sync_with_revealed_spks" class="fn">start_sync_with_revealed_spks</a>(&amp;self) -&gt; SyncRequest</h4></section></summary><div class="docblock"><p>Create a partial [<code>SyncRequest</code>] for this wallet for all revealed spks.</p>
+</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Wallet-1" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2421-2443">source</a><a href="#impl-Wallet-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section></summary><div class="docblock"><p>Methods to construct sync/full-scan requests for spk-based chain sources.</p>
+</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.start_sync_with_revealed_spks" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2427-2430">source</a><h4 class="code-header">pub fn <a href="#method.start_sync_with_revealed_spks" class="fn">start_sync_with_revealed_spks</a>(&amp;self) -&gt; SyncRequest</h4></section></summary><div class="docblock"><p>Create a partial [<code>SyncRequest</code>] for this wallet for all revealed spks.</p>
 <p>This is the first step when performing a spk-based wallet partial sync, the returned
 [<code>SyncRequest</code>] collects all revealed script pubkeys from the wallet keychain needed to
 start a blockchain sync with a spk based blockchain client.</p>
-</div></details><details class="toggle method-toggle" open><summary><section id="method.start_full_scan" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2437-2439">source</a><h4 class="code-header">pub fn <a href="#method.start_full_scan" class="fn">start_full_scan</a>(&amp;self) -&gt; FullScanRequest&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>&gt;</h4></section></summary><div class="docblock"><p>Create a [`FullScanRequest] for this wallet.</p>
+</div></details><details class="toggle method-toggle" open><summary><section id="method.start_full_scan" class="method"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2440-2442">source</a><h4 class="code-header">pub fn <a href="#method.start_full_scan" class="fn">start_full_scan</a>(&amp;self) -&gt; FullScanRequest&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>&gt;</h4></section></summary><div class="docblock"><p>Create a [`FullScanRequest] for this wallet.</p>
 <p>This is the first step when performing a spk-based wallet full scan, the returned
 [`FullScanRequest] collects iterators for the wallet’s keychain script pub keys needed to
 start a blockchain full scan with a spk based blockchain client.</p>
 <p>This operation is generally only used when importing or restoring a previously used wallet
 in which the list of used scripts is not known.</p>
-</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3CTxGraph%3CConfirmationTimeHeightAnchor%3E%3E-for-Wallet" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2442-2446">source</a><a href="#impl-AsRef%3CTxGraph%3CConfirmationTimeHeightAnchor%3E%3E-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;TxGraph&lt;ConfirmationTimeHeightAnchor&gt;&gt; for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2443-2445">source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;TxGraph&lt;ConfirmationTimeHeightAnchor&gt;</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Wallet" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#99">source</a><a href="#impl-Debug-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</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/mod.rs.html#99">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></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-Wallet" class="impl"><a href="#impl-Freeze-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-RefUnwindSafe-for-Wallet" class="impl"><a href="#impl-RefUnwindSafe-for-Wallet" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-Send-for-Wallet" class="impl"><a href="#impl-Send-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-Sync-for-Wallet" class="impl"><a href="#impl-Sync-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-Unpin-for-Wallet" class="impl"><a href="#impl-Unpin-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-UnwindSafe-for-Wallet" class="impl"><a href="#impl-UnwindSafe-for-Wallet" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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
+</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-AsRef%3CTxGraph%3CConfirmationTimeHeightAnchor%3E%3E-for-Wallet" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2445-2449">source</a><a href="#impl-AsRef%3CTxGraph%3CConfirmationTimeHeightAnchor%3E%3E-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;TxGraph&lt;ConfirmationTimeHeightAnchor&gt;&gt; for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.as_ref" class="method trait-impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#2446-2448">source</a><a href="#method.as_ref" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref" class="fn">as_ref</a>(&amp;self) -&gt; &amp;TxGraph&lt;ConfirmationTimeHeightAnchor&gt;</h4></section></summary><div class='docblock'>Converts this type into a shared reference of the (usually inferred) input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Wallet" class="impl"><a class="src rightside" href="../../src/bdk_wallet/wallet/mod.rs.html#102">source</a><a href="#impl-Debug-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</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/mod.rs.html#102">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></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-Wallet" class="impl"><a href="#impl-Freeze-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-RefUnwindSafe-for-Wallet" class="impl"><a href="#impl-RefUnwindSafe-for-Wallet" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-Send-for-Wallet" class="impl"><a href="#impl-Send-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-Sync-for-Wallet" class="impl"><a href="#impl-Sync-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-Unpin-for-Wallet" class="impl"><a href="#impl-Unpin-for-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section><section id="impl-UnwindSafe-for-Wallet" class="impl"><a href="#impl-UnwindSafe-for-Wallet" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Wallet.html" title="struct bdk_wallet::wallet::Wallet">Wallet</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&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#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&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#208">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
     T: ?<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.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%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.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
     T: ?<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.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%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/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
index 413208981c65629a77c831c96777bbd903afaf78..b64cc0202533102e98f6fa52425432f736f24333 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The changes made to a wallet by applying an `Update`."><title>ChangeSet in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">ChangeSet</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#fields">Fields</a></h3><ul class="block field"><li><a href="#structfield.chain">chain</a></li><li><a href="#structfield.indexed_tx_graph">indexed_tx_graph</a></li><li><a href="#structfield.network">network</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="type" href="#">ChangeSet</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#149">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub type ChangeSet = CombinedChangeSet&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, ConfirmationTimeHeightAnchor&gt;;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The changes made to a wallet by applying an <a href="struct.Update.html" title="struct bdk_wallet::wallet::Update"><code>Update</code></a>.</p>
+<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The changes made to a wallet by applying an `Update`."><title>ChangeSet in bdk_wallet::wallet - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0-nightly (78a775127 2024-05-11)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><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_wallet</a><span class="version">1.0.0-alpha.13</span></h2></div><h2 class="location"><a href="#">ChangeSet</a></h2><div class="sidebar-elems"><section><h3><a href="#aliased-type">Aliased type</a></h3><h3><a href="#fields">Fields</a></h3><ul class="block field"><li><a href="#structfield.chain">chain</a></li><li><a href="#structfield.indexed_tx_graph">indexed_tx_graph</a></li><li><a href="#structfield.network">network</a></li></ul></section><h2><a href="index.html">In bdk_wallet::wallet</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Type Alias <a href="../index.html">bdk_wallet</a>::<wbr><a href="index.html">wallet</a>::<wbr><a class="type" href="#">ChangeSet</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/bdk_wallet/wallet/mod.rs.html#152">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub type ChangeSet = CombinedChangeSet&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>, ConfirmationTimeHeightAnchor&gt;;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The changes made to a wallet by applying an <a href="struct.Update.html" title="struct bdk_wallet::wallet::Update"><code>Update</code></a>.</p>
 </div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct ChangeSet {
     pub chain: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html" title="struct alloc::collections::btree::map::BTreeMap">BTreeMap</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BlockHash&gt;&gt;,
     pub indexed_tx_graph: ChangeSet&lt;ConfirmationTimeHeightAnchor, ChangeSet&lt;<a class="enum" href="../enum.KeychainKind.html" title="enum bdk_wallet::KeychainKind">KeychainKind</a>&gt;&gt;,
index d2770e14a85aa0e9bbafedc71f5d8cc479e7e428..b2b38deb4e6446a0f24cbac9767d78f7532150b1 100644 (file)
@@ -1 +1 @@
-searchState.loadedDescShard("bdk_chain", 0, "This crate is a collection of core structures for Bitcoin …\nTrait that “anchors” blockchain data to a specific …\nAn <code>Anchor</code> that can be constructed from a given block, …\nTrait that makes an object appendable.\nMaximum BIP32 derivation index.\nA reference to a block in the canonical chain.\nHow many confirmations are needed f or a coinbase output …\nRepresents a service that tracks the blockchain.\nRepresents the observed position of some chain data.\nA changeset containing <code>crate</code> structures typically …\nAn <code>Anchor</code> implementation that also records the exact …\nBlock height and timestamp at which a transaction is …\nAn <code>Anchor</code> implementation that also records the exact …\nThe chain data is seen as confirmed, and in anchored by <code>A</code>.\nThe transaction is confirmed\nA trait to extend the functionality of a miniscript …\nRepresents the ID of a descriptor, defined as the sha256 …\nError type.\nA <code>TxOut</code> with as much data as we can retrieve about it\nAn iterator for derived script pubkeys.\nAn index storing <code>TxOut</code>s that have a script pubkey that …\nThe chain data is not confirmed and last seen in the …\nThe transaction is unconfirmed\nThe script pubkeys that are being tracked by the index.\nReturns the <code>BlockId</code> that the associated blockchain data is …\nThe anchor block.\nThe anchor block.\nAppend another object of the same type onto <code>self</code>.\nReturns a reference to the inner hash (sha256, sh256d …\nChanges to the <code>LocalChain</code>.\nThe position of the transaction in <code>outpoint</code> in the overall …\nMaps a <code>ChainPosition&lt;&amp;A&gt;</code> into a <code>ChainPosition&lt;A&gt;</code> by …\nThe exact confirmation height of the transaction.\nThe confirmation height of the transaction being anchored.\nGet the upper bound of the chain data’s confirmation …\nGet the upper bound of the chain data’s confirmation …\nDetermines the upper bound of the confirmation height.\nThe confirmation time of the transaction being anchored.\nGet a reference to the internal descriptor.\nReturns the descriptor id, calculated as the sha256 of the …\nReturns the minimum value (in satoshis) at which an output …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct the anchor from a given <code>block</code>, block height and …\nCreates this wrapper type from the inner hash type.\nGet the best chain’s chain tip.\nThe hash of the block.\nThe height of the block.\nReturns the index associated with the script pubkey.\nContains the <code>IndexedTxGraph</code> and associated types. Refer to …\nChanges to <code>IndexedTxGraph</code>.\nAdds a script pubkey to scan for. Returns <code>false</code> and does …\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nDetermines whether <code>block</code> of <code>BlockId</code> exists as an ancestor …\nReturns whether <code>ChainPosition</code> is confirmed or not.\nReturns whether <code>ConfirmationTime</code> is the confirmed variant.\nWhether the utxo is/was/will be spendable with chain <code>tip</code>.\nReturns whether the structure is considered empty.\nWhether the <code>txout</code> is considered mature.\nWhether this output is on a coinbase transaction.\nWhether any of the inputs of this transaction spend a …\nReturns whether the script pubkey at <code>index</code> has been used …\nModule for keychain related structures.\nThe <code>LocalChain</code> is a local implementation of <code>ChainOracle</code>.\nMarks the script pubkey at <code>index</code> as used even though it …\nComputes the net value transfer effect of <code>tx</code> on the script …\nStores the network type of the transaction data.\nCreate a new script pubkey iterator from <code>descriptor</code>.\nCreate a new script pubkey iterator from <code>descriptor</code> and a …\nThe location of the <code>TxOut</code>.\nGet a reference to the set of indexed outpoints.\nIterates over all the outputs with script pubkeys in an …\nScans a transaction’s outputs for matching script …\nScan a single <code>TxOut</code> for a matching script pubkey and …\nComputes the total value transfer effect <code>tx</code> has on the …\nThe txid and chain position of the transaction (if any) …\nReturns the script that has been inserted at the <code>index</code>.\nHelper types for spk-based blockchain clients.\nTake the value, replacing it with the default value.\nTake the value, replacing it with the default value.\nReturns the inner hash (sha256, sh256d etc.).\nModule for structures that store and traverse transactions.\nReturns the txout and script pubkey index of the <code>TxOut</code> at …\nThe <code>TxOut</code>.\nIterate over all known txouts that spend to tracked script …\nFinds all txouts on a transaction that has previously been …\nConstruct an unconfirmed variant using the given <code>last_seen</code> …\nUndoes the effect of <code>mark_used</code>. Returns whether the <code>index</code> …\nIterates over all unused script pubkeys in an index range.\nConfirmation height.\nThe last-seen timestamp in unix seconds.\nConfirmation time in unix seconds.\nRepresents changes to an <code>IndexedTxGraph</code>.\nThe resultant “changeset” when new transaction data is …\nThe <code>IndexedTxGraph</code> combines a <code>TxGraph</code> and an <code>Indexer</code> …\nUtilities for indexing transaction data.\nBatch insert all transactions of the given <code>block</code> of <code>height</code>.\nBatch insert all transactions of the given <code>block</code> of <code>height</code>…\nApply changeset to itself.\nApplies the <code>ChangeSet</code> to the <code>IndexedTxGraph</code>.\nApply an <code>update</code> directly.\nBatch insert transactions, filtering out those that are …\nBatch insert unconfirmed transactions, filtering out those …\nBatch insert unconfirmed transactions.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGet a reference of the internal transaction graph.\n<code>TxGraph</code> changeset.\nTransaction index.\nScans a transaction for relevant outpoints, which are …\nScan and index the given <code>outpoint</code> and <code>txout</code>.\n<code>Indexer</code> changeset.\nDetermines the <code>ChangeSet</code> between <code>self</code> and an empty <code>Indexer</code>.\nDetermines the <code>ChangeSet</code> between <code>self</code> and an empty …\nInsert an <code>anchor</code> for a given transaction.\nInsert a unix timestamp of when a transaction is seen in …\nInsert and index a transaction into the graph.\nInsert a floating <code>txout</code> of given <code>outpoint</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nDetermines whether the transaction should be included in …\nConstruct a new <code>IndexedTxGraph</code> with a given <code>index</code>.\nBalance, differentiated into various categories.\nRepresents updates to the derivation index of a …\nThe default lookahead for a <code>KeychainTxOutIndex</code>\nThe descriptor has already been assigned to a keychain so …\nA tuple of keychain index and <code>T</code> representing the indexed …\nError returned from <code>KeychainTxOutIndex::insert_descriptor</code>\nThe keychain is already assigned to a descriptor so you can…\nA tuple of keychain <code>K</code>, derivation index (<code>u32</code>) and a <code>T</code> …\n<code>KeychainTxOutIndex</code> controls how script pubkeys are …\nThe keychain doesn’t exist. Most likley hasn’t been …\nGet unbounded spk iterators for all keychains.\nMerge another <code>ChangeSet&lt;K&gt;</code> into self.\nApplies the <code>ChangeSet&lt;K&gt;</code> to the <code>KeychainTxOutIndex&lt;K&gt;</code>\nConfirmed and immediately spendable balance\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets the descriptor associated with the keychain. Returns …\nAll coinbase outputs not yet matured\nReturns the keychain and keychain index associated with …\nReturn a reference to the internal <code>SpkTxOutIndex</code>.\nInsert a descriptor with a keychain associated to it.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nReturns whether the changeset are empty.\nReturns whether the spk under the <code>keychain</code>’s <code>index</code> has …\nIterate over all <code>OutPoint</code>s that have <code>TxOut</code>s with script …\nIterate over <code>OutPoint</code>s that have script pubkeys derived …\nReturn all keychains and their corresponding descriptors.\nContains the keychains that have been added and their …\nContains for each descriptor_id the last revealed index of …\nGet the last derivation index revealed for <code>keychain</code>. …\nGet the last derivation index that is revealed for each …\nReturns the highest derivation index of the <code>keychain</code> where …\nReturns the highest derivation index of each keychain that …\nGet the lookahead setting.\nStore lookahead scripts until <code>target_index</code> (inclusive).\nMarks the script pubkey at <code>index</code> as used even though the …\nComputes the net value that this transaction gives to the …\nConstruct a <code>KeychainTxOutIndex</code> with the given <code>lookahead</code>.\nGet the next derivation index for <code>keychain</code>. The next index …\nGets the next unused script pubkey in the keychain. I.e., …\nGet the set of indexed outpoints, corresponding to tracked …\nAttempts to reveal the next script pubkey for <code>keychain</code>.\nReveals script pubkeys of the <code>keychain</code>’s descriptor <strong>up </strong>…\nConvenience method to call <code>Self::reveal_to_target</code> on …\nIterate over revealed spks of the given <code>keychain</code> with …\nIterate over revealed spks of keychains in <code>range</code>\nComputes the total value transfer effect <code>tx</code> has on the …\nReturn the script that exists under the given <code>keychain</code>’s …\nGet the whole balance visible to the wallet.\nUnconfirmed UTXOs generated by a wallet tx\nGet sum of trusted_pending and confirmed coins.\nReturn the <code>TxOut</code> of <code>outpoint</code> if it has been indexed, and …\nIterate over known txouts that spend to tracked script …\nFinds all txouts on a transaction that has previously been …\nGet an unbounded spk iterator over a given <code>keychain</code>. …\nUndoes the effect of <code>mark_used</code>. Returns whether the <code>index</code> …\nUnconfirmed UTXOs received from an external wallet\nIterate over revealed, but unused, spks of the given …\nIterate over revealed, but unused, spks of all keychains.\nThe descriptor you have attempted to reassign\nThe keychain that the descriptor is already assigned to\nThe descriptor that the keychain is already assigned to\nThe keychain that you have attempted to reassign\nRepresents a failure when trying to insert/remove a …\nThe error type for <code>LocalChain::apply_header_connected_to</code>.\nOccurs when the update cannot connect with the original …\nOccurs when an update does not have a common checkpoint …\nThe <code>ChangeSet</code> represents changes to <code>LocalChain</code>.\nA <code>LocalChain</code> checkpoint is used to find the agreement …\nIterates over checkpoints backwards.\nOccurs when <code>connected_to</code> block conflicts with either the …\nThis is a local implementation of <code>ChainOracle</code>.\nAn error which occurs when a <code>LocalChain</code> is constructed …\nApply the given <code>changeset</code>.\nUpdate the chain with a given <code>Header</code> connecting it with …\nUpdate the chain with a given <code>Header</code> at <code>height</code> which you …\nApplies the given <code>update</code> to the chain.\nGet the <code>BlockId</code> of the checkpoint.\nRemoves blocks from (and inclusive of) the given <code>block_id</code>.\nExtends the checkpoint linked list by a iterator of block …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a checkpoint from a list of <code>BlockId</code>s in …\nConstructs a <code>LocalChain</code> from a <code>BTreeMap</code> of height to …\nConstruct a <code>LocalChain</code> from an initial <code>changeset</code>.\nConstruct <code>LocalChain</code> from genesis <code>hash</code>.\nConstruct a checkpoint from the given <code>header</code> and block …\nConstruct a <code>LocalChain</code> from a given <code>checkpoint</code> tip.\nGet the genesis hash.\nGet checkpoint at <code>height</code>.\nGet checkpoint at given <code>height</code> (if it exists).\nGet the block hash of the checkpoint.\nGet the height of the checkpoint.\nThe checkpoint’s height.\nDerives an initial <code>ChangeSet</code>, meaning that it can be …\nInserts <code>block_id</code> at its height within the chain.\nInsert a <code>BlockId</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nIterate from this checkpoint in descending height.\nIterate over checkpoints in descending height order.\nConstruct a new base block at the front of a linked list.\nThe original checkpoint’s block hash which cannot be …\nGet the previous checkpoint in the chain\nPuts another checkpoint onto the linked list representing …\nIterate checkpoints over a height range.\nIterate checkpoints over a height range.\nGet the highest checkpoint.\nThe suggested checkpoint to include to connect the two …\nThe attempted update to the <code>original_block</code> hash.\nData required to perform a spk-based blockchain client …\nData returned from a spk-based blockchain client full scan.\nData required to perform a spk-based blockchain client …\nData returned from a spk-based blockchain client sync.\nChain on additional <code>OutPoint</code>s that will be synced against.\nChain on additional <code>Script</code>s that will be synced against.\nChain on additional <code>Script</code>s that will be synced against.\nA checkpoint for the current chain <code>LocalChain::tip</code>. The …\nA checkpoint for the current <code>LocalChain::tip</code>. The full …\nChain on additional <code>Txid</code>s that will be synced against.\nThe update to apply to the receiving <code>LocalChain</code>.\nThe update to apply to the receiving <code>TxGraph</code>.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a new <code>SyncRequest</code> from a given <code>cp</code> tip.\nConstruct a new <code>FullScanRequest</code> from a given <code>chain_tip</code>.\nConstruct a new <code>FullScanRequest</code> from a given <code>chain_tip</code> and …\nThe update to apply to the receiving <code>TxGraph</code>.\nThe update to apply to the receiving <code>LocalChain</code>.\nAdd a closure that will be called for <code>OutPoint</code>s previously …\nAdd a closure that will be called for <code>Script</code>s previously …\nAdd a closure that will be called for every <code>Script</code> …\nAdd a closure that will be called for every <code>Script</code> …\nAdd a closure that will be called for <code>Txid</code>s previously …\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nLast active indices for the corresponding keychains (<code>K</code>).\nTransactions with these outpoints or spent from these …\nPopulate the request with revealed script pubkeys from …\nSet the <code>OutPoint</code>s that will be synced against.\nSet the <code>Script</code>s that will be synced against.\nSet the <code>Script</code>s for a given <code>keychain</code>.\nSet the <code>Txid</code>s that will be synced against.\nTransactions that spend from or to these indexed script …\nIterators of script pubkeys indexed by the keychain index.\nTransactions with these txids.\nErrors returned by <code>TxGraph::calculate_fee</code>.\nA transaction that is included in the chain, or is still …\nThe <code>ChangeSet</code> represents changes to a <code>TxGraph</code>.\nMissing <code>TxOut</code> for one or more of the inputs of the tx\nWhen the transaction is invalid according to the graph it …\nAn iterator that traverses ancestors of a given root …\nAn iterator that traverses transaction descendants.\nA graph of transactions and spends.\nA transaction node in the <code>TxGraph</code>.\nGet all transaction anchors known by <code>TxGraph</code>.\nIterate over all tx outputs known by <code>TxGraph</code>.\nIterates over the heights of that the new transaction …\nThe blocks that the transaction is “anchored” in.\nAdded anchors.\nApplies <code>ChangeSet</code> to <code>TxGraph</code>.\nExtends this graph with another so that <code>self</code> becomes the …\nGet the total balance of <code>outpoints</code> that are in <code>chain</code> of …\nBatch insert unconfirmed transactions.\nCalculates the fee of a given transaction. Returns …\nHow the transaction is observed as (confirmed or …\nGiven a transaction, return an iterator of txids that …\nGet a filtered list of outputs from the given <code>outpoints</code> …\nGet a filtered list of unspent outputs (UTXOs) from the …\nIterate over floating txouts known by <code>TxGraph</code>.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nIterate over all full transactions in the graph.\nGet the position of the transaction in <code>chain</code> with tip …\nGet the txid of the spending transaction and where the …\nGet a transaction by txid. This only returns <code>Some</code> for full …\nGet a transaction node by txid. This only returns <code>Some</code> for …\nObtains a single tx output (if any) at the specified …\nDetermines the <code>ChangeSet</code> between <code>self</code> and an empty <code>TxGraph</code>.\nInserts the given <code>anchor</code> into <code>TxGraph</code>.\nInserts the given <code>seen_at</code> for <code>txid</code> into <code>TxGraph</code>.\nInserts the given transaction into <code>TxGraph</code>.\nInserts the given <code>TxOut</code> at <code>OutPoint</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nWhether the graph has any transactions or outputs in it.\nAdded last-seen unix timestamps of transactions.\nThe last-seen unix timestamp of the transaction as …\nList graph transactions that are in <code>chain</code> with <code>chain_tip</code>.\nTransform the <code>TxGraph</code> to have <code>Anchor</code>s of another type.\nTransform the <code>ChangeSet</code> to have <code>Anchor</code>s of another type.\nConstruct a new <code>TxGraph</code> from a list of transactions.\nThe transactions spending from this output.\nGet the total balance of <code>outpoints</code> that are in <code>chain</code> of …\nGet a filtered list of outputs from the given <code>outpoints</code> …\nGet a filtered list of unspent outputs (UTXOs) from the …\nGet the position of the transaction in <code>chain</code> with tip …\nGet the txid of the spending transaction and where the …\nList graph transactions that are in <code>chain</code> with <code>chain_tip</code>.\nA partial or full representation of the transaction.\nThe transaction node (as part of the graph).\nReturns known outputs of a given <code>txid</code>.\nIterates over the transactions spending from <code>txid</code>.\nTxid of the transaction.\nIterates over all outpoints contained within <code>ChangeSet</code>.\nAdded txouts.\nAdded transactions.\nUpdate the last seen time for all unconfirmed transactions.\nCreates an iterator that filters and maps ancestor …\nCreates an iterator that both filters and maps conflicting …\nCreates an iterator that filters and maps descendants from …")
\ No newline at end of file
+searchState.loadedDescShard("bdk_chain", 0, "This crate is a collection of core structures for Bitcoin …\nTrait that “anchors” blockchain data to a specific …\nAn <code>Anchor</code> that can be constructed from a given block, …\nTrait that makes an object appendable.\nMaximum BIP32 derivation index.\nA reference to a block in the canonical chain.\nHow many confirmations are needed f or a coinbase output …\nRepresents a service that tracks the blockchain.\nRepresents the observed position of some chain data.\nA changeset containing <code>crate</code> structures typically …\nAn <code>Anchor</code> implementation that also records the exact …\nBlock height and timestamp at which a transaction is …\nAn <code>Anchor</code> implementation that also records the exact …\nThe chain data is seen as confirmed, and in anchored by <code>A</code>.\nThe transaction is confirmed\nA trait to extend the functionality of a miniscript …\nRepresents the unique ID of a descriptor.\nError type.\nA <code>TxOut</code> with as much data as we can retrieve about it\nAn iterator for derived script pubkeys.\nAn index storing <code>TxOut</code>s that have a script pubkey that …\nThe chain data is not confirmed and last seen in the …\nThe transaction is unconfirmed\nThe script pubkeys that are being tracked by the index.\nReturns the <code>BlockId</code> that the associated blockchain data is …\nThe anchor block.\nThe anchor block.\nAppend another object of the same type onto <code>self</code>.\nReturns a reference to the inner hash (sha256, sh256d …\nChanges to the <code>LocalChain</code>.\nThe position of the transaction in <code>outpoint</code> in the overall …\nMaps a <code>ChainPosition&lt;&amp;A&gt;</code> into a <code>ChainPosition&lt;A&gt;</code> by …\nThe exact confirmation height of the transaction.\nThe confirmation height of the transaction being anchored.\nGet the upper bound of the chain data’s confirmation …\nGet the upper bound of the chain data’s confirmation …\nDetermines the upper bound of the confirmation height.\nThe confirmation time of the transaction being anchored.\nGet a reference to the internal descriptor.\nReturns the descriptor ID, calculated as the sha256 hash …\nReturns the minimum value (in satoshis) at which an output …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct the anchor from a given <code>block</code>, block height and …\nCreates this wrapper type from the inner hash type.\nGet the best chain’s chain tip.\nThe hash of the block.\nThe height of the block.\nReturns the index associated with the script pubkey.\nContains the <code>IndexedTxGraph</code> and associated types. Refer to …\nChanges to <code>IndexedTxGraph</code>.\nAdds a script pubkey to scan for. Returns <code>false</code> and does …\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nDetermines whether <code>block</code> of <code>BlockId</code> exists as an ancestor …\nReturns whether <code>ChainPosition</code> is confirmed or not.\nReturns whether <code>ConfirmationTime</code> is the confirmed variant.\nWhether the utxo is/was/will be spendable with chain <code>tip</code>.\nReturns whether the structure is considered empty.\nWhether the <code>txout</code> is considered mature.\nWhether this output is on a coinbase transaction.\nWhether any of the inputs of this transaction spend a …\nReturns whether the script pubkey at <code>index</code> has been used …\nModule for keychain related structures.\nThe <code>LocalChain</code> is a local implementation of <code>ChainOracle</code>.\nMarks the script pubkey at <code>index</code> as used even though it …\nComputes the net value transfer effect of <code>tx</code> on the script …\nStores the network type of the transaction data.\nCreate a new script pubkey iterator from <code>descriptor</code>.\nCreate a new script pubkey iterator from <code>descriptor</code> and a …\nThe location of the <code>TxOut</code>.\nGet a reference to the set of indexed outpoints.\nIterates over all the outputs with script pubkeys in an …\nScans a transaction’s outputs for matching script …\nScan a single <code>TxOut</code> for a matching script pubkey and …\nComputes the total value transfer effect <code>tx</code> has on the …\nThe txid and chain position of the transaction (if any) …\nReturns the script that has been inserted at the <code>index</code>.\nHelper types for spk-based blockchain clients.\nTake the value, replacing it with the default value.\nTake the value, replacing it with the default value.\nReturns the inner hash (sha256, sh256d etc.).\nModule for structures that store and traverse transactions.\nReturns the txout and script pubkey index of the <code>TxOut</code> at …\nThe <code>TxOut</code>.\nIterate over all known txouts that spend to tracked script …\nFinds all txouts on a transaction that has previously been …\nConstruct an unconfirmed variant using the given <code>last_seen</code> …\nUndoes the effect of <code>mark_used</code>. Returns whether the <code>index</code> …\nIterates over all unused script pubkeys in an index range.\nConfirmation height.\nThe last-seen timestamp in unix seconds.\nConfirmation time in unix seconds.\nRepresents changes to an <code>IndexedTxGraph</code>.\nThe resultant “changeset” when new transaction data is …\nThe <code>IndexedTxGraph</code> combines a <code>TxGraph</code> and an <code>Indexer</code> …\nUtilities for indexing transaction data.\nBatch insert all transactions of the given <code>block</code> of <code>height</code>.\nBatch insert all transactions of the given <code>block</code> of <code>height</code>…\nApply changeset to itself.\nApplies the <code>ChangeSet</code> to the <code>IndexedTxGraph</code>.\nApply an <code>update</code> directly.\nBatch insert transactions, filtering out those that are …\nBatch insert unconfirmed transactions, filtering out those …\nBatch insert unconfirmed transactions.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGet a reference of the internal transaction graph.\n<code>TxGraph</code> changeset.\nTransaction index.\nScans a transaction for relevant outpoints, which are …\nScan and index the given <code>outpoint</code> and <code>txout</code>.\n<code>Indexer</code> changeset.\nDetermines the <code>ChangeSet</code> between <code>self</code> and an empty <code>Indexer</code>.\nDetermines the <code>ChangeSet</code> between <code>self</code> and an empty …\nInsert an <code>anchor</code> for a given transaction.\nInsert a unix timestamp of when a transaction is seen in …\nInsert and index a transaction into the graph.\nInsert a floating <code>txout</code> of given <code>outpoint</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nDetermines whether the transaction should be included in …\nConstruct a new <code>IndexedTxGraph</code> with a given <code>index</code>.\nBalance, differentiated into various categories.\nRepresents updates to the derivation index of a …\nThe default lookahead for a <code>KeychainTxOutIndex</code>\nThe descriptor has already been assigned to a keychain so …\nA tuple of keychain index and <code>T</code> representing the indexed …\nError returned from <code>KeychainTxOutIndex::insert_descriptor</code>\nThe keychain is already assigned to a descriptor so you can…\nA tuple of keychain <code>K</code>, derivation index (<code>u32</code>) and a <code>T</code> …\n<code>KeychainTxOutIndex</code> controls how script pubkeys are …\nThe keychain doesn’t exist. Most likley hasn’t been …\nGet unbounded spk iterators for all keychains.\nMerge another <code>ChangeSet&lt;K&gt;</code> into self.\nApplies the <code>ChangeSet&lt;K&gt;</code> to the <code>KeychainTxOutIndex&lt;K&gt;</code>\nConfirmed and immediately spendable balance\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets the descriptor associated with the keychain. Returns …\nAll coinbase outputs not yet matured\nReturns the keychain and keychain index associated with …\nReturn a reference to the internal <code>SpkTxOutIndex</code>.\nInsert a descriptor with a keychain associated to it.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nReturns whether the changeset are empty.\nReturns whether the spk under the <code>keychain</code>’s <code>index</code> has …\nIterate over all <code>OutPoint</code>s that have <code>TxOut</code>s with script …\nIterate over <code>OutPoint</code>s that have script pubkeys derived …\nReturn all keychains and their corresponding descriptors.\nContains the keychains that have been added and their …\nContains for each descriptor_id the last revealed index of …\nGet the last derivation index revealed for <code>keychain</code>. …\nGet the last derivation index that is revealed for each …\nReturns the highest derivation index of the <code>keychain</code> where …\nReturns the highest derivation index of each keychain that …\nGet the lookahead setting.\nStore lookahead scripts until <code>target_index</code> (inclusive).\nMarks the script pubkey at <code>index</code> as used even though the …\nComputes the net value that this transaction gives to the …\nConstruct a <code>KeychainTxOutIndex</code> with the given <code>lookahead</code>.\nGet the next derivation index for <code>keychain</code>. The next index …\nGets the next unused script pubkey in the keychain. I.e., …\nGet the set of indexed outpoints, corresponding to tracked …\nAttempts to reveal the next script pubkey for <code>keychain</code>.\nReveals script pubkeys of the <code>keychain</code>’s descriptor <strong>up </strong>…\nConvenience method to call <code>Self::reveal_to_target</code> on …\nIterate over revealed spks of the given <code>keychain</code> with …\nIterate over revealed spks of keychains in <code>range</code>\nComputes the total value transfer effect <code>tx</code> has on the …\nReturn the script that exists under the given <code>keychain</code>’s …\nGet the whole balance visible to the wallet.\nUnconfirmed UTXOs generated by a wallet tx\nGet sum of trusted_pending and confirmed coins.\nReturn the <code>TxOut</code> of <code>outpoint</code> if it has been indexed, and …\nIterate over known txouts that spend to tracked script …\nFinds all txouts on a transaction that has previously been …\nGet an unbounded spk iterator over a given <code>keychain</code>. …\nUndoes the effect of <code>mark_used</code>. Returns whether the <code>index</code> …\nUnconfirmed UTXOs received from an external wallet\nIterate over revealed, but unused, spks of the given …\nIterate over revealed, but unused, spks of all keychains.\nThe descriptor you have attempted to reassign\nThe keychain that the descriptor is already assigned to\nThe descriptor that the keychain is already assigned to\nThe keychain that you have attempted to reassign\nRepresents a failure when trying to insert/remove a …\nThe error type for <code>LocalChain::apply_header_connected_to</code>.\nOccurs when the update cannot connect with the original …\nOccurs when an update does not have a common checkpoint …\nThe <code>ChangeSet</code> represents changes to <code>LocalChain</code>.\nA <code>LocalChain</code> checkpoint is used to find the agreement …\nIterates over checkpoints backwards.\nOccurs when <code>connected_to</code> block conflicts with either the …\nThis is a local implementation of <code>ChainOracle</code>.\nAn error which occurs when a <code>LocalChain</code> is constructed …\nApply the given <code>changeset</code>.\nUpdate the chain with a given <code>Header</code> connecting it with …\nUpdate the chain with a given <code>Header</code> at <code>height</code> which you …\nApplies the given <code>update</code> to the chain.\nGet the <code>BlockId</code> of the checkpoint.\nRemoves blocks from (and inclusive of) the given <code>block_id</code>.\nExtends the checkpoint linked list by a iterator of block …\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a checkpoint from a list of <code>BlockId</code>s in …\nConstructs a <code>LocalChain</code> from a <code>BTreeMap</code> of height to …\nConstruct a <code>LocalChain</code> from an initial <code>changeset</code>.\nConstruct <code>LocalChain</code> from genesis <code>hash</code>.\nConstruct a checkpoint from the given <code>header</code> and block …\nConstruct a <code>LocalChain</code> from a given <code>checkpoint</code> tip.\nGet the genesis hash.\nGet checkpoint at <code>height</code>.\nGet checkpoint at given <code>height</code> (if it exists).\nGet the block hash of the checkpoint.\nGet the height of the checkpoint.\nThe checkpoint’s height.\nDerives an initial <code>ChangeSet</code>, meaning that it can be …\nInserts <code>block_id</code> at its height within the chain.\nInsert a <code>BlockId</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nIterate from this checkpoint in descending height.\nIterate over checkpoints in descending height order.\nConstruct a new base block at the front of a linked list.\nThe original checkpoint’s block hash which cannot be …\nGet the previous checkpoint in the chain\nPuts another checkpoint onto the linked list representing …\nIterate checkpoints over a height range.\nIterate checkpoints over a height range.\nGet the highest checkpoint.\nThe suggested checkpoint to include to connect the two …\nThe attempted update to the <code>original_block</code> hash.\nData required to perform a spk-based blockchain client …\nData returned from a spk-based blockchain client full scan.\nData required to perform a spk-based blockchain client …\nData returned from a spk-based blockchain client sync.\nChain on additional <code>OutPoint</code>s that will be synced against.\nChain on additional <code>Script</code>s that will be synced against.\nChain on additional <code>Script</code>s that will be synced against.\nA checkpoint for the current chain <code>LocalChain::tip</code>. The …\nA checkpoint for the current <code>LocalChain::tip</code>. The full …\nChain on additional <code>Txid</code>s that will be synced against.\nThe update to apply to the receiving <code>LocalChain</code>.\nThe update to apply to the receiving <code>TxGraph</code>.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nConstruct a new <code>SyncRequest</code> from a given <code>cp</code> tip.\nConstruct a new <code>FullScanRequest</code> from a given <code>chain_tip</code>.\nConstruct a new <code>FullScanRequest</code> from a given <code>chain_tip</code> and …\nThe update to apply to the receiving <code>TxGraph</code>.\nThe update to apply to the receiving <code>LocalChain</code>.\nAdd a closure that will be called for <code>OutPoint</code>s previously …\nAdd a closure that will be called for <code>Script</code>s previously …\nAdd a closure that will be called for every <code>Script</code> …\nAdd a closure that will be called for every <code>Script</code> …\nAdd a closure that will be called for <code>Txid</code>s previously …\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nLast active indices for the corresponding keychains (<code>K</code>).\nTransactions with these outpoints or spent from these …\nPopulate the request with revealed script pubkeys from …\nSet the <code>OutPoint</code>s that will be synced against.\nSet the <code>Script</code>s that will be synced against.\nSet the <code>Script</code>s for a given <code>keychain</code>.\nSet the <code>Txid</code>s that will be synced against.\nTransactions that spend from or to these indexed script …\nIterators of script pubkeys indexed by the keychain index.\nTransactions with these txids.\nErrors returned by <code>TxGraph::calculate_fee</code>.\nA transaction that is included in the chain, or is still …\nThe <code>ChangeSet</code> represents changes to a <code>TxGraph</code>.\nMissing <code>TxOut</code> for one or more of the inputs of the tx\nWhen the transaction is invalid according to the graph it …\nAn iterator that traverses ancestors of a given root …\nAn iterator that traverses transaction descendants.\nA graph of transactions and spends.\nA transaction node in the <code>TxGraph</code>.\nGet all transaction anchors known by <code>TxGraph</code>.\nIterate over all tx outputs known by <code>TxGraph</code>.\nIterates over the heights of that the new transaction …\nThe blocks that the transaction is “anchored” in.\nAdded anchors.\nApplies <code>ChangeSet</code> to <code>TxGraph</code>.\nExtends this graph with another so that <code>self</code> becomes the …\nGet the total balance of <code>outpoints</code> that are in <code>chain</code> of …\nBatch insert unconfirmed transactions.\nCalculates the fee of a given transaction. Returns …\nHow the transaction is observed as (confirmed or …\nGiven a transaction, return an iterator of txids that …\nGet a filtered list of outputs from the given <code>outpoints</code> …\nGet a filtered list of unspent outputs (UTXOs) from the …\nIterate over floating txouts known by <code>TxGraph</code>.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nIterate over all full transactions in the graph.\nGet the position of the transaction in <code>chain</code> with tip …\nGet the txid of the spending transaction and where the …\nGet a transaction by txid. This only returns <code>Some</code> for full …\nGet a transaction node by txid. This only returns <code>Some</code> for …\nObtains a single tx output (if any) at the specified …\nDetermines the <code>ChangeSet</code> between <code>self</code> and an empty <code>TxGraph</code>.\nInserts the given <code>anchor</code> into <code>TxGraph</code>.\nInserts the given <code>seen_at</code> for <code>txid</code> into <code>TxGraph</code>.\nInserts the given transaction into <code>TxGraph</code>.\nInserts the given <code>TxOut</code> at <code>OutPoint</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nCalls <code>U::from(self)</code>.\nWhether the graph has any transactions or outputs in it.\nAdded last-seen unix timestamps of transactions.\nThe last-seen unix timestamp of the transaction as …\nList graph transactions that are in <code>chain</code> with <code>chain_tip</code>.\nTransform the <code>TxGraph</code> to have <code>Anchor</code>s of another type.\nTransform the <code>ChangeSet</code> to have <code>Anchor</code>s of another type.\nConstruct a new <code>TxGraph</code> from a list of transactions.\nThe transactions spending from this output.\nGet the total balance of <code>outpoints</code> that are in <code>chain</code> of …\nGet a filtered list of outputs from the given <code>outpoints</code> …\nGet a filtered list of unspent outputs (UTXOs) from the …\nGet the position of the transaction in <code>chain</code> with tip …\nGet the txid of the spending transaction and where the …\nList graph transactions that are in <code>chain</code> with <code>chain_tip</code>.\nA partial or full representation of the transaction.\nThe transaction node (as part of the graph).\nReturns known outputs of a given <code>txid</code>.\nIterates over the transactions spending from <code>txid</code>.\nTxid of the transaction.\nIterates over all outpoints contained within <code>ChangeSet</code>.\nAdded txouts.\nAdded transactions.\nUpdate the last seen time for all unconfirmed transactions.\nCreates an iterator that filters and maps ancestor …\nCreates an iterator that both filters and maps conflicting …\nCreates an iterator that filters and maps descendants from …")
\ No newline at end of file
index 5c5c89737e615360eb53e744a2d1141dc51e3730..06e3db5eda936962b3aaf2b34c1dff742910412c 100644 (file)
 <a href="#36" id="36">36</a>
 <a href="#37" id="37">37</a>
 <a href="#38" id="38">38</a>
-<a href="#39" id="39">39</a>
-<a href="#40" id="40">40</a>
-<a href="#41" id="41">41</a>
-<a href="#42" id="42">42</a>
-<a href="#43" id="43">43</a>
-<a href="#44" id="44">44</a>
-</pre></div><pre class="rust"><code><span class="kw">use crate</span>::{
-    alloc::{string::ToString, vec::Vec},
-    miniscript::{Descriptor, DescriptorPublicKey},
-};
+</pre></div><pre class="rust"><code><span class="kw">use </span><span class="kw">crate</span>::miniscript::{Descriptor, DescriptorPublicKey};
 <span class="kw">use </span>bitcoin::hashes::{hash_newtype, sha256, Hash};
 
 <span class="macro">hash_newtype!</span> {
-    <span class="doccomment">/// Represents the ID of a descriptor, defined as the sha256 hash of
-    /// the descriptor string, checksum excluded.
+    <span class="doccomment">/// Represents the unique ID of a descriptor.
     ///
     /// This is useful for having a fixed-length unique representation of a descriptor,
     /// in particular, we use it to persist application state changes related to the
@@ -65,8 +55,8 @@
     /// Panics if the descriptor wildcard is hardened.
     </span><span class="kw">fn </span>dust_value(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; u64;
 
-    <span class="doccomment">/// Returns the descriptor id, calculated as the sha256 of the descriptor, checksum not
-    /// included.
+    <span class="doccomment">/// Returns the descriptor ID, calculated as the sha256 hash of the spk derived from the
+    /// descriptor at index 0.
     </span><span class="kw">fn </span>descriptor_id(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; DescriptorId;
 }
 
     }
 
     <span class="kw">fn </span>descriptor_id(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; DescriptorId {
-        <span class="kw">let </span>desc = <span class="self">self</span>.to_string();
-        <span class="kw">let </span>desc_without_checksum = desc.split(<span class="string">'#'</span>).next().expect(<span class="string">"Must be here"</span>);
-        <span class="kw">let </span>descriptor_bytes = &lt;Vec&lt;u8&gt;&gt;::from(desc_without_checksum.as_bytes());
-        DescriptorId(sha256::Hash::hash(<span class="kw-2">&amp;</span>descriptor_bytes))
+        <span class="kw">let </span>spk = <span class="self">self</span>.at_derivation_index(<span class="number">0</span>).unwrap().script_pubkey();
+        DescriptorId(sha256::Hash::hash(spk.as_bytes()))
     }
 }
 </code></pre></div></section></main></body></html>
\ No newline at end of file
index 5f11a8c364c006e1f0c34b0418e989d36a3f3f48..4b41b46941e66b567676be358818589bfde8f268 100644 (file)
 <a href="#937" id="937">937</a>
 <a href="#938" id="938">938</a>
 <a href="#939" id="939">939</a>
+<a href="#940" id="940">940</a>
+<a href="#941" id="941">941</a>
+<a href="#942" id="942">942</a>
+<a href="#943" id="943">943</a>
+<a href="#944" id="944">944</a>
+<a href="#945" id="945">945</a>
+<a href="#946" id="946">946</a>
 </pre></div><pre class="rust"><code><span class="kw">use crate</span>::{
     collections::<span class="kw-2">*</span>,
     indexed_tx_graph::Indexer,
     ///
     /// keychain &lt;-&gt; descriptor is a one-to-one mapping that cannot be changed. Attempting to do so
     /// will return a [`InsertDescriptorError&lt;K&gt;`].
+    ///
+    /// `[KeychainTxOutIndex]` will prevent you from inserting two descriptors which derive the same
+    /// script pubkey at index 0, but it's up to you to ensure that descriptors don't collide at
+    /// other indices. If they do nothing catastrophic happens at the `KeychainTxOutIndex` level
+    /// (one keychain just becomes the defacto owner of that spk arbitrarily) but this may have
+    /// subtle implications up the application stack like one UTXO being missing from one keychain
+    /// because it has been assigned to another which produces the same script pubkey.
     </span><span class="kw">pub fn </span>insert_descriptor(
         <span class="kw-2">&amp;mut </span><span class="self">self</span>,
         keychain: K,
index 2dc36c2edc4ffb41246303b740c0c26b36e59c1e..e5285f86af3537049e3e94e8583430da6eb7952d 100644 (file)
 <a href="#2572" id="2572">2572</a>
 <a href="#2573" id="2573">2573</a>
 <a href="#2574" id="2574">2574</a>
+<a href="#2575" id="2575">2575</a>
+<a href="#2576" id="2576">2576</a>
+<a href="#2577" id="2577">2577</a>
 </pre></div><pre class="rust"><code><span class="comment">// Bitcoin Dev Kit
 // Written in 2020 by Alekos Filini &lt;alekos.filini@gmail.com&gt;
 //
 /// [`ChangeSet`]s (see [`take_staged`]). Also see individual functions and example for instructions
 /// on when [`Wallet`] state needs to be persisted.
 ///
+/// The `Wallet` descriptor (external) and change descriptor (internal) must not derive the same
+/// script pubkeys. See [`KeychainTxOutIndex::insert_descriptor()`] for more details.
+///
 /// [`signer`]: crate::signer
 /// [`take_staged`]: Wallet::take_staged
 </span><span class="attr">#[derive(Debug)]
index a405cef60fb06462df5cfb9a2aa86927574667b1..56184c4331841eb5130149daee124e39721e9fcd 100644 (file)
@@ -1,3 +1,3 @@
 (function() {var type_impls = {
-"bdk_wallet":[["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Clone-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Clone-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <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=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.clone\" class=\"method trait-impl\"><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=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</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>","Clone","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Debug-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Debug-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <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=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.fmt\" class=\"method trait-impl\"><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=\"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>, <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html\" title=\"struct core::fmt::Error\">Error</a>&gt;</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>","Debug","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CDefiniteDescriptorKey%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CDefiniteDescriptorKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.derived_descriptor\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.derived_descriptor\" class=\"fn\">derived_descriptor</a>&lt;C&gt;(\n    &amp;self,\n    secp: &amp;Secp256k1&lt;C&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;PublicKey&gt;, ConversionError&gt;<div class=\"where\">where\n    C: Verification,</div></h4></section></summary><div class=\"docblock\"><p>Convert all the public keys in the descriptor to [<code>bitcoin::PublicKey</code>] by deriving them or\notherwise converting them. All [<code>bitcoin::secp256k1::XOnlyPublicKey</code>]s are converted to by adding a\ndefault(0x02) y-coordinate.</p>\n<h5 id=\"examples\"><a class=\"doc-anchor\" href=\"#examples\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>miniscript::descriptor::{Descriptor, DescriptorPublicKey};\n<span class=\"kw\">use </span>miniscript::bitcoin::secp256k1;\n<span class=\"kw\">use </span>std::str::FromStr;\n\n<span class=\"comment\">// test from bip 86\n</span><span class=\"kw\">let </span>secp = secp256k1::Secp256k1::verification_only();\n<span class=\"kw\">let </span>descriptor = Descriptor::&lt;DescriptorPublicKey&gt;::from_str(<span class=\"string\">\"tr(xpub6BgBgsespWvERF3LHQu6CnqdvfEvtMcQjYrcRzx53QJjSxarj2afYWcLteoGVky7D3UKDP9QyrLprQ3VCECoY49yfdDEHGCtMMj92pReUsQ/0/*)\"</span>)\n    .expect(<span class=\"string\">\"Valid ranged descriptor\"</span>);\n<span class=\"kw\">let </span>result = descriptor.at_derivation_index(<span class=\"number\">0</span>).unwrap().derived_descriptor(<span class=\"kw-2\">&amp;</span>secp).expect(<span class=\"string\">\"Non-hardened derivation\"</span>);\n<span class=\"macro\">assert_eq!</span>(result.to_string(), <span class=\"string\">\"tr(03cc8a4bc64d897bddc5fbc2f670f7a8ba0b386779106cf1223c6fc5d7cd6fc115)#6qm9h8ym\"</span>);</code></pre></div>\n<h5 id=\"errors\"><a class=\"doc-anchor\" href=\"#errors\">§</a>Errors</h5>\n<p>This function will return an error if hardened derivation is attempted.</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CDefiniteDescriptorKey%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CDefiniteDescriptorKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.plan\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.plan\" class=\"fn\">plan</a>&lt;P&gt;(\n    self,\n    provider: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;P</a>\n) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;Plan, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;&gt;<div class=\"where\">where\n    P: AssetProvider&lt;DefiniteDescriptorKey&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Returns a plan if the provided assets are sufficient to produce a non-malleable satisfaction</p>\n<p>If the assets aren’t sufficient for generating a Plan, the descriptor is returned</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.plan_mall\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.plan_mall\" class=\"fn\">plan_mall</a>&lt;P&gt;(\n    self,\n    provider: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;P</a>\n) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;Plan, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;&gt;<div class=\"where\">where\n    P: AssetProvider&lt;DefiniteDescriptorKey&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Returns a plan if the provided assets are sufficient to produce a malleable satisfaction</p>\n<p>If the assets aren’t sufficient for generating a Plan, the descriptor is returned</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CDescriptorPublicKey%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CDescriptorPublicKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.is_deriveable\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.is_deriveable\" class=\"fn\">is_deriveable</a>(&amp;self) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section><span class=\"item-info\"><div class=\"stab deprecated\"><span class=\"emoji\">👎</span><span>Deprecated: use has_wildcards instead</span></div></span></summary><div class=\"docblock\"><p>Whether or not the descriptor has any wildcards</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.has_wildcard\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.has_wildcard\" class=\"fn\">has_wildcard</a>(&amp;self) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class=\"docblock\"><p>Whether or not the descriptor has any wildcards i.e. <code>/*</code>.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.at_derivation_index\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.at_derivation_index\" class=\"fn\">at_derivation_index</a>(\n    &amp;self,\n    index: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;, ConversionError&gt;</h4></section></summary><div class=\"docblock\"><p>Replaces all wildcards (i.e. <code>/*</code>) in the descriptor with a particular derivation index,\nturning it into a <em>definite</em> descriptor.</p>\n<h5 id=\"errors\"><a class=\"doc-anchor\" href=\"#errors\">§</a>Errors</h5>\n<ul>\n<li>If index ≥ 2^31</li>\n</ul>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.derive\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.derive\" class=\"fn\">derive</a>(\n    &amp;self,\n    index: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;, ConversionError&gt;</h4></section><span class=\"item-info\"><div class=\"stab deprecated\"><span class=\"emoji\">👎</span><span>Deprecated: use at_derivation_index instead</span></div></span></summary><div class=\"docblock\"><p>Deprecated name for <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#method.at_derivation_index\" title=\"method bdk_wallet::descriptor::Descriptor::at_derivation_index\"><code>Self::at_derivation_index</code></a>.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.derived_descriptor\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.derived_descriptor\" class=\"fn\">derived_descriptor</a>&lt;C&gt;(\n    &amp;self,\n    secp: &amp;Secp256k1&lt;C&gt;,\n    index: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;PublicKey&gt;, ConversionError&gt;<div class=\"where\">where\n    C: Verification,</div></h4></section></summary><div class=\"docblock\"><p>Convert all the public keys in the descriptor to [<code>bitcoin::PublicKey</code>] by deriving them or\notherwise converting them. All [<code>bitcoin::secp256k1::XOnlyPublicKey</code>]s are converted to by adding a\ndefault(0x02) y-coordinate.</p>\n<p>This is a shorthand for:</p>\n\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code>    .expect(<span class=\"string\">\"Valid ranged descriptor\"</span>);\n<span class=\"kw\">let </span>derived_descriptor = descriptor.at_derivation_index(index).unwrap().derived_descriptor(<span class=\"kw-2\">&amp;</span>secp).unwrap();</code></pre></div>\n<p>and is only here really here for backwards compatbility.\nSee <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#method.at_derivation_index\" title=\"method bdk_wallet::descriptor::Descriptor::at_derivation_index\"><code>at_derivation_index</code></a> and <code>[derived_descriptor</code>] for more documentation.</p>\n<h5 id=\"errors-1\"><a class=\"doc-anchor\" href=\"#errors-1\">§</a>Errors</h5>\n<p>This function will return an error if hardened derivation is attempted.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.parse_descriptor\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.parse_descriptor\" class=\"fn\">parse_descriptor</a>&lt;C&gt;(\n    secp: &amp;Secp256k1&lt;C&gt;,\n    s: &amp;<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.str.html\">str</a>\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;, <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html\" title=\"struct alloc::collections::btree::map::BTreeMap\">BTreeMap</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>, <a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorSecretKey.html\" title=\"enum bdk_wallet::keys::DescriptorSecretKey\">DescriptorSecretKey</a>&gt;), Error&gt;<div class=\"where\">where\n    C: Signing,</div></h4></section></summary><div class=\"docblock\"><p>Parse a descriptor that may contain secret keys</p>\n<p>Internally turns every secret key found into the corresponding public key and then returns a\na descriptor that only contains public keys and a map to lookup the secret key given a public key.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.to_string_with_secret\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.to_string_with_secret\" class=\"fn\">to_string_with_secret</a>(\n    &amp;self,\n    key_map: &amp;<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html\" title=\"struct alloc::collections::btree::map::BTreeMap\">BTreeMap</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>, <a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorSecretKey.html\" title=\"enum bdk_wallet::keys::DescriptorSecretKey\">DescriptorSecretKey</a>&gt;\n) -&gt; <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/string/struct.String.html\" title=\"struct alloc::string::String\">String</a></h4></section></summary><div class=\"docblock\"><p>Serialize a descriptor to string with its secret keys</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.find_derivation_index_for_spk\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.find_derivation_index_for_spk\" class=\"fn\">find_derivation_index_for_spk</a>&lt;C&gt;(\n    &amp;self,\n    secp: &amp;Secp256k1&lt;C&gt;,\n    script_pubkey: &amp;Script,\n    range: <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html\" title=\"struct core::ops::range::Range\">Range</a>&lt;<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>&gt;\n) -&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=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a>&lt;(<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;PublicKey&gt;)&gt;, ConversionError&gt;<div class=\"where\">where\n    C: Verification,</div></h4></section></summary><div class=\"docblock\"><p>Utility method for deriving the descriptor at each index in a range to find one matching\n<code>script_pubkey</code>.</p>\n<p>If it finds a match then it returns the index it was derived at and the concrete\ndescriptor at that index. If the descriptor is non-derivable then it will simply check the\nscript pubkey against the descriptor and return it if it matches (in this case the index\nreturned will be meaningless).</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.is_multipath\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.is_multipath\" class=\"fn\">is_multipath</a>(&amp;self) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class=\"docblock\"><p>Whether this descriptor contains a key that has multiple derivation paths.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.into_single_descriptors\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.into_single_descriptors\" class=\"fn\">into_single_descriptors</a>(\n    self\n) -&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=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Get as many descriptors as different paths in this descriptor.</p>\n<p>For multipath descriptors it will return as many descriptors as there is\n“parallel” paths. For regular descriptors it will just return itself.</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::ExtendedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey + ToPublicKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.address\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.address\" class=\"fn\">address</a>(&amp;self, network: Network) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;Address, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Computes the Bitcoin address of the descriptor, if one exists</p>\n<p>Some descriptors like pk() don’t have an address.</p>\n<h5 id=\"errors\"><a class=\"doc-anchor\" href=\"#errors\">§</a>Errors</h5>\n<p>For raw/bare descriptors that don’t have an address.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.script_pubkey\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.script_pubkey\" class=\"fn\">script_pubkey</a>(&amp;self) -&gt; ScriptBuf</h4></section></summary><div class=\"docblock\"><p>Computes the scriptpubkey of the descriptor.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.unsigned_script_sig\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.unsigned_script_sig\" class=\"fn\">unsigned_script_sig</a>(&amp;self) -&gt; ScriptBuf</h4></section></summary><div class=\"docblock\"><p>Computes the scriptSig that will be in place for an unsigned input\nspending an output with this descriptor. For pre-segwit descriptors,\nwhich use the scriptSig for signatures, this returns the empty script.</p>\n<p>This is used in Segwit transactions to produce an unsigned transaction\nwhose txid will not change during signing (since only the witness data\nwill change).</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.explicit_script\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.explicit_script\" class=\"fn\">explicit_script</a>(&amp;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;ScriptBuf, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Computes the the underlying script before any hashing is done. For\n<code>Bare</code>, <code>Pkh</code> and <code>Wpkh</code> this is the scriptPubkey; for <code>ShWpkh</code> and <code>Sh</code>\nthis is the redeemScript; for the others it is the witness script.</p>\n<h5 id=\"errors-1\"><a class=\"doc-anchor\" href=\"#errors-1\">§</a>Errors</h5>\n<p>If the descriptor is a taproot descriptor.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.script_code\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.script_code\" class=\"fn\">script_code</a>(&amp;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;ScriptBuf, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Computes the <code>scriptCode</code> of a transaction output.</p>\n<p>The <code>scriptCode</code> is the Script of the previous transaction output being\nserialized in the sighash when evaluating a <code>CHECKSIG</code> &amp; co. OP code.</p>\n<h5 id=\"errors-2\"><a class=\"doc-anchor\" href=\"#errors-2\">§</a>Errors</h5>\n<p>If the descriptor is a taproot descriptor.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.get_satisfaction\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.get_satisfaction\" class=\"fn\">get_satisfaction</a>&lt;S&gt;(\n    &amp;self,\n    satisfier: S\n) -&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=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;<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;&gt;, ScriptBuf), Error&gt;<div class=\"where\">where\n    S: Satisfier&lt;Pk&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Returns satisfying non-malleable witness and scriptSig to spend an\noutput controlled by the given descriptor if it possible to\nconstruct one using the satisfier S.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.get_satisfaction_mall\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.get_satisfaction_mall\" class=\"fn\">get_satisfaction_mall</a>&lt;S&gt;(\n    &amp;self,\n    satisfier: S\n) -&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=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;<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;&gt;, ScriptBuf), Error&gt;<div class=\"where\">where\n    S: Satisfier&lt;Pk&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Returns a possilbly mallable satisfying non-malleable witness and scriptSig to spend an\noutput controlled by the given descriptor if it possible to\nconstruct one using the satisfier S.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.satisfy\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.satisfy\" class=\"fn\">satisfy</a>&lt;S&gt;(&amp;self, txin: &amp;mut TxIn, satisfier: S) -&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>, Error&gt;<div class=\"where\">where\n    S: Satisfier&lt;Pk&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Attempts to produce a non-malleable satisfying witness and scriptSig to spend an\noutput controlled by the given descriptor; add the data to a given\n<code>TxIn</code> output.</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_pk\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_pk\" class=\"fn\">new_pk</a>(pk: Pk) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new pk descriptor</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_pkh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_pkh\" class=\"fn\">new_pkh</a>(pk: Pk) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new PkH descriptor</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_wpkh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_wpkh\" class=\"fn\">new_wpkh</a>(pk: Pk) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new Wpkh descriptor\nWill return Err if uncompressed key is used</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_wpkh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_wpkh\" class=\"fn\">new_sh_wpkh</a>(pk: Pk) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapped wpkh from <code>Pk</code>.\nErrors when uncompressed keys are supplied</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh\" class=\"fn\">new_sh</a>(ms: <a class=\"struct\" href=\"bdk_wallet/descriptor/struct.Miniscript.html\" title=\"struct bdk_wallet::descriptor::Miniscript\">Miniscript</a>&lt;Pk, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Legacy.html\" title=\"enum bdk_wallet::descriptor::Legacy\">Legacy</a>&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh for a given redeem script\nErrors when miniscript exceeds resource limits under p2sh context\nor does not type check at the top level</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_wsh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_wsh\" class=\"fn\">new_wsh</a>(ms: <a class=\"struct\" href=\"bdk_wallet/descriptor/struct.Miniscript.html\" title=\"struct bdk_wallet::descriptor::Miniscript\">Miniscript</a>&lt;Pk, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Segwitv0.html\" title=\"enum bdk_wallet::descriptor::Segwitv0\">Segwitv0</a>&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new wsh descriptor from witness script\nErrors when miniscript exceeds resource limits under p2sh context\nor does not type check at the top level</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_wsh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_wsh\" class=\"fn\">new_sh_wsh</a>(ms: <a class=\"struct\" href=\"bdk_wallet/descriptor/struct.Miniscript.html\" title=\"struct bdk_wallet::descriptor::Miniscript\">Miniscript</a>&lt;Pk, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Segwitv0.html\" title=\"enum bdk_wallet::descriptor::Segwitv0\">Segwitv0</a>&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapped wsh descriptor with witness script\nErrors when miniscript exceeds resource limits under wsh context\nor does not type check at the top level</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_bare\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_bare\" class=\"fn\">new_bare</a>(ms: <a class=\"struct\" href=\"bdk_wallet/descriptor/struct.Miniscript.html\" title=\"struct bdk_wallet::descriptor::Miniscript\">Miniscript</a>&lt;Pk, BareCtx&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new bare descriptor from witness script\nErrors when miniscript exceeds resource limits under bare context\nor does not type check at the top level</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_with_wpkh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_with_wpkh\" class=\"fn\">new_sh_with_wpkh</a>(wpkh: Wpkh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapper for the given wpkh descriptor</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_with_wsh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_with_wsh\" class=\"fn\">new_sh_with_wsh</a>(wsh: Wsh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapper for the given wsh descriptor</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_sortedmulti\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_sortedmulti\" class=\"fn\">new_sh_sortedmulti</a>(\n    k: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.usize.html\">usize</a>,\n    pks: <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;Pk&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh sortedmulti descriptor with threshold <code>k</code>\nand Vec of <code>pks</code>.\nErrors when miniscript exceeds resource limits under p2sh context</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_wsh_sortedmulti\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_wsh_sortedmulti\" class=\"fn\">new_sh_wsh_sortedmulti</a>(\n    k: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.usize.html\">usize</a>,\n    pks: <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;Pk&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapped wsh sortedmulti descriptor from threshold\n<code>k</code> and Vec of <code>pks</code>\nErrors when miniscript exceeds resource limits under segwit context</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_wsh_sortedmulti\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_wsh_sortedmulti\" class=\"fn\">new_wsh_sortedmulti</a>(\n    k: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.usize.html\">usize</a>,\n    pks: <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;Pk&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new wsh sorted multi descriptor\nErrors when miniscript exceeds resource limits under p2sh context</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_tr\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_tr\" class=\"fn\">new_tr</a>(\n    key: Pk,\n    script: <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a>&lt;TapTree&lt;Pk&gt;&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create new tr descriptor\nErrors when miniscript exceeds resource limits under Tap context</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.desc_type\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.desc_type\" class=\"fn\">desc_type</a>(&amp;self) -&gt; DescriptorType</h4></section></summary><div class=\"docblock\"><p>Get the [DescriptorType] of <a href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a></p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.sanity_check\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.sanity_check\" class=\"fn\">sanity_check</a>(&amp;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=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.unit.html\">()</a>, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Checks whether the descriptor is safe.</p>\n<p>Checks whether all the spend paths in the descriptor are possible on the\nbitcoin network under the current standardness and consensus rules. Also\nchecks whether the descriptor requires signatures on all spend paths and\nwhether the script is malleable.</p>\n<p>In general, all the guarantees of miniscript hold only for safe scripts.\nThe signer may not be able to find satisfactions even if one exists.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.max_weight_to_satisfy\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.max_weight_to_satisfy\" class=\"fn\">max_weight_to_satisfy</a>(&amp;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;Weight, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Computes an upper bound on the difference between a non-satisfied\n<code>TxIn</code>’s <code>segwit_weight</code> and a satisfied <code>TxIn</code>’s <code>segwit_weight</code></p>\n<p>Since this method uses <code>segwit_weight</code> instead of <code>legacy_weight</code>,\nif you want to include only legacy inputs in your transaction,\nyou should remove 1WU from each input’s <code>max_weight_to_satisfy</code>\nfor a more accurate estimate.</p>\n<p>In other words, for segwit inputs or legacy inputs included in\nsegwit transactions, the following will hold for each input if\nthat input was satisfied with the largest possible witness:</p>\n\n<div class=\"example-wrap ignore\"><a href=\"#\" class=\"tooltip\" title=\"This example is not tested\">ⓘ</a><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">for </span>i <span class=\"kw\">in </span><span class=\"number\">0</span>..transaction.input.len() {\n    <span class=\"macro\">assert_eq!</span>(\n        descriptor_for_input[i].max_weight_to_satisfy(),\n        transaction.input[i].segwit_weight() - TxIn::default().segwit_weight()\n    );\n}</code></pre></div>\n<p>Instead, for legacy transactions, the following will hold for each input\nif that input was satisfied with the largest possible witness:</p>\n\n<div class=\"example-wrap ignore\"><a href=\"#\" class=\"tooltip\" title=\"This example is not tested\">ⓘ</a><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">for </span>i <span class=\"kw\">in </span><span class=\"number\">0</span>..transaction.input.len() {\n    <span class=\"macro\">assert_eq!</span>(\n        descriptor_for_input[i].max_weight_to_satisfy(),\n        transaction.input[i].legacy_weight() - TxIn::default().legacy_weight()\n    );\n}</code></pre></div>\n<p>Assumes all ECDSA signatures are 73 bytes, including push opcode and\nsighash suffix.\nAssumes all Schnorr signatures are 66 bytes, including push opcode and\nsighash suffix.</p>\n<h5 id=\"errors\"><a class=\"doc-anchor\" href=\"#errors\">§</a>Errors</h5>\n<p>When the descriptor is impossible to safisfy (ex: sh(OP_FALSE)).</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.max_satisfaction_weight\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.max_satisfaction_weight\" class=\"fn\">max_satisfaction_weight</a>(&amp;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=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.usize.html\">usize</a>, Error&gt;</h4></section><span class=\"item-info\"><div class=\"stab deprecated\"><span class=\"emoji\">👎</span><span>Deprecated since 10.0.0: Use max_weight_to_satisfy instead. The method to count bytes was redesigned and the results will differ from max_weight_to_satisfy. For more details check rust-bitcoin/rust-miniscript#476.</span></div></span></summary><div class=\"docblock\"><p>Computes an upper bound on the weight of a satisfying witness to the\ntransaction.</p>\n<p>Assumes all ec-signatures are 73 bytes, including push opcode and\nsighash suffix. Includes the weight of the VarInts encoding the\nscriptSig and witness stack length.</p>\n<h5 id=\"errors-1\"><a class=\"doc-anchor\" href=\"#errors-1\">§</a>Errors</h5>\n<p>When the descriptor is impossible to safisfy (ex: sh(OP_FALSE)).</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E\" class=\"impl\"><a href=\"#impl-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl DescriptorExt for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.dust_value\" class=\"method trait-impl\"><a href=\"#method.dust_value\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">dust_value</a>(&amp;self) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u64.html\">u64</a></h4></section></summary><div class='docblock'>Returns the minimum value (in satoshis) at which an output is broadcastable.\nPanics if the descriptor wildcard is hardened.</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.descriptor_id\" class=\"method trait-impl\"><a href=\"#method.descriptor_id\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">descriptor_id</a>(&amp;self) -&gt; DescriptorId</h4></section></summary><div class='docblock'>Returns the descriptor id, calculated as the sha256 of the descriptor, checksum not\nincluded.</div></details></div></details>","DescriptorExt","bdk_wallet::descriptor::ExtendedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Deserialize%3C'de%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Deserialize%3C'de%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;'de, Pk&gt; <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html\" title=\"trait serde::de::Deserialize\">Deserialize</a>&lt;'de&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: FromStrKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.deserialize\" class=\"method trait-impl\"><a href=\"#method.deserialize\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize\" class=\"fn\">deserialize</a>&lt;D&gt;(\n    deserializer: D\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, &lt;D as <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html\" title=\"trait serde::de::Deserializer\">Deserializer</a>&lt;'de&gt;&gt;::<a class=\"associatedtype\" href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html#associatedtype.Error\" title=\"type serde::de::Deserializer::Error\">Error</a>&gt;<div class=\"where\">where\n    D: <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html\" title=\"trait serde::de::Deserializer\">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize\">Read more</a></div></details></div></details>","Deserialize<'de>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Display-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Display-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <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=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.fmt\" class=\"method trait-impl\"><a href=\"#method.fmt\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt\" class=\"fn\">fmt</a>(&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=\"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>, <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html\" title=\"struct core::fmt::Error\">Error</a>&gt;</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>","Display","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-ExtractPolicy-for-Descriptor%3CDescriptorPublicKey%3E\" class=\"impl\"><a class=\"src rightside\" href=\"src/bdk_wallet/descriptor/policy.rs.html#1080-1158\">source</a><a href=\"#impl-ExtractPolicy-for-Descriptor%3CDescriptorPublicKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl <a class=\"trait\" href=\"bdk_wallet/descriptor/trait.ExtractPolicy.html\" title=\"trait bdk_wallet::descriptor::ExtractPolicy\">ExtractPolicy</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.extract_policy\" class=\"method trait-impl\"><a class=\"src rightside\" href=\"src/bdk_wallet/descriptor/policy.rs.html#1081-1157\">source</a><a href=\"#method.extract_policy\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"bdk_wallet/descriptor/trait.ExtractPolicy.html#tymethod.extract_policy\" class=\"fn\">extract_policy</a>(\n    &amp;self,\n    signers: &amp;<a class=\"struct\" href=\"bdk_wallet/wallet/signer/struct.SignersContainer.html\" title=\"struct bdk_wallet::wallet::signer::SignersContainer\">SignersContainer</a>,\n    build_sat: <a class=\"enum\" href=\"bdk_wallet/descriptor/policy/enum.BuildSatisfaction.html\" title=\"enum bdk_wallet::descriptor::policy::BuildSatisfaction\">BuildSatisfaction</a>&lt;'_&gt;,\n    secp: &amp;Secp256k1&lt;All&gt;\n) -&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=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a>&lt;<a class=\"struct\" href=\"bdk_wallet/descriptor/policy/struct.Policy.html\" title=\"struct bdk_wallet::descriptor::policy::Policy\">Policy</a>&gt;, <a class=\"enum\" href=\"bdk_wallet/descriptor/error/enum.Error.html\" title=\"enum bdk_wallet::descriptor::error::Error\">Error</a>&gt;</h4></section></summary><div class='docblock'>Extract the spending <a href=\"bdk_wallet/descriptor/policy/index.html\" title=\"mod bdk_wallet::descriptor::policy\"><code>policy</code></a></div></details></div></details>","ExtractPolicy","bdk_wallet::descriptor::ExtendedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-ForEachKey%3CPk%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-ForEachKey%3CPk%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; ForEachKey&lt;Pk&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.for_each_key\" class=\"method trait-impl\"><a href=\"#method.for_each_key\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">for_each_key</a>&lt;'a, F&gt;(&amp;'a self, pred: F) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a><div class=\"where\">where\n    F: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html\" title=\"trait core::ops::function::FnMut\">FnMut</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;'a Pk</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a>,</div></h4></section></summary><div class='docblock'>Run a predicate on every key in the descriptor, returning whether\nthe predicate returned true for every key</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.for_any_key\" class=\"method trait-impl\"><a href=\"#method.for_any_key\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">for_any_key</a>&lt;'a, F&gt;(&amp;'a self, pred: F) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a><div class=\"where\">where\n    F: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html\" title=\"trait core::ops::function::FnMut\">FnMut</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;'a Pk</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a>,\n    Pk: 'a,</div></h4></section></summary><div class='docblock'>Run a predicate on every key in the descriptor, returning whether\nthe predicate returned true for any key</div></details></div></details>","ForEachKey<Pk>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CBare%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CBare%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Bare&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Bare&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Bare<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CPkh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CPkh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Pkh&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Pkh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Pkh<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CSh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CSh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Sh&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Sh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Sh<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CTr%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CTr%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Tr&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Tr&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Tr<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CWpkh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CWpkh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Wpkh&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Wpkh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Wpkh<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CWsh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CWsh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Wsh&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Wsh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Wsh<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-FromStr-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-FromStr-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html\" title=\"trait core::str::traits::FromStr\">FromStr</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: FromStrKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle\" open><summary><section id=\"associatedtype.Err\" class=\"associatedtype trait-impl\"><a href=\"#associatedtype.Err\" class=\"anchor\">§</a><h4 class=\"code-header\">type <a href=\"https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err\" class=\"associatedtype\">Err</a> = Error</h4></section></summary><div class='docblock'>The associated error which can be returned from parsing.</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.from_str\" class=\"method trait-impl\"><a href=\"#method.from_str\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str\" class=\"fn\">from_str</a>(s: &amp;<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.str.html\">str</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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class='docblock'>Parses a string <code>s</code> to return a value of this type. <a href=\"https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str\">Read more</a></div></details></div></details>","FromStr","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-FromTree-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-FromTree-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; FromTree for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: FromStrKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from_tree\" class=\"method trait-impl\"><a href=\"#method.from_tree\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">from_tree</a>(top: &amp;Tree&lt;'_&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Parse an expression tree into a descriptor.</p>\n</div></details></div></details>","FromTree","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Hash-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Hash-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.hash\" class=\"method trait-impl\"><a href=\"#method.hash\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash\" class=\"fn\">hash</a>&lt;__H&gt;(&amp;self, state: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;mut __H</a>)<div class=\"where\">where\n    __H: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html\" title=\"trait core::hash::Hasher\">Hasher</a>,</div></h4></section></summary><div class='docblock'>Feeds this value into the given <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html\" title=\"trait core::hash::Hasher\"><code>Hasher</code></a>. <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.hash_slice\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.3.0\">1.3.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#238-240\">source</a></span><a href=\"#method.hash_slice\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice\" class=\"fn\">hash_slice</a>&lt;H&gt;(data: &amp;<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.slice.html\">[Self]</a>, state: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;mut H</a>)<div class=\"where\">where\n    H: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html\" title=\"trait core::hash::Hasher\">Hasher</a>,\n    Self: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html\" title=\"trait core::hash::Hasher\"><code>Hasher</code></a>. <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice\">Read more</a></div></details></div></details>","Hash","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Liftable%3CPk%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Liftable%3CPk%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; Liftable&lt;Pk&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.lift\" class=\"method trait-impl\"><a href=\"#method.lift\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">lift</a>(&amp;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;Policy&lt;Pk&gt;, Error&gt;</h4></section></summary><div class='docblock'>Converts this object into an abstract policy.</div></details></div></details>","Liftable<Pk>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Ord-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Ord-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html\" title=\"trait core::cmp::Ord\">Ord</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html\" title=\"trait core::cmp::Ord\">Ord</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.cmp\" class=\"method trait-impl\"><a href=\"#method.cmp\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp\" class=\"fn\">cmp</a>(&amp;self, other: &amp;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html\" title=\"enum core::cmp::Ordering\">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href=\"https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html\" title=\"enum core::cmp::Ordering\"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.max\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.21.0\">1.21.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#856-858\">source</a></span><a href=\"#method.max\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max\" class=\"fn\">max</a>(self, other: Self) -&gt; Self<div class=\"where\">where\n    Self: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.min\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.21.0\">1.21.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#877-879\">source</a></span><a href=\"#method.min\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min\" class=\"fn\">min</a>(self, other: Self) -&gt; Self<div class=\"where\">where\n    Self: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.clamp\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.50.0\">1.50.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#902-905\">source</a></span><a href=\"#method.clamp\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp\" class=\"fn\">clamp</a>(self, min: Self, max: Self) -&gt; Self<div class=\"where\">where\n    Self: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html\" title=\"trait core::cmp::PartialOrd\">PartialOrd</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp\">Read more</a></div></details></div></details>","Ord","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-PartialEq-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-PartialEq-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html\" title=\"trait core::cmp::PartialEq\">PartialEq</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html\" title=\"trait core::cmp::PartialEq\">PartialEq</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.eq\" class=\"method trait-impl\"><a href=\"#method.eq\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq\" class=\"fn\">eq</a>(&amp;self, other: &amp;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used\nby <code>==</code>.</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.ne\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263\">source</a></span><a href=\"#method.ne\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne\" class=\"fn\">ne</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.</div></details></div></details>","PartialEq","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-PartialOrd-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-PartialOrd-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html\" title=\"trait core::cmp::PartialOrd\">PartialOrd</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html\" title=\"trait core::cmp::PartialOrd\">PartialOrd</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.partial_cmp\" class=\"method trait-impl\"><a href=\"#method.partial_cmp\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp\" class=\"fn\">partial_cmp</a>(&amp;self, other: &amp;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a>&lt;<a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html\" title=\"enum core::cmp::Ordering\">Ordering</a>&gt;</h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.lt\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1179\">source</a></span><a href=\"#method.lt\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt\" class=\"fn\">lt</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;</code> operator. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.le\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1197\">source</a></span><a href=\"#method.le\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le\" class=\"fn\">le</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;=</code>\noperator. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.gt\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1214\">source</a></span><a href=\"#method.gt\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt\" class=\"fn\">gt</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;</code> operator. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.ge\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1232\">source</a></span><a href=\"#method.ge\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge\" class=\"fn\">ge</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;=</code>\noperator. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge\">Read more</a></div></details></div></details>","PartialOrd","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Serialize-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Serialize-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;'de, Pk&gt; <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html\" title=\"trait serde::ser::Serialize\">Serialize</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.serialize\" class=\"method trait-impl\"><a href=\"#method.serialize\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize\" class=\"fn\">serialize</a>&lt;S&gt;(\n    &amp;self,\n    serializer: S\n) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;&lt;S as <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html\" title=\"trait serde::ser::Serializer\">Serializer</a>&gt;::<a class=\"associatedtype\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Ok\" title=\"type serde::ser::Serializer::Ok\">Ok</a>, &lt;S as <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html\" title=\"trait serde::ser::Serializer\">Serializer</a>&gt;::<a class=\"associatedtype\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Error\" title=\"type serde::ser::Serializer::Error\">Error</a>&gt;<div class=\"where\">where\n    S: <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html\" title=\"trait serde::ser::Serializer\">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize\">Read more</a></div></details></div></details>","Serialize","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-TranslatePk%3CP,+Q%3E-for-Descriptor%3CP%3E\" class=\"impl\"><a href=\"#impl-TranslatePk%3CP,+Q%3E-for-Descriptor%3CP%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;P, Q&gt; TranslatePk&lt;P, Q&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;P&gt;<div class=\"where\">where\n    P: MiniscriptKey,\n    Q: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.translate_pk\" class=\"method trait-impl\"><a href=\"#method.translate_pk\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">translate_pk</a>&lt;T, E&gt;(\n    &amp;self,\n    t: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;mut T</a>\n) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;&lt;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;P&gt; as TranslatePk&lt;P, Q&gt;&gt;::Output, TranslateErr&lt;E&gt;&gt;<div class=\"where\">where\n    T: Translator&lt;P, Q, E&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Converts a descriptor using abstract keys to one using specific keys.</p>\n</div></details><details class=\"toggle\" open><summary><section id=\"associatedtype.Output\" class=\"associatedtype trait-impl\"><a href=\"#associatedtype.Output\" class=\"anchor\">§</a><h4 class=\"code-header\">type <a class=\"associatedtype\">Output</a> = <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Q&gt;</h4></section></summary><div class='docblock'>The associated output type. This must be <code>Self&lt;Q&gt;</code>.</div></details></div></details>","TranslatePk<P, Q>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<section id=\"impl-Eq-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Eq-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + MiniscriptKey,</div></h3></section>","Eq","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<section id=\"impl-StructuralPartialEq-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-StructuralPartialEq-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html\" title=\"trait core::marker::StructuralPartialEq\">StructuralPartialEq</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section>","StructuralPartialEq","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"]]
+"bdk_wallet":[["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Clone-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Clone-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <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=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html\" title=\"trait core::clone::Clone\">Clone</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.clone\" class=\"method trait-impl\"><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=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</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>","Clone","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Debug-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Debug-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <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=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.fmt\" class=\"method trait-impl\"><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=\"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>, <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html\" title=\"struct core::fmt::Error\">Error</a>&gt;</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>","Debug","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CDefiniteDescriptorKey%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CDefiniteDescriptorKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.derived_descriptor\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.derived_descriptor\" class=\"fn\">derived_descriptor</a>&lt;C&gt;(\n    &amp;self,\n    secp: &amp;Secp256k1&lt;C&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;PublicKey&gt;, ConversionError&gt;<div class=\"where\">where\n    C: Verification,</div></h4></section></summary><div class=\"docblock\"><p>Convert all the public keys in the descriptor to [<code>bitcoin::PublicKey</code>] by deriving them or\notherwise converting them. All [<code>bitcoin::secp256k1::XOnlyPublicKey</code>]s are converted to by adding a\ndefault(0x02) y-coordinate.</p>\n<h5 id=\"examples\"><a class=\"doc-anchor\" href=\"#examples\">§</a>Examples</h5>\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">use </span>miniscript::descriptor::{Descriptor, DescriptorPublicKey};\n<span class=\"kw\">use </span>miniscript::bitcoin::secp256k1;\n<span class=\"kw\">use </span>std::str::FromStr;\n\n<span class=\"comment\">// test from bip 86\n</span><span class=\"kw\">let </span>secp = secp256k1::Secp256k1::verification_only();\n<span class=\"kw\">let </span>descriptor = Descriptor::&lt;DescriptorPublicKey&gt;::from_str(<span class=\"string\">\"tr(xpub6BgBgsespWvERF3LHQu6CnqdvfEvtMcQjYrcRzx53QJjSxarj2afYWcLteoGVky7D3UKDP9QyrLprQ3VCECoY49yfdDEHGCtMMj92pReUsQ/0/*)\"</span>)\n    .expect(<span class=\"string\">\"Valid ranged descriptor\"</span>);\n<span class=\"kw\">let </span>result = descriptor.at_derivation_index(<span class=\"number\">0</span>).unwrap().derived_descriptor(<span class=\"kw-2\">&amp;</span>secp).expect(<span class=\"string\">\"Non-hardened derivation\"</span>);\n<span class=\"macro\">assert_eq!</span>(result.to_string(), <span class=\"string\">\"tr(03cc8a4bc64d897bddc5fbc2f670f7a8ba0b386779106cf1223c6fc5d7cd6fc115)#6qm9h8ym\"</span>);</code></pre></div>\n<h5 id=\"errors\"><a class=\"doc-anchor\" href=\"#errors\">§</a>Errors</h5>\n<p>This function will return an error if hardened derivation is attempted.</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CDefiniteDescriptorKey%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CDefiniteDescriptorKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.plan\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.plan\" class=\"fn\">plan</a>&lt;P&gt;(\n    self,\n    provider: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;P</a>\n) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;Plan, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;&gt;<div class=\"where\">where\n    P: AssetProvider&lt;DefiniteDescriptorKey&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Returns a plan if the provided assets are sufficient to produce a non-malleable satisfaction</p>\n<p>If the assets aren’t sufficient for generating a Plan, the descriptor is returned</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.plan_mall\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.plan_mall\" class=\"fn\">plan_mall</a>&lt;P&gt;(\n    self,\n    provider: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;P</a>\n) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;Plan, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;&gt;<div class=\"where\">where\n    P: AssetProvider&lt;DefiniteDescriptorKey&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Returns a plan if the provided assets are sufficient to produce a malleable satisfaction</p>\n<p>If the assets aren’t sufficient for generating a Plan, the descriptor is returned</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CDescriptorPublicKey%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CDescriptorPublicKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.is_deriveable\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.is_deriveable\" class=\"fn\">is_deriveable</a>(&amp;self) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section><span class=\"item-info\"><div class=\"stab deprecated\"><span class=\"emoji\">👎</span><span>Deprecated: use has_wildcards instead</span></div></span></summary><div class=\"docblock\"><p>Whether or not the descriptor has any wildcards</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.has_wildcard\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.has_wildcard\" class=\"fn\">has_wildcard</a>(&amp;self) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class=\"docblock\"><p>Whether or not the descriptor has any wildcards i.e. <code>/*</code>.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.at_derivation_index\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.at_derivation_index\" class=\"fn\">at_derivation_index</a>(\n    &amp;self,\n    index: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;, ConversionError&gt;</h4></section></summary><div class=\"docblock\"><p>Replaces all wildcards (i.e. <code>/*</code>) in the descriptor with a particular derivation index,\nturning it into a <em>definite</em> descriptor.</p>\n<h5 id=\"errors\"><a class=\"doc-anchor\" href=\"#errors\">§</a>Errors</h5>\n<ul>\n<li>If index ≥ 2^31</li>\n</ul>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.derive\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.derive\" class=\"fn\">derive</a>(\n    &amp;self,\n    index: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;DefiniteDescriptorKey&gt;, ConversionError&gt;</h4></section><span class=\"item-info\"><div class=\"stab deprecated\"><span class=\"emoji\">👎</span><span>Deprecated: use at_derivation_index instead</span></div></span></summary><div class=\"docblock\"><p>Deprecated name for <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#method.at_derivation_index\" title=\"method bdk_wallet::descriptor::Descriptor::at_derivation_index\"><code>Self::at_derivation_index</code></a>.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.derived_descriptor\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.derived_descriptor\" class=\"fn\">derived_descriptor</a>&lt;C&gt;(\n    &amp;self,\n    secp: &amp;Secp256k1&lt;C&gt;,\n    index: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;PublicKey&gt;, ConversionError&gt;<div class=\"where\">where\n    C: Verification,</div></h4></section></summary><div class=\"docblock\"><p>Convert all the public keys in the descriptor to [<code>bitcoin::PublicKey</code>] by deriving them or\notherwise converting them. All [<code>bitcoin::secp256k1::XOnlyPublicKey</code>]s are converted to by adding a\ndefault(0x02) y-coordinate.</p>\n<p>This is a shorthand for:</p>\n\n<div class=\"example-wrap\"><pre class=\"rust rust-example-rendered\"><code>    .expect(<span class=\"string\">\"Valid ranged descriptor\"</span>);\n<span class=\"kw\">let </span>derived_descriptor = descriptor.at_derivation_index(index).unwrap().derived_descriptor(<span class=\"kw-2\">&amp;</span>secp).unwrap();</code></pre></div>\n<p>and is only here really here for backwards compatbility.\nSee <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#method.at_derivation_index\" title=\"method bdk_wallet::descriptor::Descriptor::at_derivation_index\"><code>at_derivation_index</code></a> and <code>[derived_descriptor</code>] for more documentation.</p>\n<h5 id=\"errors-1\"><a class=\"doc-anchor\" href=\"#errors-1\">§</a>Errors</h5>\n<p>This function will return an error if hardened derivation is attempted.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.parse_descriptor\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.parse_descriptor\" class=\"fn\">parse_descriptor</a>&lt;C&gt;(\n    secp: &amp;Secp256k1&lt;C&gt;,\n    s: &amp;<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.str.html\">str</a>\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;, <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html\" title=\"struct alloc::collections::btree::map::BTreeMap\">BTreeMap</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>, <a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorSecretKey.html\" title=\"enum bdk_wallet::keys::DescriptorSecretKey\">DescriptorSecretKey</a>&gt;), Error&gt;<div class=\"where\">where\n    C: Signing,</div></h4></section></summary><div class=\"docblock\"><p>Parse a descriptor that may contain secret keys</p>\n<p>Internally turns every secret key found into the corresponding public key and then returns a\na descriptor that only contains public keys and a map to lookup the secret key given a public key.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.to_string_with_secret\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.to_string_with_secret\" class=\"fn\">to_string_with_secret</a>(\n    &amp;self,\n    key_map: &amp;<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.BTreeMap.html\" title=\"struct alloc::collections::btree::map::BTreeMap\">BTreeMap</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>, <a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorSecretKey.html\" title=\"enum bdk_wallet::keys::DescriptorSecretKey\">DescriptorSecretKey</a>&gt;\n) -&gt; <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/string/struct.String.html\" title=\"struct alloc::string::String\">String</a></h4></section></summary><div class=\"docblock\"><p>Serialize a descriptor to string with its secret keys</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.find_derivation_index_for_spk\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.find_derivation_index_for_spk\" class=\"fn\">find_derivation_index_for_spk</a>&lt;C&gt;(\n    &amp;self,\n    secp: &amp;Secp256k1&lt;C&gt;,\n    script_pubkey: &amp;Script,\n    range: <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html\" title=\"struct core::ops::range::Range\">Range</a>&lt;<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>&gt;\n) -&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=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a>&lt;(<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u32.html\">u32</a>, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;PublicKey&gt;)&gt;, ConversionError&gt;<div class=\"where\">where\n    C: Verification,</div></h4></section></summary><div class=\"docblock\"><p>Utility method for deriving the descriptor at each index in a range to find one matching\n<code>script_pubkey</code>.</p>\n<p>If it finds a match then it returns the index it was derived at and the concrete\ndescriptor at that index. If the descriptor is non-derivable then it will simply check the\nscript pubkey against the descriptor and return it if it matches (in this case the index\nreturned will be meaningless).</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.is_multipath\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.is_multipath\" class=\"fn\">is_multipath</a>(&amp;self) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class=\"docblock\"><p>Whether this descriptor contains a key that has multiple derivation paths.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.into_single_descriptors\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.into_single_descriptors\" class=\"fn\">into_single_descriptors</a>(\n    self\n) -&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=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Get as many descriptors as different paths in this descriptor.</p>\n<p>For multipath descriptors it will return as many descriptors as there is\n“parallel” paths. For regular descriptors it will just return itself.</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::ExtendedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey + ToPublicKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.address\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.address\" class=\"fn\">address</a>(&amp;self, network: Network) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;Address, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Computes the Bitcoin address of the descriptor, if one exists</p>\n<p>Some descriptors like pk() don’t have an address.</p>\n<h5 id=\"errors\"><a class=\"doc-anchor\" href=\"#errors\">§</a>Errors</h5>\n<p>For raw/bare descriptors that don’t have an address.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.script_pubkey\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.script_pubkey\" class=\"fn\">script_pubkey</a>(&amp;self) -&gt; ScriptBuf</h4></section></summary><div class=\"docblock\"><p>Computes the scriptpubkey of the descriptor.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.unsigned_script_sig\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.unsigned_script_sig\" class=\"fn\">unsigned_script_sig</a>(&amp;self) -&gt; ScriptBuf</h4></section></summary><div class=\"docblock\"><p>Computes the scriptSig that will be in place for an unsigned input\nspending an output with this descriptor. For pre-segwit descriptors,\nwhich use the scriptSig for signatures, this returns the empty script.</p>\n<p>This is used in Segwit transactions to produce an unsigned transaction\nwhose txid will not change during signing (since only the witness data\nwill change).</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.explicit_script\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.explicit_script\" class=\"fn\">explicit_script</a>(&amp;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;ScriptBuf, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Computes the the underlying script before any hashing is done. For\n<code>Bare</code>, <code>Pkh</code> and <code>Wpkh</code> this is the scriptPubkey; for <code>ShWpkh</code> and <code>Sh</code>\nthis is the redeemScript; for the others it is the witness script.</p>\n<h5 id=\"errors-1\"><a class=\"doc-anchor\" href=\"#errors-1\">§</a>Errors</h5>\n<p>If the descriptor is a taproot descriptor.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.script_code\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.script_code\" class=\"fn\">script_code</a>(&amp;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;ScriptBuf, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Computes the <code>scriptCode</code> of a transaction output.</p>\n<p>The <code>scriptCode</code> is the Script of the previous transaction output being\nserialized in the sighash when evaluating a <code>CHECKSIG</code> &amp; co. OP code.</p>\n<h5 id=\"errors-2\"><a class=\"doc-anchor\" href=\"#errors-2\">§</a>Errors</h5>\n<p>If the descriptor is a taproot descriptor.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.get_satisfaction\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.get_satisfaction\" class=\"fn\">get_satisfaction</a>&lt;S&gt;(\n    &amp;self,\n    satisfier: S\n) -&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=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;<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;&gt;, ScriptBuf), Error&gt;<div class=\"where\">where\n    S: Satisfier&lt;Pk&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Returns satisfying non-malleable witness and scriptSig to spend an\noutput controlled by the given descriptor if it possible to\nconstruct one using the satisfier S.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.get_satisfaction_mall\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.get_satisfaction_mall\" class=\"fn\">get_satisfaction_mall</a>&lt;S&gt;(\n    &amp;self,\n    satisfier: S\n) -&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=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;<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;&gt;, ScriptBuf), Error&gt;<div class=\"where\">where\n    S: Satisfier&lt;Pk&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Returns a possilbly mallable satisfying non-malleable witness and scriptSig to spend an\noutput controlled by the given descriptor if it possible to\nconstruct one using the satisfier S.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.satisfy\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.satisfy\" class=\"fn\">satisfy</a>&lt;S&gt;(&amp;self, txin: &amp;mut TxIn, satisfier: S) -&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>, Error&gt;<div class=\"where\">where\n    S: Satisfier&lt;Pk&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Attempts to produce a non-malleable satisfying witness and scriptSig to spend an\noutput controlled by the given descriptor; add the data to a given\n<code>TxIn</code> output.</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_pk\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_pk\" class=\"fn\">new_pk</a>(pk: Pk) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new pk descriptor</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_pkh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_pkh\" class=\"fn\">new_pkh</a>(pk: Pk) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new PkH descriptor</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_wpkh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_wpkh\" class=\"fn\">new_wpkh</a>(pk: Pk) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new Wpkh descriptor\nWill return Err if uncompressed key is used</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_wpkh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_wpkh\" class=\"fn\">new_sh_wpkh</a>(pk: Pk) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapped wpkh from <code>Pk</code>.\nErrors when uncompressed keys are supplied</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh\" class=\"fn\">new_sh</a>(ms: <a class=\"struct\" href=\"bdk_wallet/descriptor/struct.Miniscript.html\" title=\"struct bdk_wallet::descriptor::Miniscript\">Miniscript</a>&lt;Pk, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Legacy.html\" title=\"enum bdk_wallet::descriptor::Legacy\">Legacy</a>&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh for a given redeem script\nErrors when miniscript exceeds resource limits under p2sh context\nor does not type check at the top level</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_wsh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_wsh\" class=\"fn\">new_wsh</a>(ms: <a class=\"struct\" href=\"bdk_wallet/descriptor/struct.Miniscript.html\" title=\"struct bdk_wallet::descriptor::Miniscript\">Miniscript</a>&lt;Pk, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Segwitv0.html\" title=\"enum bdk_wallet::descriptor::Segwitv0\">Segwitv0</a>&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new wsh descriptor from witness script\nErrors when miniscript exceeds resource limits under p2sh context\nor does not type check at the top level</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_wsh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_wsh\" class=\"fn\">new_sh_wsh</a>(ms: <a class=\"struct\" href=\"bdk_wallet/descriptor/struct.Miniscript.html\" title=\"struct bdk_wallet::descriptor::Miniscript\">Miniscript</a>&lt;Pk, <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Segwitv0.html\" title=\"enum bdk_wallet::descriptor::Segwitv0\">Segwitv0</a>&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapped wsh descriptor with witness script\nErrors when miniscript exceeds resource limits under wsh context\nor does not type check at the top level</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_bare\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_bare\" class=\"fn\">new_bare</a>(ms: <a class=\"struct\" href=\"bdk_wallet/descriptor/struct.Miniscript.html\" title=\"struct bdk_wallet::descriptor::Miniscript\">Miniscript</a>&lt;Pk, BareCtx&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new bare descriptor from witness script\nErrors when miniscript exceeds resource limits under bare context\nor does not type check at the top level</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_with_wpkh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_with_wpkh\" class=\"fn\">new_sh_with_wpkh</a>(wpkh: Wpkh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapper for the given wpkh descriptor</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_with_wsh\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_with_wsh\" class=\"fn\">new_sh_with_wsh</a>(wsh: Wsh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapper for the given wsh descriptor</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_sortedmulti\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_sortedmulti\" class=\"fn\">new_sh_sortedmulti</a>(\n    k: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.usize.html\">usize</a>,\n    pks: <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;Pk&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh sortedmulti descriptor with threshold <code>k</code>\nand Vec of <code>pks</code>.\nErrors when miniscript exceeds resource limits under p2sh context</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_sh_wsh_sortedmulti\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_sh_wsh_sortedmulti\" class=\"fn\">new_sh_wsh_sortedmulti</a>(\n    k: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.usize.html\">usize</a>,\n    pks: <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;Pk&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new sh wrapped wsh sortedmulti descriptor from threshold\n<code>k</code> and Vec of <code>pks</code>\nErrors when miniscript exceeds resource limits under segwit context</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_wsh_sortedmulti\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_wsh_sortedmulti\" class=\"fn\">new_wsh_sortedmulti</a>(\n    k: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.usize.html\">usize</a>,\n    pks: <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html\" title=\"struct alloc::vec::Vec\">Vec</a>&lt;Pk&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create a new wsh sorted multi descriptor\nErrors when miniscript exceeds resource limits under p2sh context</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.new_tr\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.new_tr\" class=\"fn\">new_tr</a>(\n    key: Pk,\n    script: <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a>&lt;TapTree&lt;Pk&gt;&gt;\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Create new tr descriptor\nErrors when miniscript exceeds resource limits under Tap context</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.desc_type\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.desc_type\" class=\"fn\">desc_type</a>(&amp;self) -&gt; DescriptorType</h4></section></summary><div class=\"docblock\"><p>Get the [DescriptorType] of <a href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a></p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.sanity_check\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.sanity_check\" class=\"fn\">sanity_check</a>(&amp;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=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.unit.html\">()</a>, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Checks whether the descriptor is safe.</p>\n<p>Checks whether all the spend paths in the descriptor are possible on the\nbitcoin network under the current standardness and consensus rules. Also\nchecks whether the descriptor requires signatures on all spend paths and\nwhether the script is malleable.</p>\n<p>In general, all the guarantees of miniscript hold only for safe scripts.\nThe signer may not be able to find satisfactions even if one exists.</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.max_weight_to_satisfy\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.max_weight_to_satisfy\" class=\"fn\">max_weight_to_satisfy</a>(&amp;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;Weight, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Computes an upper bound on the difference between a non-satisfied\n<code>TxIn</code>’s <code>segwit_weight</code> and a satisfied <code>TxIn</code>’s <code>segwit_weight</code></p>\n<p>Since this method uses <code>segwit_weight</code> instead of <code>legacy_weight</code>,\nif you want to include only legacy inputs in your transaction,\nyou should remove 1WU from each input’s <code>max_weight_to_satisfy</code>\nfor a more accurate estimate.</p>\n<p>In other words, for segwit inputs or legacy inputs included in\nsegwit transactions, the following will hold for each input if\nthat input was satisfied with the largest possible witness:</p>\n\n<div class=\"example-wrap ignore\"><a href=\"#\" class=\"tooltip\" title=\"This example is not tested\">ⓘ</a><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">for </span>i <span class=\"kw\">in </span><span class=\"number\">0</span>..transaction.input.len() {\n    <span class=\"macro\">assert_eq!</span>(\n        descriptor_for_input[i].max_weight_to_satisfy(),\n        transaction.input[i].segwit_weight() - TxIn::default().segwit_weight()\n    );\n}</code></pre></div>\n<p>Instead, for legacy transactions, the following will hold for each input\nif that input was satisfied with the largest possible witness:</p>\n\n<div class=\"example-wrap ignore\"><a href=\"#\" class=\"tooltip\" title=\"This example is not tested\">ⓘ</a><pre class=\"rust rust-example-rendered\"><code><span class=\"kw\">for </span>i <span class=\"kw\">in </span><span class=\"number\">0</span>..transaction.input.len() {\n    <span class=\"macro\">assert_eq!</span>(\n        descriptor_for_input[i].max_weight_to_satisfy(),\n        transaction.input[i].legacy_weight() - TxIn::default().legacy_weight()\n    );\n}</code></pre></div>\n<p>Assumes all ECDSA signatures are 73 bytes, including push opcode and\nsighash suffix.\nAssumes all Schnorr signatures are 66 bytes, including push opcode and\nsighash suffix.</p>\n<h5 id=\"errors\"><a class=\"doc-anchor\" href=\"#errors\">§</a>Errors</h5>\n<p>When the descriptor is impossible to safisfy (ex: sh(OP_FALSE)).</p>\n</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.max_satisfaction_weight\" class=\"method\"><h4 class=\"code-header\">pub fn <a href=\"bdk_wallet/descriptor/enum.Descriptor.html#tymethod.max_satisfaction_weight\" class=\"fn\">max_satisfaction_weight</a>(&amp;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=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.usize.html\">usize</a>, Error&gt;</h4></section><span class=\"item-info\"><div class=\"stab deprecated\"><span class=\"emoji\">👎</span><span>Deprecated since 10.0.0: Use max_weight_to_satisfy instead. The method to count bytes was redesigned and the results will differ from max_weight_to_satisfy. For more details check rust-bitcoin/rust-miniscript#476.</span></div></span></summary><div class=\"docblock\"><p>Computes an upper bound on the weight of a satisfying witness to the\ntransaction.</p>\n<p>Assumes all ec-signatures are 73 bytes, including push opcode and\nsighash suffix. Includes the weight of the VarInts encoding the\nscriptSig and witness stack length.</p>\n<h5 id=\"errors-1\"><a class=\"doc-anchor\" href=\"#errors-1\">§</a>Errors</h5>\n<p>When the descriptor is impossible to safisfy (ex: sh(OP_FALSE)).</p>\n</div></details></div></details>",0,"bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E\" class=\"impl\"><a href=\"#impl-DescriptorExt-for-Descriptor%3CDescriptorPublicKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl DescriptorExt for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.dust_value\" class=\"method trait-impl\"><a href=\"#method.dust_value\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">dust_value</a>(&amp;self) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.u64.html\">u64</a></h4></section></summary><div class='docblock'>Returns the minimum value (in satoshis) at which an output is broadcastable.\nPanics if the descriptor wildcard is hardened.</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.descriptor_id\" class=\"method trait-impl\"><a href=\"#method.descriptor_id\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">descriptor_id</a>(&amp;self) -&gt; DescriptorId</h4></section></summary><div class='docblock'>Returns the descriptor ID, calculated as the sha256 hash of the spk derived from the\ndescriptor at index 0.</div></details></div></details>","DescriptorExt","bdk_wallet::descriptor::ExtendedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Deserialize%3C'de%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Deserialize%3C'de%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;'de, Pk&gt; <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html\" title=\"trait serde::de::Deserialize\">Deserialize</a>&lt;'de&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: FromStrKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.deserialize\" class=\"method trait-impl\"><a href=\"#method.deserialize\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize\" class=\"fn\">deserialize</a>&lt;D&gt;(\n    deserializer: D\n) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, &lt;D as <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html\" title=\"trait serde::de::Deserializer\">Deserializer</a>&lt;'de&gt;&gt;::<a class=\"associatedtype\" href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html#associatedtype.Error\" title=\"type serde::de::Deserializer::Error\">Error</a>&gt;<div class=\"where\">where\n    D: <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserializer.html\" title=\"trait serde::de::Deserializer\">Deserializer</a>&lt;'de&gt;,</div></h4></section></summary><div class='docblock'>Deserialize this value from the given Serde deserializer. <a href=\"https://docs.rs/serde/1.0.203/serde/de/trait.Deserialize.html#tymethod.deserialize\">Read more</a></div></details></div></details>","Deserialize<'de>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Display-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Display-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <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=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.fmt\" class=\"method trait-impl\"><a href=\"#method.fmt\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt\" class=\"fn\">fmt</a>(&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=\"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>, <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html\" title=\"struct core::fmt::Error\">Error</a>&gt;</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>","Display","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-ExtractPolicy-for-Descriptor%3CDescriptorPublicKey%3E\" class=\"impl\"><a class=\"src rightside\" href=\"src/bdk_wallet/descriptor/policy.rs.html#1080-1158\">source</a><a href=\"#impl-ExtractPolicy-for-Descriptor%3CDescriptorPublicKey%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl <a class=\"trait\" href=\"bdk_wallet/descriptor/trait.ExtractPolicy.html\" title=\"trait bdk_wallet::descriptor::ExtractPolicy\">ExtractPolicy</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;<a class=\"enum\" href=\"bdk_wallet/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk_wallet::keys::DescriptorPublicKey\">DescriptorPublicKey</a>&gt;</h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.extract_policy\" class=\"method trait-impl\"><a class=\"src rightside\" href=\"src/bdk_wallet/descriptor/policy.rs.html#1081-1157\">source</a><a href=\"#method.extract_policy\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"bdk_wallet/descriptor/trait.ExtractPolicy.html#tymethod.extract_policy\" class=\"fn\">extract_policy</a>(\n    &amp;self,\n    signers: &amp;<a class=\"struct\" href=\"bdk_wallet/wallet/signer/struct.SignersContainer.html\" title=\"struct bdk_wallet::wallet::signer::SignersContainer\">SignersContainer</a>,\n    build_sat: <a class=\"enum\" href=\"bdk_wallet/descriptor/policy/enum.BuildSatisfaction.html\" title=\"enum bdk_wallet::descriptor::policy::BuildSatisfaction\">BuildSatisfaction</a>&lt;'_&gt;,\n    secp: &amp;Secp256k1&lt;All&gt;\n) -&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=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a>&lt;<a class=\"struct\" href=\"bdk_wallet/descriptor/policy/struct.Policy.html\" title=\"struct bdk_wallet::descriptor::policy::Policy\">Policy</a>&gt;, <a class=\"enum\" href=\"bdk_wallet/descriptor/error/enum.Error.html\" title=\"enum bdk_wallet::descriptor::error::Error\">Error</a>&gt;</h4></section></summary><div class='docblock'>Extract the spending <a href=\"bdk_wallet/descriptor/policy/index.html\" title=\"mod bdk_wallet::descriptor::policy\"><code>policy</code></a></div></details></div></details>","ExtractPolicy","bdk_wallet::descriptor::ExtendedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-ForEachKey%3CPk%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-ForEachKey%3CPk%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; ForEachKey&lt;Pk&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.for_each_key\" class=\"method trait-impl\"><a href=\"#method.for_each_key\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">for_each_key</a>&lt;'a, F&gt;(&amp;'a self, pred: F) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a><div class=\"where\">where\n    F: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html\" title=\"trait core::ops::function::FnMut\">FnMut</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;'a Pk</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a>,</div></h4></section></summary><div class='docblock'>Run a predicate on every key in the descriptor, returning whether\nthe predicate returned true for every key</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.for_any_key\" class=\"method trait-impl\"><a href=\"#method.for_any_key\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">for_any_key</a>&lt;'a, F&gt;(&amp;'a self, pred: F) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a><div class=\"where\">where\n    F: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html\" title=\"trait core::ops::function::FnMut\">FnMut</a>(<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;'a Pk</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a>,\n    Pk: 'a,</div></h4></section></summary><div class='docblock'>Run a predicate on every key in the descriptor, returning whether\nthe predicate returned true for any key</div></details></div></details>","ForEachKey<Pk>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CBare%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CBare%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Bare&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Bare&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Bare<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CPkh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CPkh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Pkh&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Pkh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Pkh<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CSh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CSh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Sh&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Sh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Sh<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CTr%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CTr%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Tr&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Tr&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Tr<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CWpkh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CWpkh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Wpkh&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Wpkh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Wpkh<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-From%3CWsh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-From%3CWsh%3CPk%3E%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a>&lt;Wsh&lt;Pk&gt;&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from\" class=\"method trait-impl\"><a href=\"#method.from\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from\" class=\"fn\">from</a>(inner: Wsh&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details>","From<Wsh<Pk>>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-FromStr-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-FromStr-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html\" title=\"trait core::str::traits::FromStr\">FromStr</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: FromStrKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle\" open><summary><section id=\"associatedtype.Err\" class=\"associatedtype trait-impl\"><a href=\"#associatedtype.Err\" class=\"anchor\">§</a><h4 class=\"code-header\">type <a href=\"https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#associatedtype.Err\" class=\"associatedtype\">Err</a> = Error</h4></section></summary><div class='docblock'>The associated error which can be returned from parsing.</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.from_str\" class=\"method trait-impl\"><a href=\"#method.from_str\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str\" class=\"fn\">from_str</a>(s: &amp;<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.str.html\">str</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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class='docblock'>Parses a string <code>s</code> to return a value of this type. <a href=\"https://doc.rust-lang.org/nightly/core/str/traits/trait.FromStr.html#tymethod.from_str\">Read more</a></div></details></div></details>","FromStr","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-FromTree-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-FromTree-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; FromTree for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: FromStrKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.from_tree\" class=\"method trait-impl\"><a href=\"#method.from_tree\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">from_tree</a>(top: &amp;Tree&lt;'_&gt;) -&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=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;, Error&gt;</h4></section></summary><div class=\"docblock\"><p>Parse an expression tree into a descriptor.</p>\n</div></details></div></details>","FromTree","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Hash-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Hash-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html\" title=\"trait core::hash::Hash\">Hash</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.hash\" class=\"method trait-impl\"><a href=\"#method.hash\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash\" class=\"fn\">hash</a>&lt;__H&gt;(&amp;self, state: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;mut __H</a>)<div class=\"where\">where\n    __H: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html\" title=\"trait core::hash::Hasher\">Hasher</a>,</div></h4></section></summary><div class='docblock'>Feeds this value into the given <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html\" title=\"trait core::hash::Hasher\"><code>Hasher</code></a>. <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.hash_slice\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.3.0\">1.3.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#238-240\">source</a></span><a href=\"#method.hash_slice\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice\" class=\"fn\">hash_slice</a>&lt;H&gt;(data: &amp;<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.slice.html\">[Self]</a>, state: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;mut H</a>)<div class=\"where\">where\n    H: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html\" title=\"trait core::hash::Hasher\">Hasher</a>,\n    Self: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html\" title=\"trait core::hash::Hasher\"><code>Hasher</code></a>. <a href=\"https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice\">Read more</a></div></details></div></details>","Hash","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Liftable%3CPk%3E-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Liftable%3CPk%3E-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; Liftable&lt;Pk&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.lift\" class=\"method trait-impl\"><a href=\"#method.lift\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">lift</a>(&amp;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;Policy&lt;Pk&gt;, Error&gt;</h4></section></summary><div class='docblock'>Converts this object into an abstract policy.</div></details></div></details>","Liftable<Pk>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Ord-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Ord-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html\" title=\"trait core::cmp::Ord\">Ord</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html\" title=\"trait core::cmp::Ord\">Ord</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.cmp\" class=\"method trait-impl\"><a href=\"#method.cmp\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp\" class=\"fn\">cmp</a>(&amp;self, other: &amp;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html\" title=\"enum core::cmp::Ordering\">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href=\"https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html\" title=\"enum core::cmp::Ordering\"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.max\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.21.0\">1.21.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#856-858\">source</a></span><a href=\"#method.max\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max\" class=\"fn\">max</a>(self, other: Self) -&gt; Self<div class=\"where\">where\n    Self: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.min\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.21.0\">1.21.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#877-879\">source</a></span><a href=\"#method.min\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min\" class=\"fn\">min</a>(self, other: Self) -&gt; Self<div class=\"where\">where\n    Self: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.clamp\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.50.0\">1.50.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#902-905\">source</a></span><a href=\"#method.clamp\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp\" class=\"fn\">clamp</a>(self, min: Self, max: Self) -&gt; Self<div class=\"where\">where\n    Self: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html\" title=\"trait core::marker::Sized\">Sized</a> + <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html\" title=\"trait core::cmp::PartialOrd\">PartialOrd</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp\">Read more</a></div></details></div></details>","Ord","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-PartialEq-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-PartialEq-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html\" title=\"trait core::cmp::PartialEq\">PartialEq</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html\" title=\"trait core::cmp::PartialEq\">PartialEq</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.eq\" class=\"method trait-impl\"><a href=\"#method.eq\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq\" class=\"fn\">eq</a>(&amp;self, other: &amp;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used\nby <code>==</code>.</div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.ne\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#263\">source</a></span><a href=\"#method.ne\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne\" class=\"fn\">ne</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always\nsufficient, and should not be overridden without very good reason.</div></details></div></details>","PartialEq","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-PartialOrd-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-PartialOrd-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html\" title=\"trait core::cmp::PartialOrd\">PartialOrd</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html\" title=\"trait core::cmp::PartialOrd\">PartialOrd</a> + MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.partial_cmp\" class=\"method trait-impl\"><a href=\"#method.partial_cmp\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp\" class=\"fn\">partial_cmp</a>(&amp;self, other: &amp;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/option/enum.Option.html\" title=\"enum core::option::Option\">Option</a>&lt;<a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html\" title=\"enum core::cmp::Ordering\">Ordering</a>&gt;</h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.lt\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1179\">source</a></span><a href=\"#method.lt\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt\" class=\"fn\">lt</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;</code> operator. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.le\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1197\">source</a></span><a href=\"#method.le\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le\" class=\"fn\">le</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;=</code>\noperator. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.gt\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1214\">source</a></span><a href=\"#method.gt\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt\" class=\"fn\">gt</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;</code> operator. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt\">Read more</a></div></details><details class=\"toggle method-toggle\" open><summary><section id=\"method.ge\" class=\"method trait-impl\"><span class=\"rightside\"><span class=\"since\" title=\"Stable since Rust version 1.0.0\">1.0.0</span> · <a class=\"src\" href=\"https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#1232\">source</a></span><a href=\"#method.ge\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge\" class=\"fn\">ge</a>(&amp;self, other: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;Rhs</a>) -&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a></h4></section></summary><div class='docblock'>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;=</code>\noperator. <a href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge\">Read more</a></div></details></div></details>","PartialOrd","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Serialize-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Serialize-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;'de, Pk&gt; <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html\" title=\"trait serde::ser::Serialize\">Serialize</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.serialize\" class=\"method trait-impl\"><a href=\"#method.serialize\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize\" class=\"fn\">serialize</a>&lt;S&gt;(\n    &amp;self,\n    serializer: S\n) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;&lt;S as <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html\" title=\"trait serde::ser::Serializer\">Serializer</a>&gt;::<a class=\"associatedtype\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Ok\" title=\"type serde::ser::Serializer::Ok\">Ok</a>, &lt;S as <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html\" title=\"trait serde::ser::Serializer\">Serializer</a>&gt;::<a class=\"associatedtype\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html#associatedtype.Error\" title=\"type serde::ser::Serializer::Error\">Error</a>&gt;<div class=\"where\">where\n    S: <a class=\"trait\" href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serializer.html\" title=\"trait serde::ser::Serializer\">Serializer</a>,</div></h4></section></summary><div class='docblock'>Serialize this value into the given Serde serializer. <a href=\"https://docs.rs/serde/1.0.203/serde/ser/trait.Serialize.html#tymethod.serialize\">Read more</a></div></details></div></details>","Serialize","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-TranslatePk%3CP,+Q%3E-for-Descriptor%3CP%3E\" class=\"impl\"><a href=\"#impl-TranslatePk%3CP,+Q%3E-for-Descriptor%3CP%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;P, Q&gt; TranslatePk&lt;P, Q&gt; for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;P&gt;<div class=\"where\">where\n    P: MiniscriptKey,\n    Q: MiniscriptKey,</div></h3></section></summary><div class=\"impl-items\"><details class=\"toggle method-toggle\" open><summary><section id=\"method.translate_pk\" class=\"method trait-impl\"><a href=\"#method.translate_pk\" class=\"anchor\">§</a><h4 class=\"code-header\">fn <a class=\"fn\">translate_pk</a>&lt;T, E&gt;(\n    &amp;self,\n    t: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.reference.html\">&amp;mut T</a>\n) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/result/enum.Result.html\" title=\"enum core::result::Result\">Result</a>&lt;&lt;<a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;P&gt; as TranslatePk&lt;P, Q&gt;&gt;::Output, TranslateErr&lt;E&gt;&gt;<div class=\"where\">where\n    T: Translator&lt;P, Q, E&gt;,</div></h4></section></summary><div class=\"docblock\"><p>Converts a descriptor using abstract keys to one using specific keys.</p>\n</div></details><details class=\"toggle\" open><summary><section id=\"associatedtype.Output\" class=\"associatedtype trait-impl\"><a href=\"#associatedtype.Output\" class=\"anchor\">§</a><h4 class=\"code-header\">type <a class=\"associatedtype\">Output</a> = <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Q&gt;</h4></section></summary><div class='docblock'>The associated output type. This must be <code>Self&lt;Q&gt;</code>.</div></details></div></details>","TranslatePk<P, Q>","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<section id=\"impl-Eq-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-Eq-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html\" title=\"trait core::cmp::Eq\">Eq</a> + MiniscriptKey,</div></h3></section>","Eq","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"],["<section id=\"impl-StructuralPartialEq-for-Descriptor%3CPk%3E\" class=\"impl\"><a href=\"#impl-StructuralPartialEq-for-Descriptor%3CPk%3E\" class=\"anchor\">§</a><h3 class=\"code-header\">impl&lt;Pk&gt; <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html\" title=\"trait core::marker::StructuralPartialEq\">StructuralPartialEq</a> for <a class=\"enum\" href=\"bdk_wallet/descriptor/enum.Descriptor.html\" title=\"enum bdk_wallet::descriptor::Descriptor\">Descriptor</a>&lt;Pk&gt;<div class=\"where\">where\n    Pk: MiniscriptKey,</div></h3></section>","StructuralPartialEq","bdk_wallet::descriptor::ExtendedDescriptor","bdk_wallet::descriptor::DerivedDescriptor"]]
 };if (window.register_type_impls) {window.register_type_impls(type_impls);} else {window.pending_type_impls = type_impls;}})()
\ No newline at end of file