<img src="https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png" alt="logo"></div>
</a><h2 class="location"><a href="#">Module descriptor</a></h2><div class="sidebar-elems"><div class="block items"><ul><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="#types">Type Definitions</a></li></ul></div><div id="sidebar-vars" data-name="descriptor" data-ty="mod" data-relpath="./"></div><script defer src="./sidebar-items.js"></script></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../bdk/index.html">
<img src="https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png" alt="logo"></a><nav class="sub"><div class="theme-picker hidden"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="22" height="22" alt="Pick another theme!" src="../../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><div class="main-heading">
- <h1 class="fqn"><span class="in-band">Module <a href="../index.html">bdk</a>::<wbr><a class="mod" href="#">descriptor</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/bdk/descriptor/mod.rs.html#12-804" title="goto source code">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Descriptors</p>
+ <h1 class="fqn"><span class="in-band">Module <a href="../index.html">bdk</a>::<wbr><a class="mod" href="#">descriptor</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../../src/bdk/descriptor/mod.rs.html#12-773" title="goto source code">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Descriptors</p>
<p>This module contains generic utilities to work with descriptors, plus some re-exported types
from [<code>miniscript</code>].</p>
</div></details><h2 id="reexports" class="small-section-header"><a href="#reexports">Re-exports</a></h2>
Miniscript(Error),
Bip32(Error),
Secp256k1(Error),
- Json(<a class="struct" href="https://docs.rs/serde_json/1.0.78/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>),
+ Json(<a class="struct" href="https://docs.rs/serde_json/1.0.79/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>),
Hex(Error),
Psbt(Error),
PsbtParse(PsbtParseError),
</div><h3 id="variant.Miniscript" class="variant small-section-header"><a href="#variant.Miniscript" class="anchor field"></a><code>Miniscript(Error)</code></h3><div class="docblock"><p>Miniscript error</p>
</div><h3 id="variant.Bip32" class="variant small-section-header"><a href="#variant.Bip32" class="anchor field"></a><code>Bip32(Error)</code></h3><div class="docblock"><p>BIP32 error</p>
</div><h3 id="variant.Secp256k1" class="variant small-section-header"><a href="#variant.Secp256k1" class="anchor field"></a><code>Secp256k1(Error)</code></h3><div class="docblock"><p>An ECDSA error</p>
-</div><h3 id="variant.Json" class="variant small-section-header"><a href="#variant.Json" class="anchor field"></a><code>Json(<a class="struct" href="https://docs.rs/serde_json/1.0.78/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>)</code></h3><div class="docblock"><p>Error serializing or deserializing JSON data</p>
+</div><h3 id="variant.Json" class="variant small-section-header"><a href="#variant.Json" class="anchor field"></a><code>Json(<a class="struct" href="https://docs.rs/serde_json/1.0.79/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>)</code></h3><div class="docblock"><p>Error serializing or deserializing JSON data</p>
</div><h3 id="variant.Hex" class="variant small-section-header"><a href="#variant.Hex" class="anchor field"></a><code>Hex(Error)</code></h3><div class="docblock"><p>Hex decoding error</p>
</div><h3 id="variant.Psbt" class="variant small-section-header"><a href="#variant.Psbt" class="anchor field"></a><code>Psbt(Error)</code></h3><div class="docblock"><p>Partially signed bitcoin transaction error</p>
</div><h3 id="variant.PsbtParse" class="variant small-section-header"><a href="#variant.PsbtParse" class="anchor field"></a><code>PsbtParse(PsbtParseError)</code></h3><div class="docblock"><p>Partially signed bitcoin transaction parse error</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CError%3E-2" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#186" title="goto source code">source</a></div><a href="#impl-From%3CError%3E-2" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Error> for <a class="enum" href="enum.Error.html" title="enum bdk::Error">Error</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from-6" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#186" title="goto source code">source</a></div><a href="#method.from-6" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -> Self</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CError%3E-3" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#187" title="goto source code">source</a></div><a href="#impl-From%3CError%3E-3" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Error> for <a class="enum" href="enum.Error.html" title="enum bdk::Error">Error</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from-7" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#187" title="goto source code">source</a></div><a href="#method.from-7" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -> Self</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CError%3E-4" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#188" title="goto source code">source</a></div><a href="#impl-From%3CError%3E-4" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Error> for <a class="enum" href="enum.Error.html" title="enum bdk::Error">Error</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from-8" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#188" title="goto source code">source</a></div><a href="#method.from-8" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -> Self</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
-</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CError%3E-5" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#189" title="goto source code">source</a></div><a href="#impl-From%3CError%3E-5" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="https://docs.rs/serde_json/1.0.78/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>> for <a class="enum" href="enum.Error.html" title="enum bdk::Error">Error</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from-9" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#189" title="goto source code">source</a></div><a href="#method.from-9" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="struct" href="https://docs.rs/serde_json/1.0.78/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>) -> Self</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
+</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CError%3E-5" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#189" title="goto source code">source</a></div><a href="#impl-From%3CError%3E-5" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="https://docs.rs/serde_json/1.0.79/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>> for <a class="enum" href="enum.Error.html" title="enum bdk::Error">Error</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from-9" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#189" title="goto source code">source</a></div><a href="#method.from-9" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="struct" href="https://docs.rs/serde_json/1.0.79/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>) -> Self</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CError%3E-6" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#190" title="goto source code">source</a></div><a href="#impl-From%3CError%3E-6" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Error> for <a class="enum" href="enum.Error.html" title="enum bdk::Error">Error</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from-10" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#190" title="goto source code">source</a></div><a href="#method.from-10" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -> Self</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CError%3E-7" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#191" title="goto source code">source</a></div><a href="#impl-From%3CError%3E-7" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Error> for <a class="enum" href="enum.Error.html" title="enum bdk::Error">Error</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from-11" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#191" title="goto source code">source</a></div><a href="#method.from-11" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -> Self</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-From%3CError%3E-8" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#195" title="goto source code">source</a></div><a href="#impl-From%3CError%3E-8" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><Error> for <a class="enum" href="enum.Error.html" title="enum bdk::Error">Error</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from-13" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../src/bdk/error.rs.html#195" title="goto source code">source</a></div><a href="#method.from-13" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -> Self</h4></div></summary><div class='docblock'><p>Performs the conversion.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.change_descriptor" class="method has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#194-202" title="goto source code">source</a></div><a href="#method.change_descriptor" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.change_descriptor" class="fnname">change_descriptor</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></h4></div></summary><div class="docblock"><p>Return the internal descriptor, if present</p>
</div></details></div></details><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Debug" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#75" title="goto source code">source</a></div><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">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.WalletExport.html" title="struct bdk::wallet::export::WalletExport">WalletExport</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.fmt" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#75" title="goto source code">source</a></div><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="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></div></summary><div class='docblock'><p>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></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Deserialize%3C%27de%3E" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#75" title="goto source code">source</a></div><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><h3 class="code-header in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.136/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.WalletExport.html" title="struct bdk::wallet::export::WalletExport">WalletExport</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.deserialize" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#75" title="goto source code">source</a></div><a href="#method.deserialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.136/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="associatedtype" href="https://docs.rs/serde/1.0.136/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.136/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></h4></div></summary><div class='docblock'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.136/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
-</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-FromStr" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#90-96" title="goto source code">source</a></div><a href="#impl-FromStr" class="anchor"></a><h3 class="code-header in-band">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.WalletExport.html" title="struct bdk::wallet::export::WalletExport">WalletExport</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Err" class="type trait-impl has-srclink"><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> = <a class="struct" href="https://docs.rs/serde_json/1.0.78/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a></h4></div></summary><div class='docblock'><p>The associated error which can be returned from parsing.</p>
+</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-FromStr" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#90-96" title="goto source code">source</a></div><a href="#impl-FromStr" class="anchor"></a><h3 class="code-header in-band">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.WalletExport.html" title="struct bdk::wallet::export::WalletExport">WalletExport</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><div id="associatedtype.Err" class="type trait-impl has-srclink"><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> = <a class="struct" href="https://docs.rs/serde_json/1.0.79/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a></h4></div></summary><div class='docblock'><p>The associated error which can be returned from parsing.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><div id="method.from_str" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#93-95" title="goto source code">source</a></div><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="fnname">from_str</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, 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>></h4></div></summary><div class='docblock'><p>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></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-Serialize" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#75" title="goto source code">source</a></div><a href="#impl-Serialize" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.136/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="struct.WalletExport.html" title="struct bdk::wallet::export::WalletExport">WalletExport</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.serialize" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#75" title="goto source code">source</a></div><a href="#method.serialize" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/serde/1.0.136/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a><__S>(&self, __serializer: __S) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><__S::<a class="associatedtype" href="https://docs.rs/serde/1.0.136/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.136/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>> <span class="where fmt-newline">where<br> __S: <a class="trait" href="https://docs.rs/serde/1.0.136/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>, </span></h4></div></summary><div class='docblock'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.136/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><div id="impl-ToString" class="impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#84-88" title="goto source code">source</a></div><a href="#impl-ToString" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for <a class="struct" href="struct.WalletExport.html" title="struct bdk::wallet::export::WalletExport">WalletExport</a></h3></div></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><div id="method.to_string" class="method trait-impl has-srclink"><div class="rightside"><a class="srclink" href="../../../src/bdk/wallet/export.rs.html#85-87" title="goto source code">source</a></div><a href="#method.to_string" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string" class="fnname">to_string</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></div></summary><div class='docblock'><p>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></p>
(function() {var implementors = {};
-implementors["bdk"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/wallet/address_validator/enum.AddressValidatorError.html\" title=\"enum bdk::wallet::address_validator::AddressValidatorError\">AddressValidatorError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/descriptor/policy/enum.PolicyError.html\" title=\"enum bdk::descriptor::policy::PolicyError\">PolicyError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/wallet/signer/enum.SignerError.html\" title=\"enum bdk::wallet::signer::SignerError\">SignerError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/keys/enum.KeyError.html\" title=\"enum bdk::keys::KeyError\">KeyError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://docs.rs/serde_json/1.0.78/serde_json/error/struct.Error.html\" title=\"struct serde_json::error::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><PsbtParseError> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/electrum/struct.ElectrumBlockchain.html\" title=\"struct bdk::blockchain::electrum::ElectrumBlockchain\">ElectrumBlockchain</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchain.html\" title=\"enum bdk::blockchain::any::AnyBlockchain\">AnyBlockchain</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchain"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/esplora/struct.EsploraBlockchain.html\" title=\"struct bdk::blockchain::esplora::EsploraBlockchain\">EsploraBlockchain</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchain.html\" title=\"enum bdk::blockchain::any::AnyBlockchain\">AnyBlockchain</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchain"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html\" title=\"struct bdk::blockchain::compact_filters::CompactFiltersBlockchain\">CompactFiltersBlockchain</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchain.html\" title=\"enum bdk::blockchain::any::AnyBlockchain\">AnyBlockchain</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchain"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html\" title=\"struct bdk::blockchain::electrum::ElectrumBlockchainConfig\">ElectrumBlockchainConfig</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchainConfig.html\" title=\"enum bdk::blockchain::any::AnyBlockchainConfig\">AnyBlockchainConfig</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html\" title=\"struct bdk::blockchain::esplora::EsploraBlockchainConfig\">EsploraBlockchainConfig</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchainConfig.html\" title=\"enum bdk::blockchain::any::AnyBlockchainConfig\">AnyBlockchainConfig</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html\" title=\"struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig\">CompactFiltersBlockchainConfig</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchainConfig.html\" title=\"enum bdk::blockchain::any::AnyBlockchainConfig\">AnyBlockchainConfig</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Client> for <a class=\"struct\" href=\"bdk/blockchain/electrum/struct.ElectrumBlockchain.html\" title=\"struct bdk::blockchain::electrum::ElectrumBlockchain\">ElectrumBlockchain</a>","synthetic":false,"types":["bdk::blockchain::electrum::ElectrumBlockchain"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Transport> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html\" title=\"struct std::io::error::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/num/error/struct.ParseIntError.html\" title=\"struct core::num::error::ParseIntError\">ParseIntError</a>> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html\" title=\"struct std::io::error::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html\" title=\"struct std::time::SystemTimeError\">SystemTimeError</a>> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/database/memory/struct.MemoryDatabase.html\" title=\"struct bdk::database::memory::MemoryDatabase\">MemoryDatabase</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabase.html\" title=\"enum bdk::database::any::AnyDatabase\">AnyDatabase</a>","synthetic":false,"types":["bdk::database::any::AnyDatabase"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Tree> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabase.html\" title=\"enum bdk::database::any::AnyDatabase\">AnyDatabase</a>","synthetic":false,"types":["bdk::database::any::AnyDatabase"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/database/struct.SqliteDatabase.html\" title=\"struct bdk::database::SqliteDatabase\">SqliteDatabase</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabase.html\" title=\"enum bdk::database::any::AnyDatabase\">AnyDatabase</a>","synthetic":false,"types":["bdk::database::any::AnyDatabase"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<<a class=\"struct\" href=\"bdk/database/memory/struct.MemoryDatabase.html\" title=\"struct bdk::database::memory::MemoryDatabase\">MemoryDatabase</a> as <a class=\"trait\" href=\"bdk/database/trait.BatchDatabase.html\" title=\"trait bdk::database::BatchDatabase\">BatchDatabase</a>>::<a class=\"associatedtype\" href=\"bdk/database/trait.BatchDatabase.html#associatedtype.Batch\" title=\"type bdk::database::BatchDatabase::Batch\">Batch</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyBatch.html\" title=\"enum bdk::database::any::AnyBatch\">AnyBatch</a>","synthetic":false,"types":["bdk::database::any::AnyBatch"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<Tree as <a class=\"trait\" href=\"bdk/database/trait.BatchDatabase.html\" title=\"trait bdk::database::BatchDatabase\">BatchDatabase</a>>::<a class=\"associatedtype\" href=\"bdk/database/trait.BatchDatabase.html#associatedtype.Batch\" title=\"type bdk::database::BatchDatabase::Batch\">Batch</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyBatch.html\" title=\"enum bdk::database::any::AnyBatch\">AnyBatch</a>","synthetic":false,"types":["bdk::database::any::AnyBatch"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<<a class=\"struct\" href=\"bdk/database/struct.SqliteDatabase.html\" title=\"struct bdk::database::SqliteDatabase\">SqliteDatabase</a> as <a class=\"trait\" href=\"bdk/database/trait.BatchDatabase.html\" title=\"trait bdk::database::BatchDatabase\">BatchDatabase</a>>::<a class=\"associatedtype\" href=\"bdk/database/trait.BatchDatabase.html#associatedtype.Batch\" title=\"type bdk::database::BatchDatabase::Batch\">Batch</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyBatch.html\" title=\"enum bdk::database::any::AnyBatch\">AnyBatch</a>","synthetic":false,"types":["bdk::database::any::AnyBatch"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.unit.html\">()</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabaseConfig.html\" title=\"enum bdk::database::any::AnyDatabaseConfig\">AnyDatabaseConfig</a>","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/database/any/struct.SledDbConfiguration.html\" title=\"struct bdk::database::any::SledDbConfiguration\">SledDbConfiguration</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabaseConfig.html\" title=\"enum bdk::database::any::AnyDatabaseConfig\">AnyDatabaseConfig</a>","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/database/any/struct.SqliteDbConfiguration.html\" title=\"struct bdk::database::any::SqliteDbConfiguration\">SqliteDbConfiguration</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabaseConfig.html\" title=\"enum bdk::database::any::AnyDatabaseConfig\">AnyDatabaseConfig</a>","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/keys/enum.KeyError.html\" title=\"enum bdk::keys::KeyError\">KeyError</a>> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/descriptor/policy/enum.PolicyError.html\" title=\"enum bdk::descriptor::policy::PolicyError\">PolicyError</a>> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a>> for <a class=\"enum\" href=\"bdk/descriptor/policy/enum.Satisfaction.html\" title=\"enum bdk::descriptor::policy::Satisfaction\">Satisfaction</a>","synthetic":false,"types":["bdk::descriptor::policy::Satisfaction"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/descriptor/policy/enum.SatisfiableItem.html\" title=\"enum bdk::descriptor::policy::SatisfiableItem\">SatisfiableItem</a>> for <a class=\"struct\" href=\"bdk/descriptor/policy/struct.Policy.html\" title=\"struct bdk::descriptor::policy::Policy\">Policy</a>","synthetic":false,"types":["bdk::descriptor::policy::Policy"]},{"text":"impl<Ctx: <a class=\"trait\" href=\"bdk/keys/trait.ScriptContext.html\" title=\"trait bdk::keys::ScriptContext\">ScriptContext</a>> <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><ExtendedPubKey> for <a class=\"enum\" href=\"bdk/keys/enum.ExtendedKey.html\" title=\"enum bdk::keys::ExtendedKey\">ExtendedKey</a><Ctx>","synthetic":false,"types":["bdk::keys::ExtendedKey"]},{"text":"impl<Ctx: <a class=\"trait\" href=\"bdk/keys/trait.ScriptContext.html\" title=\"trait bdk::keys::ScriptContext\">ScriptContext</a>> <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><ExtendedPrivKey> for <a class=\"enum\" href=\"bdk/keys/enum.ExtendedKey.html\" title=\"enum bdk::keys::ExtendedKey\">ExtendedKey</a><Ctx>","synthetic":false,"types":["bdk::keys::ExtendedKey"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/keys/enum.KeyError.html\" title=\"enum bdk::keys::KeyError\">KeyError</a>","synthetic":false,"types":["bdk::keys::KeyError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/keys/enum.KeyError.html\" title=\"enum bdk::keys::KeyError\">KeyError</a>","synthetic":false,"types":["bdk::keys::KeyError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Hash> for <a class=\"enum\" href=\"bdk/wallet/signer/enum.SignerId.html\" title=\"enum bdk::wallet::signer::SignerId\">SignerId</a>","synthetic":false,"types":["bdk::wallet::signer::SignerId"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Fingerprint> for <a class=\"enum\" href=\"bdk/wallet/signer/enum.SignerId.html\" title=\"enum bdk::wallet::signer::SignerId\">SignerId</a>","synthetic":false,"types":["bdk::wallet::signer::SignerId"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html\" title=\"struct std::collections::hash::map::HashMap\">HashMap</a><<a class=\"enum\" href=\"bdk/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk::keys::DescriptorPublicKey\">DescriptorPublicKey</a>, <a class=\"enum\" href=\"bdk/keys/enum.DescriptorSecretKey.html\" title=\"enum bdk::keys::DescriptorSecretKey\">DescriptorSecretKey</a>, <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.RandomState.html\" title=\"struct std::collections::hash::map::RandomState\">RandomState</a>>> for <a class=\"struct\" href=\"bdk/wallet/signer/struct.SignersContainer.html\" title=\"struct bdk::wallet::signer::SignersContainer\">SignersContainer</a>","synthetic":false,"types":["bdk::wallet::signer::SignersContainer"]}];
+implementors["bdk"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/wallet/address_validator/enum.AddressValidatorError.html\" title=\"enum bdk::wallet::address_validator::AddressValidatorError\">AddressValidatorError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/descriptor/policy/enum.PolicyError.html\" title=\"enum bdk::descriptor::policy::PolicyError\">PolicyError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/wallet/signer/enum.SignerError.html\" title=\"enum bdk::wallet::signer::SignerError\">SignerError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/keys/enum.KeyError.html\" title=\"enum bdk::keys::KeyError\">KeyError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://docs.rs/serde_json/1.0.79/serde_json/error/struct.Error.html\" title=\"struct serde_json::error::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><PsbtParseError> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>> for <a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>","synthetic":false,"types":["bdk::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/electrum/struct.ElectrumBlockchain.html\" title=\"struct bdk::blockchain::electrum::ElectrumBlockchain\">ElectrumBlockchain</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchain.html\" title=\"enum bdk::blockchain::any::AnyBlockchain\">AnyBlockchain</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchain"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/esplora/struct.EsploraBlockchain.html\" title=\"struct bdk::blockchain::esplora::EsploraBlockchain\">EsploraBlockchain</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchain.html\" title=\"enum bdk::blockchain::any::AnyBlockchain\">AnyBlockchain</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchain"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html\" title=\"struct bdk::blockchain::compact_filters::CompactFiltersBlockchain\">CompactFiltersBlockchain</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchain.html\" title=\"enum bdk::blockchain::any::AnyBlockchain\">AnyBlockchain</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchain"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html\" title=\"struct bdk::blockchain::electrum::ElectrumBlockchainConfig\">ElectrumBlockchainConfig</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchainConfig.html\" title=\"enum bdk::blockchain::any::AnyBlockchainConfig\">AnyBlockchainConfig</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html\" title=\"struct bdk::blockchain::esplora::EsploraBlockchainConfig\">EsploraBlockchainConfig</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchainConfig.html\" title=\"enum bdk::blockchain::any::AnyBlockchainConfig\">AnyBlockchainConfig</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html\" title=\"struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig\">CompactFiltersBlockchainConfig</a>> for <a class=\"enum\" href=\"bdk/blockchain/any/enum.AnyBlockchainConfig.html\" title=\"enum bdk::blockchain::any::AnyBlockchainConfig\">AnyBlockchainConfig</a>","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Client> for <a class=\"struct\" href=\"bdk/blockchain/electrum/struct.ElectrumBlockchain.html\" title=\"struct bdk::blockchain::electrum::ElectrumBlockchain\">ElectrumBlockchain</a>","synthetic":false,"types":["bdk::blockchain::electrum::ElectrumBlockchain"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Transport> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html\" title=\"struct std::io::error::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/num/error/struct.ParseIntError.html\" title=\"struct core::num::error::ParseIntError\">ParseIntError</a>> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/esplora/enum.EsploraError.html\" title=\"enum bdk::blockchain::esplora::EsploraError\">EsploraError</a>","synthetic":false,"types":["bdk::blockchain::esplora::EsploraError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html\" title=\"struct std::io::error::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html\" title=\"struct std::time::SystemTimeError\">SystemTimeError</a>> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/enum.Error.html\" title=\"enum bdk::Error\">Error</a>> for <a class=\"enum\" href=\"bdk/blockchain/compact_filters/enum.CompactFiltersError.html\" title=\"enum bdk::blockchain::compact_filters::CompactFiltersError\">CompactFiltersError</a>","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/database/memory/struct.MemoryDatabase.html\" title=\"struct bdk::database::memory::MemoryDatabase\">MemoryDatabase</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabase.html\" title=\"enum bdk::database::any::AnyDatabase\">AnyDatabase</a>","synthetic":false,"types":["bdk::database::any::AnyDatabase"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Tree> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabase.html\" title=\"enum bdk::database::any::AnyDatabase\">AnyDatabase</a>","synthetic":false,"types":["bdk::database::any::AnyDatabase"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/database/struct.SqliteDatabase.html\" title=\"struct bdk::database::SqliteDatabase\">SqliteDatabase</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabase.html\" title=\"enum bdk::database::any::AnyDatabase\">AnyDatabase</a>","synthetic":false,"types":["bdk::database::any::AnyDatabase"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<<a class=\"struct\" href=\"bdk/database/memory/struct.MemoryDatabase.html\" title=\"struct bdk::database::memory::MemoryDatabase\">MemoryDatabase</a> as <a class=\"trait\" href=\"bdk/database/trait.BatchDatabase.html\" title=\"trait bdk::database::BatchDatabase\">BatchDatabase</a>>::<a class=\"associatedtype\" href=\"bdk/database/trait.BatchDatabase.html#associatedtype.Batch\" title=\"type bdk::database::BatchDatabase::Batch\">Batch</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyBatch.html\" title=\"enum bdk::database::any::AnyBatch\">AnyBatch</a>","synthetic":false,"types":["bdk::database::any::AnyBatch"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<Tree as <a class=\"trait\" href=\"bdk/database/trait.BatchDatabase.html\" title=\"trait bdk::database::BatchDatabase\">BatchDatabase</a>>::<a class=\"associatedtype\" href=\"bdk/database/trait.BatchDatabase.html#associatedtype.Batch\" title=\"type bdk::database::BatchDatabase::Batch\">Batch</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyBatch.html\" title=\"enum bdk::database::any::AnyBatch\">AnyBatch</a>","synthetic":false,"types":["bdk::database::any::AnyBatch"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<<a class=\"struct\" href=\"bdk/database/struct.SqliteDatabase.html\" title=\"struct bdk::database::SqliteDatabase\">SqliteDatabase</a> as <a class=\"trait\" href=\"bdk/database/trait.BatchDatabase.html\" title=\"trait bdk::database::BatchDatabase\">BatchDatabase</a>>::<a class=\"associatedtype\" href=\"bdk/database/trait.BatchDatabase.html#associatedtype.Batch\" title=\"type bdk::database::BatchDatabase::Batch\">Batch</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyBatch.html\" title=\"enum bdk::database::any::AnyBatch\">AnyBatch</a>","synthetic":false,"types":["bdk::database::any::AnyBatch"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.unit.html\">()</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabaseConfig.html\" title=\"enum bdk::database::any::AnyDatabaseConfig\">AnyDatabaseConfig</a>","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/database/any/struct.SledDbConfiguration.html\" title=\"struct bdk::database::any::SledDbConfiguration\">SledDbConfiguration</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabaseConfig.html\" title=\"enum bdk::database::any::AnyDatabaseConfig\">AnyDatabaseConfig</a>","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"bdk/database/any/struct.SqliteDbConfiguration.html\" title=\"struct bdk::database::any::SqliteDbConfiguration\">SqliteDbConfiguration</a>> for <a class=\"enum\" href=\"bdk/database/any/enum.AnyDatabaseConfig.html\" title=\"enum bdk::database::any::AnyDatabaseConfig\">AnyDatabaseConfig</a>","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/keys/enum.KeyError.html\" title=\"enum bdk::keys::KeyError\">KeyError</a>> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/descriptor/policy/enum.PolicyError.html\" title=\"enum bdk::descriptor::policy::PolicyError\">PolicyError</a>> for <a class=\"enum\" href=\"bdk/descriptor/error/enum.Error.html\" title=\"enum bdk::descriptor::error::Error\">Error</a>","synthetic":false,"types":["bdk::descriptor::error::Error"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.bool.html\">bool</a>> for <a class=\"enum\" href=\"bdk/descriptor/policy/enum.Satisfaction.html\" title=\"enum bdk::descriptor::policy::Satisfaction\">Satisfaction</a>","synthetic":false,"types":["bdk::descriptor::policy::Satisfaction"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"enum\" href=\"bdk/descriptor/policy/enum.SatisfiableItem.html\" title=\"enum bdk::descriptor::policy::SatisfiableItem\">SatisfiableItem</a>> for <a class=\"struct\" href=\"bdk/descriptor/policy/struct.Policy.html\" title=\"struct bdk::descriptor::policy::Policy\">Policy</a>","synthetic":false,"types":["bdk::descriptor::policy::Policy"]},{"text":"impl<Ctx: <a class=\"trait\" href=\"bdk/keys/trait.ScriptContext.html\" title=\"trait bdk::keys::ScriptContext\">ScriptContext</a>> <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><ExtendedPubKey> for <a class=\"enum\" href=\"bdk/keys/enum.ExtendedKey.html\" title=\"enum bdk::keys::ExtendedKey\">ExtendedKey</a><Ctx>","synthetic":false,"types":["bdk::keys::ExtendedKey"]},{"text":"impl<Ctx: <a class=\"trait\" href=\"bdk/keys/trait.ScriptContext.html\" title=\"trait bdk::keys::ScriptContext\">ScriptContext</a>> <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><ExtendedPrivKey> for <a class=\"enum\" href=\"bdk/keys/enum.ExtendedKey.html\" title=\"enum bdk::keys::ExtendedKey\">ExtendedKey</a><Ctx>","synthetic":false,"types":["bdk::keys::ExtendedKey"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/keys/enum.KeyError.html\" title=\"enum bdk::keys::KeyError\">KeyError</a>","synthetic":false,"types":["bdk::keys::KeyError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Error> for <a class=\"enum\" href=\"bdk/keys/enum.KeyError.html\" title=\"enum bdk::keys::KeyError\">KeyError</a>","synthetic":false,"types":["bdk::keys::KeyError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Hash> for <a class=\"enum\" href=\"bdk/wallet/signer/enum.SignerId.html\" title=\"enum bdk::wallet::signer::SignerId\">SignerId</a>","synthetic":false,"types":["bdk::wallet::signer::SignerId"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><Fingerprint> for <a class=\"enum\" href=\"bdk/wallet/signer/enum.SignerId.html\" title=\"enum bdk::wallet::signer::SignerId\">SignerId</a>","synthetic":false,"types":["bdk::wallet::signer::SignerId"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/convert/trait.From.html\" title=\"trait core::convert::From\">From</a><<a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html\" title=\"struct std::collections::hash::map::HashMap\">HashMap</a><<a class=\"enum\" href=\"bdk/keys/enum.DescriptorPublicKey.html\" title=\"enum bdk::keys::DescriptorPublicKey\">DescriptorPublicKey</a>, <a class=\"enum\" href=\"bdk/keys/enum.DescriptorSecretKey.html\" title=\"enum bdk::keys::DescriptorSecretKey\">DescriptorSecretKey</a>, <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.RandomState.html\" title=\"struct std::collections::hash::map::RandomState\">RandomState</a>>> for <a class=\"struct\" href=\"bdk/wallet/signer/struct.SignersContainer.html\" title=\"struct bdk::wallet::signer::SignersContainer\">SignersContainer</a>","synthetic":false,"types":["bdk::wallet::signer::SignersContainer"]}];
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
\ No newline at end of file
<span id="771">771</span>
<span id="772">772</span>
<span id="773">773</span>
-<span id="774">774</span>
-<span id="775">775</span>
-<span id="776">776</span>
-<span id="777">777</span>
-<span id="778">778</span>
-<span id="779">779</span>
-<span id="780">780</span>
-<span id="781">781</span>
-<span id="782">782</span>
-<span id="783">783</span>
-<span id="784">784</span>
-<span id="785">785</span>
-<span id="786">786</span>
-<span id="787">787</span>
-<span id="788">788</span>
-<span id="789">789</span>
-<span id="790">790</span>
-<span id="791">791</span>
-<span id="792">792</span>
-<span id="793">793</span>
-<span id="794">794</span>
-<span id="795">795</span>
-<span id="796">796</span>
-<span id="797">797</span>
-<span id="798">798</span>
-<span id="799">799</span>
-<span id="800">800</span>
-<span id="801">801</span>
-<span id="802">802</span>
-<span id="803">803</span>
-<span id="804">804</span>
</pre><pre class="rust"><code><span class="comment">// Bitcoin Dev Kit</span>
<span class="comment">// Written in 2020 by Alekos Filini <alekos.filini@gmail.com></span>
<span class="comment">//</span>
<span class="kw">use</span> <span class="ident">std::collections</span>::{<span class="ident">BTreeMap</span>, <span class="ident">HashMap</span>, <span class="ident">HashSet</span>};
<span class="kw">use</span> <span class="ident">std::ops::Deref</span>;
-<span class="kw">use</span> <span class="ident">bitcoin::util::bip32</span>::{
- <span class="ident">ChildNumber</span>, <span class="ident">DerivationPath</span>, <span class="ident">ExtendedPrivKey</span>, <span class="ident">ExtendedPubKey</span>, <span class="ident">Fingerprint</span>, <span class="ident">KeySource</span>,
-};
+<span class="kw">use</span> <span class="ident">bitcoin::util::bip32</span>::{<span class="ident">ChildNumber</span>, <span class="ident">DerivationPath</span>, <span class="ident">ExtendedPubKey</span>, <span class="ident">Fingerprint</span>, <span class="ident">KeySource</span>};
<span class="kw">use</span> <span class="ident">bitcoin::util::psbt</span>;
<span class="kw">use</span> <span class="ident">bitcoin</span>::{<span class="ident">Network</span>, <span class="ident">PublicKey</span>, <span class="ident">Script</span>, <span class="ident">TxOut</span>};
-<span class="kw">use</span> <span class="ident">miniscript::descriptor</span>::{<span class="ident">DescriptorPublicKey</span>, <span class="ident">DescriptorType</span>, <span class="ident">DescriptorXKey</span>, <span class="ident">Wildcard</span>};
+<span class="kw">use</span> <span class="ident">miniscript::descriptor</span>::{
+ <span class="ident">DescriptorPublicKey</span>, <span class="ident">DescriptorType</span>, <span class="ident">DescriptorXKey</span>, <span class="ident">InnerXKey</span>, <span class="ident">Wildcard</span>,
+};
<span class="kw">pub</span> <span class="kw">use</span> <span class="ident">miniscript</span>::{<span class="ident">descriptor::KeyMap</span>, <span class="ident">Descriptor</span>, <span class="ident">Legacy</span>, <span class="ident">Miniscript</span>, <span class="ident">ScriptContext</span>, <span class="ident">Segwitv0</span>};
<span class="kw">use</span> <span class="ident">miniscript</span>::{<span class="ident">DescriptorTrait</span>, <span class="ident">ForEachKey</span>, <span class="ident">TranslatePk</span>};
<span class="kw">fn</span> <span class="ident">root_fingerprint</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="ident">secp</span>: <span class="kw-2">&</span><span class="ident">SecpCtx</span>) -> <span class="ident">Fingerprint</span>;
}
-<span class="comment">// FIXME: `InnerXKey` was made private in rust-miniscript, so we have to implement this manually on</span>
-<span class="comment">// both `ExtendedPubKey` and `ExtendedPrivKey`.</span>
-<span class="comment">//</span>
-<span class="comment">// Revert back to using the trait once https://github.com/rust-bitcoin/rust-miniscript/pull/230 is</span>
-<span class="comment">// released</span>
-<span class="kw">impl</span> <span class="ident">XKeyUtils</span> <span class="kw">for</span> <span class="ident">DescriptorXKey</span><span class="op"><</span><span class="ident">ExtendedPubKey</span><span class="op">></span> {
- <span class="kw">fn</span> <span class="ident">full_path</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="ident">append</span>: <span class="kw-2">&</span>[<span class="ident">ChildNumber</span>]) -> <span class="ident">DerivationPath</span> {
- <span class="kw">let</span> <span class="ident">full_path</span> <span class="op">=</span> <span class="kw">match</span> <span class="self">self</span>.<span class="ident">origin</span> {
- <span class="prelude-val">Some</span>((<span class="kw">_</span>, <span class="kw-2">ref</span> <span class="ident">path</span>)) => <span class="ident">path</span>
- .<span class="ident">into_iter</span>()
- .<span class="ident">chain</span>(<span class="self">self</span>.<span class="ident">derivation_path</span>.<span class="ident">into_iter</span>())
- .<span class="ident">cloned</span>()
- .<span class="ident">collect</span>(),
- <span class="prelude-val">None</span> => <span class="self">self</span>.<span class="ident">derivation_path</span>.<span class="ident">clone</span>(),
- };
-
- <span class="kw">if</span> <span class="self">self</span>.<span class="ident">wildcard</span> <span class="op">!</span><span class="op">=</span> <span class="ident">Wildcard::None</span> {
- <span class="ident">full_path</span>
- .<span class="ident">into_iter</span>()
- .<span class="ident">chain</span>(<span class="ident">append</span>.<span class="ident">iter</span>())
- .<span class="ident">cloned</span>()
- .<span class="ident">collect</span>()
- } <span class="kw">else</span> {
- <span class="ident">full_path</span>
- }
- }
-
- <span class="kw">fn</span> <span class="ident">root_fingerprint</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="kw">_</span>: <span class="kw-2">&</span><span class="ident">SecpCtx</span>) -> <span class="ident">Fingerprint</span> {
- <span class="kw">match</span> <span class="self">self</span>.<span class="ident">origin</span> {
- <span class="prelude-val">Some</span>((<span class="ident">fingerprint</span>, <span class="kw">_</span>)) => <span class="ident">fingerprint</span>,
- <span class="prelude-val">None</span> => <span class="self">self</span>.<span class="ident">xkey</span>.<span class="ident">fingerprint</span>(),
- }
- }
-}
-<span class="kw">impl</span> <span class="ident">XKeyUtils</span> <span class="kw">for</span> <span class="ident">DescriptorXKey</span><span class="op"><</span><span class="ident">ExtendedPrivKey</span><span class="op">></span> {
+<span class="kw">impl</span><span class="op"><</span><span class="ident">T</span><span class="op">></span> <span class="ident">XKeyUtils</span> <span class="kw">for</span> <span class="ident">DescriptorXKey</span><span class="op"><</span><span class="ident">T</span><span class="op">></span>
+<span class="kw">where</span>
+ <span class="ident">T</span>: <span class="ident">InnerXKey</span>,
+{
<span class="kw">fn</span> <span class="ident">full_path</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="ident">append</span>: <span class="kw-2">&</span>[<span class="ident">ChildNumber</span>]) -> <span class="ident">DerivationPath</span> {
<span class="kw">let</span> <span class="ident">full_path</span> <span class="op">=</span> <span class="kw">match</span> <span class="self">self</span>.<span class="ident">origin</span> {
<span class="prelude-val">Some</span>((<span class="kw">_</span>, <span class="kw-2">ref</span> <span class="ident">path</span>)) => <span class="ident">path</span>
<span class="kw">fn</span> <span class="ident">root_fingerprint</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="ident">secp</span>: <span class="kw-2">&</span><span class="ident">SecpCtx</span>) -> <span class="ident">Fingerprint</span> {
<span class="kw">match</span> <span class="self">self</span>.<span class="ident">origin</span> {
<span class="prelude-val">Some</span>((<span class="ident">fingerprint</span>, <span class="kw">_</span>)) => <span class="ident">fingerprint</span>,
- <span class="prelude-val">None</span> => <span class="self">self</span>.<span class="ident">xkey</span>.<span class="ident">fingerprint</span>(<span class="ident">secp</span>),
+ <span class="prelude-val">None</span> => <span class="self">self</span>.<span class="ident">xkey</span>.<span class="ident">xkey_fingerprint</span>(<span class="ident">secp</span>),
}
}
}