]> Untitled Git - bitcoindevkit.org/blob
457f1ad9b90085bc394a150a75b8cc4da022941f
[bitcoindevkit.org] /
1 <!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` is a trait representing the basic expectations for error values, i.e., values of type `E` in `Result&#60;T, E&#62;`."><title>StdError in bdk_chain::bitcoin::hashes::serde::de - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-46132b98.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.85.0-nightly (6d9f6ae36 2024-12-16)" data-channel="nightly" data-search-js="search-036cda7a.js" data-settings-js="settings-0f613d39.js" ><script src="../../../../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc 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><a class="logo-container" href="../../../../../bdk_chain/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_chain/index.html"><img src="https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png" alt="logo"></a><h2><a href="../../../../../bdk_chain/index.html">bdk_<wbr>chain</a><span class="version">0.21.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">StdError</a></h2><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.cause" title="cause">cause</a></li><li><a href="#method.description" title="description">description</a></li><li><a href="#method.provide" title="provide">provide</a></li><li><a href="#method.source" title="source">source</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.downcast" title="downcast">downcast</a></li><li><a href="#method.downcast-1" title="downcast">downcast</a></li><li><a href="#method.downcast-2" title="downcast">downcast</a></li><li><a href="#method.downcast_mut" title="downcast_mut">downcast_mut</a></li><li><a href="#method.downcast_mut-1" title="downcast_mut">downcast_mut</a></li><li><a href="#method.downcast_mut-2" title="downcast_mut">downcast_mut</a></li><li><a href="#method.downcast_ref" title="downcast_ref">downcast_ref</a></li><li><a href="#method.downcast_ref-1" title="downcast_ref">downcast_ref</a></li><li><a href="#method.downcast_ref-2" title="downcast_ref">downcast_ref</a></li><li><a href="#method.is" title="is">is</a></li><li><a href="#method.is-1" title="is">is</a></li><li><a href="#method.is-2" title="is">is</a></li><li><a href="#method.sources" title="sources">sources</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-From%3C%26str%3E-for-Box%3Cdyn+Error%3E" title="From&#60;&#38;str&#62;">From&#60;&#38;str&#62;</a></li><li><a href="#impl-From%3C%26str%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" title="From&#60;&#38;str&#62;">From&#60;&#38;str&#62;</a></li><li><a href="#impl-From%3CCow%3C'b,+str%3E%3E-for-Box%3Cdyn+Error%3E" title="From&#60;Cow&#60;&#39;b, str&#62;&#62;">From&#60;Cow&#60;&#39;b, str&#62;&#62;</a></li><li><a href="#impl-From%3CCow%3C'b,+str%3E%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" title="From&#60;Cow&#60;&#39;b, str&#62;&#62;">From&#60;Cow&#60;&#39;b, str&#62;&#62;</a></li><li><a href="#impl-From%3CE%3E-for-Box%3Cdyn+Error%3E" title="From&#60;E&#62;">From&#60;E&#62;</a></li><li><a href="#impl-From%3CE%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" title="From&#60;E&#62;">From&#60;E&#62;</a></li><li><a href="#impl-From%3CString%3E-for-Box%3Cdyn+Error%3E" title="From&#60;String&#62;">From&#60;String&#62;</a></li><li><a href="#impl-From%3CString%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" title="From&#60;String&#62;">From&#60;String&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In bdk_<wbr>chain::<wbr>bitcoin::<wbr>hashes::<wbr>serde::<wbr>de</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../../../../index.html">bdk_chain</a>::<wbr><a href="../../../index.html">bitcoin</a>::<wbr><a href="../../index.html">hashes</a>::<wbr><a href="../index.html">serde</a>::<wbr><a href="index.html">de</a></span><h1>Trait <span class="trait">StdError</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><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#29">Source</a> </span></div><pre class="rust item-decl"><code>pub trait StdError: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> {
2 // Provided methods
3 fn <a href="#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="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static)&gt; { ... }
4 <span class="item-spacer"></span> fn <a href="#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> { ... }
5 <span class="item-spacer"></span> fn <a href="#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="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a>&gt; { ... }
6 <span class="item-spacer"></span> fn <a href="#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;) { ... }
7 }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>Error</code> is a trait representing the basic expectations for error values,
8 i.e., values of type <code>E</code> in <a href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result"><code>Result&lt;T, E&gt;</code></a>.</p>
9 <p>Errors must describe themselves through the <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display"><code>Display</code></a> and <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug"><code>Debug</code></a>
10 traits. Error messages are typically concise lowercase sentences without
11 trailing punctuation:</p>
12
13 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>err = <span class="string">"NaN"</span>.parse::&lt;u32&gt;().unwrap_err();
14 <span class="macro">assert_eq!</span>(err.to_string(), <span class="string">"invalid digit found in string"</span>);</code></pre></div>
15 <p>Errors may provide cause information. <a href="../ser/trait.StdError.html#method.source" title="method bdk_chain::bitcoin::hashes::serde::ser::StdError::source"><code>Error::source()</code></a> is generally
16 used when errors cross “abstraction boundaries”. If one module must report
17 an error that is caused by an error from a lower-level module, it can allow
18 accessing that error via <a href="../ser/trait.StdError.html#method.source" title="method bdk_chain::bitcoin::hashes::serde::ser::StdError::source"><code>Error::source()</code></a>. This makes it possible for the
19 high-level module to provide its own errors while also revealing some of the
20 implementation for debugging.</p>
21 </div></details><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.source" class="method"><span class="rightside"><span class="since" title="Stable since Rust version 1.30.0">1.30.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#81">Source</a></span><h4 class="code-header">fn <a href="#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="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static)&gt;</h4></section></summary><div class="docblock"><p>Returns the lower-level source of this error, if any.</p>
22 <h5 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h5>
23 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::error::Error;
24 <span class="kw">use </span>std::fmt;
25
26 <span class="attr">#[derive(Debug)]
27 </span><span class="kw">struct </span>SuperError {
28 source: SuperErrorSideKick,
29 }
30
31 <span class="kw">impl </span>fmt::Display <span class="kw">for </span>SuperError {
32 <span class="kw">fn </span>fmt(<span class="kw-2">&amp;</span><span class="self">self</span>, f: <span class="kw-2">&amp;mut </span>fmt::Formatter&lt;<span class="lifetime">'_</span>&gt;) -&gt; fmt::Result {
33 <span class="macro">write!</span>(f, <span class="string">"SuperError is here!"</span>)
34 }
35 }
36
37 <span class="kw">impl </span>Error <span class="kw">for </span>SuperError {
38 <span class="kw">fn </span>source(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="prelude-ty">Option</span>&lt;<span class="kw-2">&amp;</span>(<span class="kw">dyn </span>Error + <span class="lifetime">'static</span>)&gt; {
39 <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span><span class="self">self</span>.source)
40 }
41 }
42
43 <span class="attr">#[derive(Debug)]
44 </span><span class="kw">struct </span>SuperErrorSideKick;
45
46 <span class="kw">impl </span>fmt::Display <span class="kw">for </span>SuperErrorSideKick {
47 <span class="kw">fn </span>fmt(<span class="kw-2">&amp;</span><span class="self">self</span>, f: <span class="kw-2">&amp;mut </span>fmt::Formatter&lt;<span class="lifetime">'_</span>&gt;) -&gt; fmt::Result {
48 <span class="macro">write!</span>(f, <span class="string">"SuperErrorSideKick is here!"</span>)
49 }
50 }
51
52 <span class="kw">impl </span>Error <span class="kw">for </span>SuperErrorSideKick {}
53
54 <span class="kw">fn </span>get_super_error() -&gt; <span class="prelude-ty">Result</span>&lt;(), SuperError&gt; {
55 <span class="prelude-val">Err</span>(SuperError { source: SuperErrorSideKick })
56 }
57
58 <span class="kw">fn </span>main() {
59 <span class="kw">match </span>get_super_error() {
60 <span class="prelude-val">Err</span>(e) =&gt; {
61 <span class="macro">println!</span>(<span class="string">"Error: {e}"</span>);
62 <span class="macro">println!</span>(<span class="string">"Caused by: {}"</span>, e.source().unwrap());
63 }
64 <span class="kw">_ </span>=&gt; <span class="macro">println!</span>(<span class="string">"No error"</span>),
65 }
66 }</code></pre></div>
67 </div></details><details class="toggle method-toggle" open><summary><section id="method.description" class="method"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#107">Source</a></span><h4 class="code-header">fn <a href="#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><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></summary><div class="docblock">
68 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">if let </span><span class="prelude-val">Err</span>(e) = <span class="string">"xc"</span>.parse::&lt;u32&gt;() {
69 <span class="comment">// Print `e` itself, no need for description().
70 </span><span class="macro">eprintln!</span>(<span class="string">"Error: {e}"</span>);
71 }</code></pre></div>
72 </div></details><section id="method.cause" class="method"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#117">Source</a></span><h4 class="code-header">fn <a href="#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="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a>&gt;</h4></section><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 class="toggle method-toggle" open><summary><section id="method.provide" class="method"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#180">Source</a><h4 class="code-header">fn <a href="#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><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></summary><div class="docblock"><p>Provides type-based access to context intended for error reports.</p>
73 <p>Used in conjunction with <a href="https://doc.rust-lang.org/nightly/core/error/struct.Request.html#method.provide_value" title="method core::error::Request::provide_value"><code>Request::provide_value</code></a> and <a href="https://doc.rust-lang.org/nightly/core/error/struct.Request.html#method.provide_ref" title="method core::error::Request::provide_ref"><code>Request::provide_ref</code></a> to extract
74 references to member variables from <code>dyn Error</code> trait objects.</p>
75 <h5 id="example"><a class="doc-anchor" href="#example">§</a>Example</h5>
76 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="attr">#![feature(error_generic_member_access)]
77 </span><span class="kw">use </span>core::fmt;
78 <span class="kw">use </span>core::error::{request_ref, Request};
79
80 <span class="attr">#[derive(Debug)]
81 </span><span class="kw">enum </span>MyLittleTeaPot {
82 Empty,
83 }
84
85 <span class="attr">#[derive(Debug)]
86 </span><span class="kw">struct </span>MyBacktrace {
87 <span class="comment">// ...
88 </span>}
89
90 <span class="kw">impl </span>MyBacktrace {
91 <span class="kw">fn </span>new() -&gt; MyBacktrace {
92 <span class="comment">// ...
93 </span>}
94 }
95
96 <span class="attr">#[derive(Debug)]
97 </span><span class="kw">struct </span>Error {
98 backtrace: MyBacktrace,
99 }
100
101 <span class="kw">impl </span>fmt::Display <span class="kw">for </span>Error {
102 <span class="kw">fn </span>fmt(<span class="kw-2">&amp;</span><span class="self">self</span>, f: <span class="kw-2">&amp;mut </span>fmt::Formatter&lt;<span class="lifetime">'_</span>&gt;) -&gt; fmt::Result {
103 <span class="macro">write!</span>(f, <span class="string">"Example Error"</span>)
104 }
105 }
106
107 <span class="kw">impl </span>std::error::Error <span class="kw">for </span>Error {
108 <span class="kw">fn </span>provide&lt;<span class="lifetime">'a</span>&gt;(<span class="kw-2">&amp;</span><span class="lifetime">'a </span><span class="self">self</span>, request: <span class="kw-2">&amp;mut </span>Request&lt;<span class="lifetime">'a</span>&gt;) {
109 request
110 .provide_ref::&lt;MyBacktrace&gt;(<span class="kw-2">&amp;</span><span class="self">self</span>.backtrace);
111 }
112 }
113
114 <span class="kw">fn </span>main() {
115 <span class="kw">let </span>backtrace = MyBacktrace::new();
116 <span class="kw">let </span>error = Error { backtrace };
117 <span class="kw">let </span>dyn_error = <span class="kw-2">&amp;</span>error <span class="kw">as </span><span class="kw-2">&amp;</span><span class="kw">dyn </span>std::error::Error;
118 <span class="kw">let </span>backtrace_ref = request_ref::&lt;MyBacktrace&gt;(dyn_error).unwrap();
119
120 <span class="macro">assert!</span>(core::ptr::eq(<span class="kw-2">&amp;</span>error.backtrace, backtrace_ref));
121 <span class="macro">assert!</span>(request_ref::&lt;MyLittleTeaPot&gt;(dyn_error).is_none());
122 }</code></pre></div>
123 </div></details></div><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-dyn+Error" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#195">Source</a><a href="#impl-dyn+Error" class="anchor">§</a><h3 class="code-header">impl dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.is" class="method"><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/error.rs.html#199">Source</a></span><h4 class="code-header">pub fn <a href="#method.is" class="fn">is</a>&lt;T&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><div class="where">where
124 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if the inner type is the same as <code>T</code>.</p>
125 </div></details><details class="toggle method-toggle" open><summary><section id="method.downcast_ref" class="method"><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/error.rs.html#214">Source</a></span><h4 class="code-header">pub fn <a href="#method.downcast_ref" class="fn">downcast_ref</a>&lt;T&gt;(&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;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a>&gt;<div class="where">where
126 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Returns some reference to the inner value if it is of type <code>T</code>, or
127 <code>None</code> if it isn’t.</p>
128 </div></details><details class="toggle method-toggle" open><summary><section id="method.downcast_mut" class="method"><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/error.rs.html#227">Source</a></span><h4 class="code-header">pub fn <a href="#method.downcast_mut" class="fn">downcast_mut</a>&lt;T&gt;(&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>&gt;<div class="where">where
129 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Returns some mutable reference to the inner value if it is of type <code>T</code>, or
130 <code>None</code> if it isn’t.</p>
131 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-dyn+Error+%2B+Send" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#237">Source</a><a href="#impl-dyn+Error+%2B+Send" class="anchor">§</a><h3 class="code-header">impl dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.is-1" class="method"><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/error.rs.html#241">Source</a></span><h4 class="code-header">pub fn <a href="#method.is-1" class="fn">is</a>&lt;T&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><div class="where">where
132 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Forwards to the method defined on the type <code>dyn Error</code>.</p>
133 </div></details><details class="toggle method-toggle" open><summary><section id="method.downcast_ref-1" class="method"><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/error.rs.html#248">Source</a></span><h4 class="code-header">pub fn <a href="#method.downcast_ref-1" class="fn">downcast_ref</a>&lt;T&gt;(&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;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a>&gt;<div class="where">where
134 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Forwards to the method defined on the type <code>dyn Error</code>.</p>
135 </div></details><details class="toggle method-toggle" open><summary><section id="method.downcast_mut-1" class="method"><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/error.rs.html#255">Source</a></span><h4 class="code-header">pub fn <a href="#method.downcast_mut-1" class="fn">downcast_mut</a>&lt;T&gt;(&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>&gt;<div class="where">where
136 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Forwards to the method defined on the type <code>dyn Error</code>.</p>
137 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-dyn+Error+%2B+Send+%2B+Sync" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#260">Source</a><a href="#impl-dyn+Error+%2B+Send+%2B+Sync" class="anchor">§</a><h3 class="code-header">impl dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.is-2" class="method"><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/error.rs.html#264">Source</a></span><h4 class="code-header">pub fn <a href="#method.is-2" class="fn">is</a>&lt;T&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><div class="where">where
138 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Forwards to the method defined on the type <code>dyn Error</code>.</p>
139 </div></details><details class="toggle method-toggle" open><summary><section id="method.downcast_ref-2" class="method"><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/error.rs.html#271">Source</a></span><h4 class="code-header">pub fn <a href="#method.downcast_ref-2" class="fn">downcast_ref</a>&lt;T&gt;(&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;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a>&gt;<div class="where">where
140 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Forwards to the method defined on the type <code>dyn Error</code>.</p>
141 </div></details><details class="toggle method-toggle" open><summary><section id="method.downcast_mut-2" class="method"><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/error.rs.html#278">Source</a></span><h4 class="code-header">pub fn <a href="#method.downcast_mut-2" class="fn">downcast_mut</a>&lt;T&gt;(&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>&gt;<div class="where">where
142 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Forwards to the method defined on the type <code>dyn Error</code>.</p>
143 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-dyn+Error-1" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#283">Source</a><a href="#impl-dyn+Error-1" class="anchor">§</a><h3 class="code-header">impl dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sources" class="method"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#337">Source</a><h4 class="code-header">pub fn <a href="#method.sources" class="fn">sources</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/error/struct.Source.html" title="struct core::error::Source">Source</a>&lt;'_&gt; <a href="#" class="tooltip" data-notable-ty="Source&lt;&#39;_&gt;">ⓘ</a></h4></section><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>error_iter</code>)</span></div></span></summary><div class="docblock"><p>Returns an iterator starting with the current error and continuing with
144 recursively calling <a href="../ser/trait.StdError.html#method.source" title="method bdk_chain::bitcoin::hashes::serde::ser::StdError::source"><code>Error::source</code></a>.</p>
145 <p>If you want to omit the current error and only use its sources,
146 use <code>skip(1)</code>.</p>
147 <h5 id="examples-1"><a class="doc-anchor" href="#examples-1">§</a>Examples</h5>
148 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="attr">#![feature(error_iter)]
149 </span><span class="kw">use </span>std::error::Error;
150 <span class="kw">use </span>std::fmt;
151
152 <span class="attr">#[derive(Debug)]
153 </span><span class="kw">struct </span>A;
154
155 <span class="attr">#[derive(Debug)]
156 </span><span class="kw">struct </span>B(<span class="prelude-ty">Option</span>&lt;Box&lt;<span class="kw">dyn </span>Error + <span class="lifetime">'static</span>&gt;&gt;);
157
158 <span class="kw">impl </span>fmt::Display <span class="kw">for </span>A {
159 <span class="kw">fn </span>fmt(<span class="kw-2">&amp;</span><span class="self">self</span>, f: <span class="kw-2">&amp;mut </span>fmt::Formatter&lt;<span class="lifetime">'_</span>&gt;) -&gt; fmt::Result {
160 <span class="macro">write!</span>(f, <span class="string">"A"</span>)
161 }
162 }
163
164 <span class="kw">impl </span>fmt::Display <span class="kw">for </span>B {
165 <span class="kw">fn </span>fmt(<span class="kw-2">&amp;</span><span class="self">self</span>, f: <span class="kw-2">&amp;mut </span>fmt::Formatter&lt;<span class="lifetime">'_</span>&gt;) -&gt; fmt::Result {
166 <span class="macro">write!</span>(f, <span class="string">"B"</span>)
167 }
168 }
169
170 <span class="kw">impl </span>Error <span class="kw">for </span>A {}
171
172 <span class="kw">impl </span>Error <span class="kw">for </span>B {
173 <span class="kw">fn </span>source(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="prelude-ty">Option</span>&lt;<span class="kw-2">&amp;</span>(<span class="kw">dyn </span>Error + <span class="lifetime">'static</span>)&gt; {
174 <span class="self">self</span>.<span class="number">0</span>.as_ref().map(|e| e.as_ref())
175 }
176 }
177
178 <span class="kw">let </span>b = B(<span class="prelude-val">Some</span>(Box::new(A)));
179
180 <span class="comment">// let err : Box&lt;Error&gt; = b.into(); // or
181 </span><span class="kw">let </span>err = <span class="kw-2">&amp;</span>b <span class="kw">as </span><span class="kw-2">&amp;</span>(<span class="kw">dyn </span>Error);
182
183 <span class="kw">let </span><span class="kw-2">mut </span>iter = err.sources();
184
185 <span class="macro">assert_eq!</span>(<span class="string">"B"</span>.to_string(), iter.next().unwrap().to_string());
186 <span class="macro">assert_eq!</span>(<span class="string">"A"</span>.to_string(), iter.next().unwrap().to_string());
187 <span class="macro">assert!</span>(iter.next().is_none());
188 <span class="macro">assert!</span>(iter.next().is_none());</code></pre></div>
189 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-dyn+Error-2" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#749">Source</a><a href="#impl-dyn+Error-2" class="anchor">§</a><h3 class="code-header">impl dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.downcast" class="method"><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/alloc/boxed/convert.rs.html#754">Source</a></span><h4 class="code-header">pub fn <a href="#method.downcast" class="fn">downcast</a>&lt;T&gt;(self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</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="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;T&gt;, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a>&gt;&gt;<div class="where">where
190 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Attempts to downcast the box to a concrete type.</p>
191 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-dyn+Error+%2B+Send-1" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#766">Source</a><a href="#impl-dyn+Error+%2B+Send-1" class="anchor">§</a><h3 class="code-header">impl dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.downcast-1" class="method"><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/alloc/boxed/convert.rs.html#771">Source</a></span><h4 class="code-header">pub fn <a href="#method.downcast-1" class="fn">downcast</a>&lt;T&gt;(
192 self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;,
193 ) -&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/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;T&gt;, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;&gt;<div class="where">where
194 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Attempts to downcast the box to a concrete type.</p>
195 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-dyn+Error+%2B+Send+%2B+Sync-1" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#780">Source</a><a href="#impl-dyn+Error+%2B+Send+%2B+Sync-1" class="anchor">§</a><h3 class="code-header">impl dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.downcast-2" class="method"><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/alloc/boxed/convert.rs.html#785">Source</a></span><h4 class="code-header">pub fn <a href="#method.downcast-2" class="fn">downcast</a>&lt;T&gt;(
196 self: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;,
197 ) -&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/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;T&gt;, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;&gt;<div class="where">where
198 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h4></section></summary><div class="docblock"><p>Attempts to downcast the box to a concrete type.</p>
199 </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-From%3C%26str%3E-for-Box%3Cdyn+Error%3E" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.6.0">1.6.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#686">Source</a></span><a href="#impl-From%3C%26str%3E-for-Box%3Cdyn+Error%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'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;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'a&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#701">Source</a><a href="#method.from-5" 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>(err: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'a&gt;</h4></section></summary><div class="docblock"><p>Converts a <a href="https://doc.rust-lang.org/nightly/std/primitive.str.html" title="primitive str"><code>str</code></a> into a box of dyn <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a>.</p>
200 <h5 id="examples-7"><a class="doc-anchor" href="#examples-7">§</a>Examples</h5>
201 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::error::Error;
202 <span class="kw">use </span>std::mem;
203
204 <span class="kw">let </span>a_str_error = <span class="string">"a str error"</span>;
205 <span class="kw">let </span>a_boxed_error = Box::&lt;<span class="kw">dyn </span>Error&gt;::from(a_str_error);
206 <span class="macro">assert!</span>(mem::size_of::&lt;Box&lt;<span class="kw">dyn </span>Error&gt;&gt;() == mem::size_of_val(<span class="kw-2">&amp;</span>a_boxed_error))</code></pre></div>
207 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3C%26str%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" class="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/alloc/boxed/convert.rs.html#662">Source</a></span><a href="#impl-From%3C%26str%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'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;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'a&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#679">Source</a><a href="#method.from-4" 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>(err: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'a&gt;</h4></section></summary><div class="docblock"><p>Converts a <a href="https://doc.rust-lang.org/nightly/std/primitive.str.html" title="primitive str"><code>str</code></a> into a box of dyn <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send"><code>Send</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync"><code>Sync</code></a>.</p>
208 <h5 id="examples-6"><a class="doc-anchor" href="#examples-6">§</a>Examples</h5>
209 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::error::Error;
210 <span class="kw">use </span>std::mem;
211
212 <span class="kw">let </span>a_str_error = <span class="string">"a str error"</span>;
213 <span class="kw">let </span>a_boxed_error = Box::&lt;<span class="kw">dyn </span>Error + Send + Sync&gt;::from(a_str_error);
214 <span class="macro">assert!</span>(
215 mem::size_of::&lt;Box&lt;<span class="kw">dyn </span>Error + Send + Sync&gt;&gt;() == mem::size_of_val(<span class="kw-2">&amp;</span>a_boxed_error))</code></pre></div>
216 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CCow%3C'b,+str%3E%3E-for-Box%3Cdyn+Error%3E" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.22.0">1.22.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#730">Source</a></span><a href="#impl-From%3CCow%3C'b,+str%3E%3E-for-Box%3Cdyn+Error%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'b&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="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'b, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt; for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'a&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-7" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#744">Source</a><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="fn">from</a>(err: <a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'b, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'a&gt;</h4></section></summary><div class="docblock"><p>Converts a <a href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow"><code>Cow</code></a> into a box of dyn <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a>.</p>
217 <h5 id="examples-9"><a class="doc-anchor" href="#examples-9">§</a>Examples</h5>
218 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::error::Error;
219 <span class="kw">use </span>std::mem;
220 <span class="kw">use </span>std::borrow::Cow;
221
222 <span class="kw">let </span>a_cow_str_error = Cow::from(<span class="string">"a str error"</span>);
223 <span class="kw">let </span>a_boxed_error = Box::&lt;<span class="kw">dyn </span>Error&gt;::from(a_cow_str_error);
224 <span class="macro">assert!</span>(mem::size_of::&lt;Box&lt;<span class="kw">dyn </span>Error&gt;&gt;() == mem::size_of_val(<span class="kw-2">&amp;</span>a_boxed_error))</code></pre></div>
225 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CCow%3C'b,+str%3E%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.22.0">1.22.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#708">Source</a></span><a href="#impl-From%3CCow%3C'b,+str%3E%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, 'b&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="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'b, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt; for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'a&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-6" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#723">Source</a><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="fn">from</a>(err: <a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'b, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'a&gt;</h4></section></summary><div class="docblock"><p>Converts a <a href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow"><code>Cow</code></a> into a box of dyn <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send"><code>Send</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync"><code>Sync</code></a>.</p>
226 <h5 id="examples-8"><a class="doc-anchor" href="#examples-8">§</a>Examples</h5>
227 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::error::Error;
228 <span class="kw">use </span>std::mem;
229 <span class="kw">use </span>std::borrow::Cow;
230
231 <span class="kw">let </span>a_cow_str_error = Cow::from(<span class="string">"a str error"</span>);
232 <span class="kw">let </span>a_boxed_error = Box::&lt;<span class="kw">dyn </span>Error + Send + Sync&gt;::from(a_cow_str_error);
233 <span class="macro">assert!</span>(
234 mem::size_of::&lt;Box&lt;<span class="kw">dyn </span>Error + Send + Sync&gt;&gt;() == mem::size_of_val(<span class="kw-2">&amp;</span>a_boxed_error))</code></pre></div>
235 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CE%3E-for-Box%3Cdyn+Error%3E" class="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/alloc/boxed/convert.rs.html#524">Source</a></span><a href="#impl-From%3CE%3E-for-Box%3Cdyn+Error%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, E&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;E&gt; for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'a&gt;<div class="where">where
236 E: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'a,</div></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/alloc/boxed/convert.rs.html#550">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>(err: E) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'a&gt;</h4></section></summary><div class="docblock"><p>Converts a type of <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a> into a box of dyn <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a>.</p>
237 <h5 id="examples-2"><a class="doc-anchor" href="#examples-2">§</a>Examples</h5>
238 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::error::Error;
239 <span class="kw">use </span>std::fmt;
240 <span class="kw">use </span>std::mem;
241
242 <span class="attr">#[derive(Debug)]
243 </span><span class="kw">struct </span>AnError;
244
245 <span class="kw">impl </span>fmt::Display <span class="kw">for </span>AnError {
246 <span class="kw">fn </span>fmt(<span class="kw-2">&amp;</span><span class="self">self</span>, f: <span class="kw-2">&amp;mut </span>fmt::Formatter&lt;<span class="lifetime">'_</span>&gt;) -&gt; fmt::Result {
247 <span class="macro">write!</span>(f, <span class="string">"An error"</span>)
248 }
249 }
250
251 <span class="kw">impl </span>Error <span class="kw">for </span>AnError {}
252
253 <span class="kw">let </span>an_error = AnError;
254 <span class="macro">assert!</span>(<span class="number">0 </span>== mem::size_of_val(<span class="kw-2">&amp;</span>an_error));
255 <span class="kw">let </span>a_boxed_error = Box::&lt;<span class="kw">dyn </span>Error&gt;::from(an_error);
256 <span class="macro">assert!</span>(mem::size_of::&lt;Box&lt;<span class="kw">dyn </span>Error&gt;&gt;() == mem::size_of_val(<span class="kw-2">&amp;</span>a_boxed_error))</code></pre></div>
257 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CE%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" class="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/alloc/boxed/convert.rs.html#557">Source</a></span><a href="#impl-From%3CE%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, E&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;E&gt; for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'a&gt;<div class="where">where
258 E: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'a,</div></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="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#589">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>(err: E) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'a&gt;</h4></section></summary><div class="docblock"><p>Converts a type of <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send"><code>Send</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync"><code>Sync</code></a> into a box of
259 dyn <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send"><code>Send</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync"><code>Sync</code></a>.</p>
260 <h5 id="examples-3"><a class="doc-anchor" href="#examples-3">§</a>Examples</h5>
261 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::error::Error;
262 <span class="kw">use </span>std::fmt;
263 <span class="kw">use </span>std::mem;
264
265 <span class="attr">#[derive(Debug)]
266 </span><span class="kw">struct </span>AnError;
267
268 <span class="kw">impl </span>fmt::Display <span class="kw">for </span>AnError {
269 <span class="kw">fn </span>fmt(<span class="kw-2">&amp;</span><span class="self">self</span>, f: <span class="kw-2">&amp;mut </span>fmt::Formatter&lt;<span class="lifetime">'_</span>&gt;) -&gt; fmt::Result {
270 <span class="macro">write!</span>(f, <span class="string">"An error"</span>)
271 }
272 }
273
274 <span class="kw">impl </span>Error <span class="kw">for </span>AnError {}
275
276 <span class="kw">unsafe impl </span>Send <span class="kw">for </span>AnError {}
277
278 <span class="kw">unsafe impl </span>Sync <span class="kw">for </span>AnError {}
279
280 <span class="kw">let </span>an_error = AnError;
281 <span class="macro">assert!</span>(<span class="number">0 </span>== mem::size_of_val(<span class="kw-2">&amp;</span>an_error));
282 <span class="kw">let </span>a_boxed_error = Box::&lt;<span class="kw">dyn </span>Error + Send + Sync&gt;::from(an_error);
283 <span class="macro">assert!</span>(
284 mem::size_of::&lt;Box&lt;<span class="kw">dyn </span>Error + Send + Sync&gt;&gt;() == mem::size_of_val(<span class="kw-2">&amp;</span>a_boxed_error))</code></pre></div>
285 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CString%3E-for-Box%3Cdyn+Error%3E" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.6.0">1.6.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#640">Source</a></span><a href="#impl-From%3CString%3E-for-Box%3Cdyn+Error%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'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="../../../base58/struct.String.html" title="struct bdk_chain::bitcoin::base58::String">String</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'a&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/convert.rs.html#653">Source</a><a href="#method.from-3" 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>(str_err: <a class="struct" href="../../../base58/struct.String.html" title="struct bdk_chain::bitcoin::base58::String">String</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'a&gt;</h4></section></summary><div class="docblock"><p>Converts a <a href="../../../base58/struct.String.html" title="struct bdk_chain::bitcoin::base58::String"><code>String</code></a> into a box of dyn <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a>.</p>
286 <h5 id="examples-5"><a class="doc-anchor" href="#examples-5">§</a>Examples</h5>
287 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::error::Error;
288 <span class="kw">use </span>std::mem;
289
290 <span class="kw">let </span>a_string_error = <span class="string">"a string error"</span>.to_string();
291 <span class="kw">let </span>a_boxed_error = Box::&lt;<span class="kw">dyn </span>Error&gt;::from(a_string_error);
292 <span class="macro">assert!</span>(mem::size_of::&lt;Box&lt;<span class="kw">dyn </span>Error&gt;&gt;() == mem::size_of_val(<span class="kw-2">&amp;</span>a_boxed_error))</code></pre></div>
293 </div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CString%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" class="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/alloc/boxed/convert.rs.html#596">Source</a></span><a href="#impl-From%3CString%3E-for-Box%3Cdyn+Error+%2B+Send+%2B+Sync%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'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="../../../base58/struct.String.html" title="struct bdk_chain::bitcoin::base58::String">String</a>&gt; for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'a&gt;</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/alloc/boxed/convert.rs.html#611">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>(err: <a class="struct" href="../../../base58/struct.String.html" title="struct bdk_chain::bitcoin::base58::String">String</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'a&gt;</h4></section></summary><div class="docblock"><p>Converts a <a href="../../../base58/struct.String.html" title="struct bdk_chain::bitcoin::base58::String"><code>String</code></a> into a box of dyn <a href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError"><code>Error</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send"><code>Send</code></a> + <a href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync"><code>Sync</code></a>.</p>
294 <h5 id="examples-4"><a class="doc-anchor" href="#examples-4">§</a>Examples</h5>
295 <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>std::error::Error;
296 <span class="kw">use </span>std::mem;
297
298 <span class="kw">let </span>a_string_error = <span class="string">"a string error"</span>.to_string();
299 <span class="kw">let </span>a_boxed_error = Box::&lt;<span class="kw">dyn </span>Error + Send + Sync&gt;::from(a_string_error);
300 <span class="macro">assert!</span>(
301 mem::size_of::&lt;Box&lt;<span class="kw">dyn </span>Error + Send + Sync&gt;&gt;() == mem::size_of_val(<span class="kw-2">&amp;</span>a_boxed_error))</code></pre></div>
302 </div></details></div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Error-for-%26str" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.65.0">1.65.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/str/mod.rs.html#2871">Source</a></span><a href="#impl-Error-for-%26str" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h3></section><section id="impl-Error-for-ApplyHeaderError" class="impl"><a class="src rightside" href="../../../../../src/bdk_chain/local_chain.rs.html#544">Source</a><a href="#impl-Error-for-ApplyHeaderError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../../local_chain/enum.ApplyHeaderError.html" title="enum bdk_chain::local_chain::ApplyHeaderError">ApplyHeaderError</a></h3></section><section id="impl-Error-for-CalculateFeeError" class="impl"><a class="src rightside" href="../../../../../src/bdk_chain/tx_graph.rs.html#246">Source</a><a href="#impl-Error-for-CalculateFeeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../../tx_graph/enum.CalculateFeeError.html" title="enum bdk_chain::tx_graph::CalculateFeeError">CalculateFeeError</a></h3></section><section id="impl-Error-for-FromScriptError" class="impl"><a href="#impl-Error-for-FromScriptError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../address/enum.FromScriptError.html" title="enum bdk_chain::bitcoin::address::FromScriptError">FromScriptError</a></h3></section><section id="impl-Error-for-P2shError" class="impl"><a href="#impl-Error-for-P2shError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../address/enum.P2shError.html" title="enum bdk_chain::bitcoin::address::P2shError">P2shError</a></h3></section><section id="impl-Error-for-ParseError" class="impl"><a href="#impl-Error-for-ParseError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::address::<a class="enum" href="../../../address/enum.ParseError.html" title="enum bdk_chain::bitcoin::address::ParseError">ParseError</a></h3></section><section id="impl-Error-for-ParseAmountError" class="impl"><a href="#impl-Error-for-ParseAmountError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../amount/enum.ParseAmountError.html" title="enum bdk_chain::bitcoin::amount::ParseAmountError">ParseAmountError</a></h3></section><section id="impl-Error-for-Error" class="impl"><a href="#impl-Error-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::base58::<a class="enum" href="../../../base58/enum.Error.html" title="enum bdk_chain::bitcoin::base58::Error">Error</a></h3></section><section id="impl-Error-for-ParseAlphabetError" class="impl"><a href="#impl-Error-for-ParseAlphabetError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../base64/alphabet/enum.ParseAlphabetError.html" title="enum bdk_chain::bitcoin::base64::alphabet::ParseAlphabetError">ParseAlphabetError</a></h3></section><section id="impl-Error-for-DecodeError" class="impl"><a href="#impl-Error-for-DecodeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::base64::<a class="enum" href="../../../base64/enum.DecodeError.html" title="enum bdk_chain::bitcoin::base64::DecodeError">DecodeError</a></h3></section><section id="impl-Error-for-DecodeSliceError" class="impl"><a href="#impl-Error-for-DecodeSliceError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../base64/enum.DecodeSliceError.html" title="enum bdk_chain::bitcoin::base64::DecodeSliceError">DecodeSliceError</a></h3></section><section id="impl-Error-for-EncodeSliceError" class="impl"><a href="#impl-Error-for-EncodeSliceError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../base64/enum.EncodeSliceError.html" title="enum bdk_chain::bitcoin::base64::EncodeSliceError">EncodeSliceError</a></h3></section><section id="impl-Error-for-DecodeError-1" class="impl"><a href="#impl-Error-for-DecodeError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bech32::<a class="enum" href="../../../bech32/enum.DecodeError.html" title="enum bdk_chain::bitcoin::bech32::DecodeError">DecodeError</a></h3></section><section id="impl-Error-for-EncodeError" class="impl"><a href="#impl-Error-for-EncodeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bech32::<a class="enum" href="../../../bech32/enum.EncodeError.html" title="enum bdk_chain::bitcoin::bech32::EncodeError">EncodeError</a></h3></section><section id="impl-Error-for-EncodeIoError" class="impl"><a href="#impl-Error-for-EncodeIoError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../bech32/enum.EncodeIoError.html" title="enum bdk_chain::bitcoin::bech32::EncodeIoError">EncodeIoError</a></h3></section><section id="impl-Error-for-CharError" class="impl"><a href="#impl-Error-for-CharError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../bech32/primitives/decode/enum.CharError.html" title="enum bdk_chain::bitcoin::bech32::primitives::decode::CharError">CharError</a></h3></section><section id="impl-Error-for-CheckedHrpstringError" class="impl"><a href="#impl-Error-for-CheckedHrpstringError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../bech32/primitives/decode/enum.CheckedHrpstringError.html" title="enum bdk_chain::bitcoin::bech32::primitives::decode::CheckedHrpstringError">CheckedHrpstringError</a></h3></section><section id="impl-Error-for-ChecksumError" class="impl"><a href="#impl-Error-for-ChecksumError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../bech32/primitives/decode/enum.ChecksumError.html" title="enum bdk_chain::bitcoin::bech32::primitives::decode::ChecksumError">ChecksumError</a></h3></section><section id="impl-Error-for-PaddingError" class="impl"><a href="#impl-Error-for-PaddingError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../bech32/primitives/decode/enum.PaddingError.html" title="enum bdk_chain::bitcoin::bech32::primitives::decode::PaddingError">PaddingError</a></h3></section><section id="impl-Error-for-SegwitHrpstringError" class="impl"><a href="#impl-Error-for-SegwitHrpstringError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../bech32/primitives/decode/enum.SegwitHrpstringError.html" title="enum bdk_chain::bitcoin::bech32::primitives::decode::SegwitHrpstringError">SegwitHrpstringError</a></h3></section><section id="impl-Error-for-UncheckedHrpstringError" class="impl"><a href="#impl-Error-for-UncheckedHrpstringError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../bech32/primitives/decode/enum.UncheckedHrpstringError.html" title="enum bdk_chain::bitcoin::bech32::primitives::decode::UncheckedHrpstringError">UncheckedHrpstringError</a></h3></section><section id="impl-Error-for-FromCharError" class="impl"><a href="#impl-Error-for-FromCharError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../bech32/primitives/gf32/enum.FromCharError.html" title="enum bdk_chain::bitcoin::bech32::primitives::gf32::FromCharError">FromCharError</a></h3></section><section id="impl-Error-for-TryFromError" class="impl"><a href="#impl-Error-for-TryFromError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bech32::primitives::gf32::<a class="enum" href="../../../bech32/primitives/gf32/enum.TryFromError.html" title="enum bdk_chain::bitcoin::bech32::primitives::gf32::TryFromError">TryFromError</a></h3></section><section id="impl-Error-for-Error-1" class="impl"><a href="#impl-Error-for-Error-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bech32::primitives::hrp::<a class="enum" href="../../../bech32/primitives/hrp/enum.Error.html" title="enum bdk_chain::bitcoin::bech32::primitives::hrp::Error">Error</a></h3></section><section id="impl-Error-for-WitnessLengthError" class="impl"><a href="#impl-Error-for-WitnessLengthError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../bech32/primitives/segwit/enum.WitnessLengthError.html" title="enum bdk_chain::bitcoin::bech32::primitives::segwit::WitnessLengthError">WitnessLengthError</a></h3></section><section id="impl-Error-for-EncodeError-1" class="impl"><a href="#impl-Error-for-EncodeError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bech32::segwit::<a class="enum" href="../../../bech32/segwit/enum.EncodeError.html" title="enum bdk_chain::bitcoin::bech32::segwit::EncodeError">EncodeError</a></h3></section><section id="impl-Error-for-Error-2" class="impl"><a href="#impl-Error-for-Error-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bip32::<a class="enum" href="../../../bip32/enum.Error.html" title="enum bdk_chain::bitcoin::bip32::Error">Error</a></h3></section><section id="impl-Error-for-Error-3" class="impl"><a href="#impl-Error-for-Error-3" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bip152::<a class="enum" href="../../../bip152/enum.Error.html" title="enum bdk_chain::bitcoin::bip152::Error">Error</a></h3></section><section id="impl-Error-for-Error-4" class="impl"><a href="#impl-Error-for-Error-4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bip158::<a class="enum" href="../../../bip158/enum.Error.html" title="enum bdk_chain::bitcoin::bip158::Error">Error</a></h3></section><section id="impl-Error-for-Bip34Error" class="impl"><a href="#impl-Error-for-Bip34Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../blockdata/block/enum.Bip34Error.html" title="enum bdk_chain::bitcoin::blockdata::block::Bip34Error">Bip34Error</a></h3></section><section id="impl-Error-for-ValidationError" class="impl"><a href="#impl-Error-for-ValidationError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../blockdata/block/enum.ValidationError.html" title="enum bdk_chain::bitcoin::blockdata::block::ValidationError">ValidationError</a></h3></section><section id="impl-Error-for-Error-5" class="impl"><a href="#impl-Error-for-Error-5" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::blockdata::script::<a class="enum" href="../../../blockdata/script/enum.Error.html" title="enum bdk_chain::bitcoin::blockdata::script::Error">Error</a></h3></section><section id="impl-Error-for-Error-6" class="impl"><a href="#impl-Error-for-Error-6" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::blockdata::script::witness_program::<a class="enum" href="../../../blockdata/script/witness_program/enum.Error.html" title="enum bdk_chain::bitcoin::blockdata::script::witness_program::Error">Error</a></h3></section><section id="impl-Error-for-FromStrError" class="impl"><a href="#impl-Error-for-FromStrError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../blockdata/script/witness_version/enum.FromStrError.html" title="enum bdk_chain::bitcoin::blockdata::script::witness_version::FromStrError">FromStrError</a></h3></section><section id="impl-Error-for-TryFromInstructionError" class="impl"><a href="#impl-Error-for-TryFromInstructionError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../blockdata/script/witness_version/enum.TryFromInstructionError.html" title="enum bdk_chain::bitcoin::blockdata::script::witness_version::TryFromInstructionError">TryFromInstructionError</a></h3></section><section id="impl-Error-for-ParseOutPointError" class="impl"><a href="#impl-Error-for-ParseOutPointError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../blockdata/transaction/enum.ParseOutPointError.html" title="enum bdk_chain::bitcoin::blockdata::transaction::ParseOutPointError">ParseOutPointError</a></h3></section><section id="impl-Error-for-Error-7" class="impl"><a href="#impl-Error-for-Error-7" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::consensus::encode::<a class="enum" href="../../../consensus/encode/enum.Error.html" title="enum bdk_chain::bitcoin::consensus::encode::Error">Error</a></h3></section><section id="impl-Error-for-FromHexError" class="impl"><a href="#impl-Error-for-FromHexError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../consensus/encode/enum.FromHexError.html" title="enum bdk_chain::bitcoin::consensus::encode::FromHexError">FromHexError</a></h3></section><section id="impl-Error-for-Error-8" class="impl"><a href="#impl-Error-for-Error-8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::ecdsa::<a class="enum" href="../../../ecdsa/enum.Error.html" title="enum bdk_chain::bitcoin::ecdsa::Error">Error</a></h3></section><section id="impl-Error-for-PrefixedHexError" class="impl"><a href="#impl-Error-for-PrefixedHexError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../error/enum.PrefixedHexError.html" title="enum bdk_chain::bitcoin::error::PrefixedHexError">PrefixedHexError</a></h3></section><section id="impl-Error-for-UnprefixedHexError" class="impl"><a href="#impl-Error-for-UnprefixedHexError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../error/enum.UnprefixedHexError.html" title="enum bdk_chain::bitcoin::error::UnprefixedHexError">UnprefixedHexError</a></h3></section><section id="impl-Error-for-FromSliceError" class="impl"><a href="#impl-Error-for-FromSliceError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::key::<a class="enum" href="../../../key/enum.FromSliceError.html" title="enum bdk_chain::bitcoin::key::FromSliceError">FromSliceError</a></h3></section><section id="impl-Error-for-FromWifError" class="impl"><a href="#impl-Error-for-FromWifError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../key/enum.FromWifError.html" title="enum bdk_chain::bitcoin::key::FromWifError">FromWifError</a></h3></section><section id="impl-Error-for-ParseCompressedPublicKeyError" class="impl"><a href="#impl-Error-for-ParseCompressedPublicKeyError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../key/enum.ParseCompressedPublicKeyError.html" title="enum bdk_chain::bitcoin::key::ParseCompressedPublicKeyError">ParseCompressedPublicKeyError</a></h3></section><section id="impl-Error-for-ParsePublicKeyError" class="impl"><a href="#impl-Error-for-ParsePublicKeyError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../key/enum.ParsePublicKeyError.html" title="enum bdk_chain::bitcoin::key::ParsePublicKeyError">ParsePublicKeyError</a></h3></section><section id="impl-Error-for-MerkleBlockError" class="impl"><a href="#impl-Error-for-MerkleBlockError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../merkle_tree/enum.MerkleBlockError.html" title="enum bdk_chain::bitcoin::merkle_tree::MerkleBlockError">MerkleBlockError</a></h3></section><section id="impl-Error-for-Error-9" class="impl"><a href="#impl-Error-for-Error-9" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::psbt::<a class="enum" href="../../../psbt/enum.Error.html" title="enum bdk_chain::bitcoin::psbt::Error">Error</a></h3></section><section id="impl-Error-for-ExtractTxError" class="impl"><a href="#impl-Error-for-ExtractTxError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../psbt/enum.ExtractTxError.html" title="enum bdk_chain::bitcoin::psbt::ExtractTxError">ExtractTxError</a></h3></section><section id="impl-Error-for-GetKeyError" class="impl"><a href="#impl-Error-for-GetKeyError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../psbt/enum.GetKeyError.html" title="enum bdk_chain::bitcoin::psbt::GetKeyError">GetKeyError</a></h3></section><section id="impl-Error-for-IndexOutOfBoundsError" class="impl"><a href="#impl-Error-for-IndexOutOfBoundsError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::psbt::<a class="enum" href="../../../psbt/enum.IndexOutOfBoundsError.html" title="enum bdk_chain::bitcoin::psbt::IndexOutOfBoundsError">IndexOutOfBoundsError</a></h3></section><section id="impl-Error-for-PsbtParseError" class="impl"><a href="#impl-Error-for-PsbtParseError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../psbt/enum.PsbtParseError.html" title="enum bdk_chain::bitcoin::psbt::PsbtParseError">PsbtParseError</a></h3></section><section id="impl-Error-for-SignError" class="impl"><a href="#impl-Error-for-SignError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../psbt/enum.SignError.html" title="enum bdk_chain::bitcoin::psbt::SignError">SignError</a></h3></section><section id="impl-Error-for-Error-10" class="impl"><a href="#impl-Error-for-Error-10" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::secp256k1::<a class="enum" href="../../../secp256k1/enum.Error.html" title="enum bdk_chain::bitcoin::secp256k1::Error">Error</a></h3></section><section id="impl-Error-for-BernoulliError" class="impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/distributions/bernoulli.rs.html#84">Source</a><a href="#impl-Error-for-BernoulliError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../secp256k1/rand/distributions/enum.BernoulliError.html" title="enum bdk_chain::bitcoin::secp256k1::rand::distributions::BernoulliError">BernoulliError</a></h3></section><section id="impl-Error-for-WeightedError" class="impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/distributions/weighted_index.rs.html#447">Source</a><a href="#impl-Error-for-WeightedError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../secp256k1/rand/distributions/enum.WeightedError.html" title="enum bdk_chain::bitcoin::secp256k1::rand::distributions::WeightedError">WeightedError</a></h3></section><section id="impl-Error-for-AnnexError" class="impl"><a href="#impl-Error-for-AnnexError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../sighash/enum.AnnexError.html" title="enum bdk_chain::bitcoin::sighash::AnnexError">AnnexError</a></h3></section><section id="impl-Error-for-P2wpkhError" class="impl"><a href="#impl-Error-for-P2wpkhError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../sighash/enum.P2wpkhError.html" title="enum bdk_chain::bitcoin::sighash::P2wpkhError">P2wpkhError</a></h3></section><section id="impl-Error-for-PrevoutsIndexError" class="impl"><a href="#impl-Error-for-PrevoutsIndexError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../sighash/enum.PrevoutsIndexError.html" title="enum bdk_chain::bitcoin::sighash::PrevoutsIndexError">PrevoutsIndexError</a></h3></section><section id="impl-Error-for-TaprootError" class="impl"><a href="#impl-Error-for-TaprootError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::sighash::<a class="enum" href="../../../sighash/enum.TaprootError.html" title="enum bdk_chain::bitcoin::sighash::TaprootError">TaprootError</a></h3></section><section id="impl-Error-for-MessageSignatureError" class="impl"><a href="#impl-Error-for-MessageSignatureError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../sign_message/enum.MessageSignatureError.html" title="enum bdk_chain::bitcoin::sign_message::MessageSignatureError">MessageSignatureError</a></h3></section><section id="impl-Error-for-HiddenNodesError" class="impl"><a href="#impl-Error-for-HiddenNodesError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../taproot/enum.HiddenNodesError.html" title="enum bdk_chain::bitcoin::taproot::HiddenNodesError">HiddenNodesError</a></h3></section><section id="impl-Error-for-IncompleteBuilderError" class="impl"><a href="#impl-Error-for-IncompleteBuilderError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../taproot/enum.IncompleteBuilderError.html" title="enum bdk_chain::bitcoin::taproot::IncompleteBuilderError">IncompleteBuilderError</a></h3></section><section id="impl-Error-for-SigFromSliceError" class="impl"><a href="#impl-Error-for-SigFromSliceError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../taproot/enum.SigFromSliceError.html" title="enum bdk_chain::bitcoin::taproot::SigFromSliceError">SigFromSliceError</a></h3></section><section id="impl-Error-for-TaprootBuilderError" class="impl"><a href="#impl-Error-for-TaprootBuilderError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../taproot/enum.TaprootBuilderError.html" title="enum bdk_chain::bitcoin::taproot::TaprootBuilderError">TaprootBuilderError</a></h3></section><section id="impl-Error-for-TaprootError-1" class="impl"><a href="#impl-Error-for-TaprootError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::taproot::<a class="enum" href="../../../taproot/enum.TaprootError.html" title="enum bdk_chain::bitcoin::taproot::TaprootError">TaprootError</a></h3></section><section id="impl-Error-for-HexToArrayError" class="impl"><a href="#impl-Error-for-HexToArrayError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../hex/enum.HexToArrayError.html" title="enum bdk_chain::bitcoin::hashes::hex::HexToArrayError">HexToArrayError</a></h3></section><section id="impl-Error-for-HexToBytesError" class="impl"><a href="#impl-Error-for-HexToBytesError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../hex/enum.HexToBytesError.html" title="enum bdk_chain::bitcoin::hashes::hex::HexToBytesError">HexToBytesError</a></h3></section><section id="impl-Error-for-Infallible" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.8.0">1.8.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#930">Source</a></span><a href="#impl-Error-for-Infallible" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h3></section><section id="impl-Error-for-GetManyMutError" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#1079">Source</a><a href="#impl-Error-for-GetManyMutError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/slice/enum.GetManyMutError.html" title="enum core::slice::GetManyMutError">GetManyMutError</a></h3></section><section id="impl-Error-for-VarError" class="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/std/env.rs.html#297">Source</a></span><a href="#impl-Error-for-VarError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/std/env/enum.VarError.html" title="enum std::env::VarError">VarError</a></h3></section><section id="impl-Error-for-RecvTimeoutError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.15.0">1.15.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/std/sync/mpsc/mod.rs.html#1225">Source</a></span><a href="#impl-Error-for-RecvTimeoutError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/std/sync/mpsc/enum.RecvTimeoutError.html" title="enum std::sync::mpsc::RecvTimeoutError">RecvTimeoutError</a></h3></section><section id="impl-Error-for-TryRecvError" class="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/std/sync/mpsc/mod.rs.html#1190">Source</a></span><a href="#impl-Error-for-TryRecvError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/std/sync/mpsc/enum.TryRecvError.html" title="enum std::sync::mpsc::TryRecvError">TryRecvError</a></h3></section><section id="impl-Error-for-!" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#192">Source</a><a href="#impl-Error-for-!" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.never.html">!</a></h3></section><section id="impl-Error-for-AlterCheckPointError" class="impl"><a class="src rightside" href="../../../../../src/bdk_chain/local_chain.rs.html#500">Source</a><a href="#impl-Error-for-AlterCheckPointError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../../local_chain/struct.AlterCheckPointError.html" title="struct bdk_chain::local_chain::AlterCheckPointError">AlterCheckPointError</a></h3></section><section id="impl-Error-for-CannotConnectError" class="impl"><a class="src rightside" href="../../../../../src/bdk_chain/local_chain.rs.html#520">Source</a><a href="#impl-Error-for-CannotConnectError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../../local_chain/struct.CannotConnectError.html" title="struct bdk_chain::local_chain::CannotConnectError">CannotConnectError</a></h3></section><section id="impl-Error-for-MissingGenesisError" class="impl"><a class="src rightside" href="../../../../../src/bdk_chain/local_chain.rs.html#469">Source</a><a href="#impl-Error-for-MissingGenesisError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../../local_chain/struct.MissingGenesisError.html" title="struct bdk_chain::local_chain::MissingGenesisError">MissingGenesisError</a></h3></section><section id="impl-Error-for-InvalidBase58PayloadLengthError" class="impl"><a href="#impl-Error-for-InvalidBase58PayloadLengthError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::address::<a class="struct" href="../../../address/struct.InvalidBase58PayloadLengthError.html" title="struct bdk_chain::bitcoin::address::InvalidBase58PayloadLengthError">InvalidBase58PayloadLengthError</a></h3></section><section id="impl-Error-for-InvalidLegacyPrefixError" class="impl"><a href="#impl-Error-for-InvalidLegacyPrefixError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../address/struct.InvalidLegacyPrefixError.html" title="struct bdk_chain::bitcoin::address::InvalidLegacyPrefixError">InvalidLegacyPrefixError</a></h3></section><section id="impl-Error-for-LegacyAddressTooLongError" class="impl"><a href="#impl-Error-for-LegacyAddressTooLongError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../address/struct.LegacyAddressTooLongError.html" title="struct bdk_chain::bitcoin::address::LegacyAddressTooLongError">LegacyAddressTooLongError</a></h3></section><section id="impl-Error-for-NetworkValidationError" class="impl"><a href="#impl-Error-for-NetworkValidationError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../address/struct.NetworkValidationError.html" title="struct bdk_chain::bitcoin::address::NetworkValidationError">NetworkValidationError</a></h3></section><section id="impl-Error-for-UnknownAddressTypeError" class="impl"><a href="#impl-Error-for-UnknownAddressTypeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../address/struct.UnknownAddressTypeError.html" title="struct bdk_chain::bitcoin::address::UnknownAddressTypeError">UnknownAddressTypeError</a></h3></section><section id="impl-Error-for-UnknownHrpError" class="impl"><a href="#impl-Error-for-UnknownHrpError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../address/struct.UnknownHrpError.html" title="struct bdk_chain::bitcoin::address::UnknownHrpError">UnknownHrpError</a></h3></section><section id="impl-Error-for-IncorrectChecksumError" class="impl"><a href="#impl-Error-for-IncorrectChecksumError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../base58/error/struct.IncorrectChecksumError.html" title="struct bdk_chain::bitcoin::base58::error::IncorrectChecksumError">IncorrectChecksumError</a></h3></section><section id="impl-Error-for-TooShortError" class="impl"><a href="#impl-Error-for-TooShortError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../base58/error/struct.TooShortError.html" title="struct bdk_chain::bitcoin::base58::error::TooShortError">TooShortError</a></h3></section><section id="impl-Error-for-InvalidCharacterError" class="impl"><a href="#impl-Error-for-InvalidCharacterError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::base58::<a class="struct" href="../../../base58/struct.InvalidCharacterError.html" title="struct bdk_chain::bitcoin::base58::InvalidCharacterError">InvalidCharacterError</a></h3></section><section id="impl-Error-for-CodeLengthError" class="impl"><a href="#impl-Error-for-CodeLengthError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../bech32/primitives/decode/struct.CodeLengthError.html" title="struct bdk_chain::bitcoin::bech32::primitives::decode::CodeLengthError">CodeLengthError</a></h3></section><section id="impl-Error-for-SegwitCodeLengthError" class="impl"><a href="#impl-Error-for-SegwitCodeLengthError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../bech32/primitives/decode/struct.SegwitCodeLengthError.html" title="struct bdk_chain::bitcoin::bech32::primitives::decode::SegwitCodeLengthError">SegwitCodeLengthError</a></h3></section><section id="impl-Error-for-InvalidWitnessVersionError" class="impl"><a href="#impl-Error-for-InvalidWitnessVersionError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../bech32/primitives/segwit/struct.InvalidWitnessVersionError.html" title="struct bdk_chain::bitcoin::bech32::primitives::segwit::InvalidWitnessVersionError">InvalidWitnessVersionError</a></h3></section><section id="impl-Error-for-DecodeError-2" class="impl"><a href="#impl-Error-for-DecodeError-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bech32::segwit::<a class="struct" href="../../../bech32/segwit/struct.DecodeError.html" title="struct bdk_chain::bitcoin::bech32::segwit::DecodeError">DecodeError</a></h3></section><section id="impl-Error-for-InvalidBase58PayloadLengthError-1" class="impl"><a href="#impl-Error-for-InvalidBase58PayloadLengthError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::bip32::<a class="struct" href="../../../bip32/struct.InvalidBase58PayloadLengthError.html" title="struct bdk_chain::bitcoin::bip32::InvalidBase58PayloadLengthError">InvalidBase58PayloadLengthError</a></h3></section><section id="impl-Error-for-TxIndexOutOfRangeError" class="impl"><a href="#impl-Error-for-TxIndexOutOfRangeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../bip152/struct.TxIndexOutOfRangeError.html" title="struct bdk_chain::bitcoin::bip152::TxIndexOutOfRangeError">TxIndexOutOfRangeError</a></h3></section><section id="impl-Error-for-ConversionError" class="impl"><a href="#impl-Error-for-ConversionError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::blockdata::locktime::absolute::<a class="struct" href="../../../blockdata/locktime/absolute/struct.ConversionError.html" title="struct bdk_chain::bitcoin::blockdata::locktime::absolute::ConversionError">ConversionError</a></h3></section><section id="impl-Error-for-ParseHeightError" class="impl"><a href="#impl-Error-for-ParseHeightError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../blockdata/locktime/absolute/struct.ParseHeightError.html" title="struct bdk_chain::bitcoin::blockdata::locktime::absolute::ParseHeightError">ParseHeightError</a></h3></section><section id="impl-Error-for-ParseTimeError" class="impl"><a href="#impl-Error-for-ParseTimeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../blockdata/locktime/absolute/struct.ParseTimeError.html" title="struct bdk_chain::bitcoin::blockdata::locktime::absolute::ParseTimeError">ParseTimeError</a></h3></section><section id="impl-Error-for-DisabledLockTimeError" class="impl"><a href="#impl-Error-for-DisabledLockTimeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../blockdata/locktime/relative/struct.DisabledLockTimeError.html" title="struct bdk_chain::bitcoin::blockdata::locktime::relative::DisabledLockTimeError">DisabledLockTimeError</a></h3></section><section id="impl-Error-for-IncompatibleHeightError" class="impl"><a href="#impl-Error-for-IncompatibleHeightError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../blockdata/locktime/relative/struct.IncompatibleHeightError.html" title="struct bdk_chain::bitcoin::blockdata::locktime::relative::IncompatibleHeightError">IncompatibleHeightError</a></h3></section><section id="impl-Error-for-IncompatibleTimeError" class="impl"><a href="#impl-Error-for-IncompatibleTimeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../blockdata/locktime/relative/struct.IncompatibleTimeError.html" title="struct bdk_chain::bitcoin::blockdata::locktime::relative::IncompatibleTimeError">IncompatibleTimeError</a></h3></section><section id="impl-Error-for-TimeOverflowError" class="impl"><a href="#impl-Error-for-TimeOverflowError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../blockdata/locktime/relative/struct.TimeOverflowError.html" title="struct bdk_chain::bitcoin::blockdata::locktime::relative::TimeOverflowError">TimeOverflowError</a></h3></section><section id="impl-Error-for-PushBytesError" class="impl"><a href="#impl-Error-for-PushBytesError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../blockdata/script/struct.PushBytesError.html" title="struct bdk_chain::bitcoin::blockdata::script::PushBytesError">PushBytesError</a></h3></section><section id="impl-Error-for-TryFromError-1" class="impl"><a href="#impl-Error-for-TryFromError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::blockdata::script::witness_version::<a class="struct" href="../../../blockdata/script/witness_version/struct.TryFromError.html" title="struct bdk_chain::bitcoin::blockdata::script::witness_version::TryFromError">TryFromError</a></h3></section><section id="impl-Error-for-IndexOutOfBoundsError-1" class="impl"><a href="#impl-Error-for-IndexOutOfBoundsError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::blockdata::transaction::<a class="struct" href="../../../blockdata/transaction/struct.IndexOutOfBoundsError.html" title="struct bdk_chain::bitcoin::blockdata::transaction::IndexOutOfBoundsError">IndexOutOfBoundsError</a></h3></section><section id="impl-Error-for-InputsIndexError" class="impl"><a href="#impl-Error-for-InputsIndexError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../blockdata/transaction/struct.InputsIndexError.html" title="struct bdk_chain::bitcoin::blockdata::transaction::InputsIndexError">InputsIndexError</a></h3></section><section id="impl-Error-for-OutputsIndexError" class="impl"><a href="#impl-Error-for-OutputsIndexError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../blockdata/transaction/struct.OutputsIndexError.html" title="struct bdk_chain::bitcoin::blockdata::transaction::OutputsIndexError">OutputsIndexError</a></h3></section><section id="impl-Error-for-ContainsPrefixError" class="impl"><a href="#impl-Error-for-ContainsPrefixError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../error/struct.ContainsPrefixError.html" title="struct bdk_chain::bitcoin::error::ContainsPrefixError">ContainsPrefixError</a></h3></section><section id="impl-Error-for-MissingPrefixError" class="impl"><a href="#impl-Error-for-MissingPrefixError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../error/struct.MissingPrefixError.html" title="struct bdk_chain::bitcoin::error::MissingPrefixError">MissingPrefixError</a></h3></section><section id="impl-Error-for-Error-11" class="impl"><a href="#impl-Error-for-Error-11" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::io::<a class="struct" href="../../../io/struct.Error.html" title="struct bdk_chain::bitcoin::io::Error">Error</a></h3></section><section id="impl-Error-for-InvalidAddressVersionError" class="impl"><a href="#impl-Error-for-InvalidAddressVersionError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../key/struct.InvalidAddressVersionError.html" title="struct bdk_chain::bitcoin::key::InvalidAddressVersionError">InvalidAddressVersionError</a></h3></section><section id="impl-Error-for-InvalidBase58PayloadLengthError-2" class="impl"><a href="#impl-Error-for-InvalidBase58PayloadLengthError-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::key::<a class="struct" href="../../../key/struct.InvalidBase58PayloadLengthError.html" title="struct bdk_chain::bitcoin::key::InvalidBase58PayloadLengthError">InvalidBase58PayloadLengthError</a></h3></section><section id="impl-Error-for-UncompressedPublicKeyError" class="impl"><a href="#impl-Error-for-UncompressedPublicKeyError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../key/struct.UncompressedPublicKeyError.html" title="struct bdk_chain::bitcoin::key::UncompressedPublicKeyError">UncompressedPublicKeyError</a></h3></section><section id="impl-Error-for-ParseNetworkError" class="impl"><a href="#impl-Error-for-ParseNetworkError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../network/struct.ParseNetworkError.html" title="struct bdk_chain::bitcoin::network::ParseNetworkError">ParseNetworkError</a></h3></section><section id="impl-Error-for-UnknownChainHashError" class="impl"><a href="#impl-Error-for-UnknownChainHashError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../network/struct.UnknownChainHashError.html" title="struct bdk_chain::bitcoin::network::UnknownChainHashError">UnknownChainHashError</a></h3></section><section id="impl-Error-for-CommandStringError" class="impl"><a href="#impl-Error-for-CommandStringError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../p2p/message/struct.CommandStringError.html" title="struct bdk_chain::bitcoin::p2p::message::CommandStringError">CommandStringError</a></h3></section><section id="impl-Error-for-ParseMagicError" class="impl"><a href="#impl-Error-for-ParseMagicError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../p2p/struct.ParseMagicError.html" title="struct bdk_chain::bitcoin::p2p::ParseMagicError">ParseMagicError</a></h3></section><section id="impl-Error-for-UnknownMagicError" class="impl"><a href="#impl-Error-for-UnknownMagicError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../p2p/struct.UnknownMagicError.html" title="struct bdk_chain::bitcoin::p2p::UnknownMagicError">UnknownMagicError</a></h3></section><section id="impl-Error-for-ParseIntError" class="impl"><a href="#impl-Error-for-ParseIntError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::parse::<a class="struct" href="../../../parse/struct.ParseIntError.html" title="struct bdk_chain::bitcoin::parse::ParseIntError">ParseIntError</a></h3></section><section id="impl-Error-for-FromSliceError-1" class="impl"><a href="#impl-Error-for-FromSliceError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::secp256k1::hashes::<a class="struct" href="../../../secp256k1/hashes/struct.FromSliceError.html" title="struct bdk_chain::bitcoin::secp256k1::hashes::FromSliceError">FromSliceError</a></h3></section><section id="impl-Error-for-ReadError" class="impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand/rngs/adapter/read.rs.html#90">Source</a><a href="#impl-Error-for-ReadError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../secp256k1/rand/rngs/adapter/struct.ReadError.html" title="struct bdk_chain::bitcoin::secp256k1::rand::rngs::adapter::ReadError">ReadError</a></h3></section><section id="impl-Error-for-Error-12" class="impl"><a class="src rightside" href="https://rust-random.github.io/rand/src/rand_core/error.rs.html#186">Source</a><a href="#impl-Error-for-Error-12" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::secp256k1::rand::<a class="struct" href="../../../secp256k1/rand/struct.Error.html" title="struct bdk_chain::bitcoin::secp256k1::rand::Error">Error</a></h3></section><section id="impl-Error-for-OutOfRangeError" class="impl"><a href="#impl-Error-for-OutOfRangeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::secp256k1::scalar::<a class="struct" href="../../../secp256k1/scalar/struct.OutOfRangeError.html" title="struct bdk_chain::bitcoin::secp256k1::scalar::OutOfRangeError">OutOfRangeError</a></h3></section><section id="impl-Error-for-InvalidParityValue" class="impl"><a href="#impl-Error-for-InvalidParityValue" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../secp256k1/struct.InvalidParityValue.html" title="struct bdk_chain::bitcoin::secp256k1::InvalidParityValue">InvalidParityValue</a></h3></section><section id="impl-Error-for-InvalidSighashTypeError" class="impl"><a href="#impl-Error-for-InvalidSighashTypeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../sighash/struct.InvalidSighashTypeError.html" title="struct bdk_chain::bitcoin::sighash::InvalidSighashTypeError">InvalidSighashTypeError</a></h3></section><section id="impl-Error-for-NonStandardSighashTypeError" class="impl"><a href="#impl-Error-for-NonStandardSighashTypeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../sighash/struct.NonStandardSighashTypeError.html" title="struct bdk_chain::bitcoin::sighash::NonStandardSighashTypeError">NonStandardSighashTypeError</a></h3></section><section id="impl-Error-for-PrevoutsKindError" class="impl"><a href="#impl-Error-for-PrevoutsKindError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../sighash/struct.PrevoutsKindError.html" title="struct bdk_chain::bitcoin::sighash::PrevoutsKindError">PrevoutsKindError</a></h3></section><section id="impl-Error-for-PrevoutsSizeError" class="impl"><a href="#impl-Error-for-PrevoutsSizeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../sighash/struct.PrevoutsSizeError.html" title="struct bdk_chain::bitcoin::sighash::PrevoutsSizeError">PrevoutsSizeError</a></h3></section><section id="impl-Error-for-SighashTypeParseError" class="impl"><a href="#impl-Error-for-SighashTypeParseError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../sighash/struct.SighashTypeParseError.html" title="struct bdk_chain::bitcoin::sighash::SighashTypeParseError">SighashTypeParseError</a></h3></section><section id="impl-Error-for-SingleMissingOutputError" class="impl"><a href="#impl-Error-for-SingleMissingOutputError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../../sighash/struct.SingleMissingOutputError.html" title="struct bdk_chain::bitcoin::sighash::SingleMissingOutputError">SingleMissingOutputError</a></h3></section><section id="impl-Error-for-InvalidLengthError" class="impl"><a href="#impl-Error-for-InvalidLengthError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../hex/error/struct.InvalidLengthError.html" title="struct bdk_chain::bitcoin::hashes::hex::error::InvalidLengthError">InvalidLengthError</a></h3></section><section id="impl-Error-for-InvalidCharError" class="impl"><a href="#impl-Error-for-InvalidCharError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../hex/struct.InvalidCharError.html" title="struct bdk_chain::bitcoin::hashes::hex::InvalidCharError">InvalidCharError</a></h3></section><section id="impl-Error-for-OddLengthStringError" class="impl"><a href="#impl-Error-for-OddLengthStringError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="../../hex/struct.OddLengthStringError.html" title="struct bdk_chain::bitcoin::hashes::hex::OddLengthStringError">OddLengthStringError</a></h3></section><section id="impl-Error-for-UnorderedKeyError" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/collections/btree/map.rs.html#3475">Source</a><a href="#impl-Error-for-UnorderedKeyError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/struct.UnorderedKeyError.html" title="struct alloc::collections::btree::map::UnorderedKeyError">UnorderedKeyError</a></h3></section><section id="impl-Error-for-TryReserveError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.57.0">1.57.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/collections/mod.rs.html#155">Source</a></span><a href="#impl-Error-for-TryReserveError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/struct.TryReserveError.html" title="struct alloc::collections::TryReserveError">TryReserveError</a></h3></section><section id="impl-Error-for-FromVecWithNulError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.58.0">1.58.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/ffi/c_str.rs.html#1189">Source</a></span><a href="#impl-Error-for-FromVecWithNulError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/ffi/c_str/struct.FromVecWithNulError.html" title="struct alloc::ffi::c_str::FromVecWithNulError">FromVecWithNulError</a></h3></section><section id="impl-Error-for-IntoStringError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.7.0">1.7.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/ffi/c_str.rs.html#1192">Source</a></span><a href="#impl-Error-for-IntoStringError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/ffi/c_str/struct.IntoStringError.html" title="struct alloc::ffi::c_str::IntoStringError">IntoStringError</a></h3></section><section id="impl-Error-for-NulError" class="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/alloc/ffi/c_str.rs.html#1181">Source</a></span><a href="#impl-Error-for-NulError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/ffi/c_str/struct.NulError.html" title="struct alloc::ffi::c_str::NulError">NulError</a></h3></section><section id="impl-Error-for-FromUtf8Error" class="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/alloc/string.rs.html#2194">Source</a></span><a href="#impl-Error-for-FromUtf8Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.FromUtf8Error.html" title="struct alloc::string::FromUtf8Error">FromUtf8Error</a></h3></section><section id="impl-Error-for-FromUtf16Error" class="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/alloc/string.rs.html#2202">Source</a></span><a href="#impl-Error-for-FromUtf16Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.FromUtf16Error.html" title="struct alloc::string::FromUtf16Error">FromUtf16Error</a></h3></section><section id="impl-Error-for-LayoutError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.28.0">1.28.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/alloc/layout.rs.html#549">Source</a></span><a href="#impl-Error-for-LayoutError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/alloc/layout/struct.LayoutError.html" title="struct core::alloc::layout::LayoutError">LayoutError</a></h3></section><section id="impl-Error-for-AllocError" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/alloc/mod.rs.html#39">Source</a><a href="#impl-Error-for-AllocError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/alloc/struct.AllocError.html" title="struct core::alloc::AllocError">AllocError</a></h3></section><section id="impl-Error-for-TryFromSliceError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.34.0">1.34.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/array/mod.rs.html#173">Source</a></span><a href="#impl-Error-for-TryFromSliceError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/array/struct.TryFromSliceError.html" title="struct core::array::TryFromSliceError">TryFromSliceError</a></h3></section><section id="impl-Error-for-BorrowError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.13.0">1.13.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#1049">Source</a></span><a href="#impl-Error-for-BorrowError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.BorrowError.html" title="struct core::cell::BorrowError">BorrowError</a></h3></section><section id="impl-Error-for-BorrowMutError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.13.0">1.13.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#1057">Source</a></span><a href="#impl-Error-for-BorrowMutError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.BorrowMutError.html" title="struct core::cell::BorrowMutError">BorrowMutError</a></h3></section><section id="impl-Error-for-CharTryFromError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.34.0">1.34.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#1065">Source</a></span><a href="#impl-Error-for-CharTryFromError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/char/convert/struct.CharTryFromError.html" title="struct core::char::convert::CharTryFromError">CharTryFromError</a></h3></section><section id="impl-Error-for-ParseCharError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.20.0">1.20.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/char/convert.rs.html#198">Source</a></span><a href="#impl-Error-for-ParseCharError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/char/convert/struct.ParseCharError.html" title="struct core::char::convert::ParseCharError">ParseCharError</a></h3></section><section id="impl-Error-for-DecodeUtf16Error" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.9.0">1.9.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/char/decode.rs.html#129">Source</a></span><a href="#impl-Error-for-DecodeUtf16Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/char/decode/struct.DecodeUtf16Error.html" title="struct core::char::decode::DecodeUtf16Error">DecodeUtf16Error</a></h3></section><section id="impl-Error-for-TryFromCharError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.59.0">1.59.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/char/mod.rs.html#619">Source</a></span><a href="#impl-Error-for-TryFromCharError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/char/struct.TryFromCharError.html" title="struct core::char::TryFromCharError">TryFromCharError</a></h3></section><section id="impl-Error-for-FromBytesUntilNulError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.69.0">1.69.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#1076">Source</a></span><a href="#impl-Error-for-FromBytesUntilNulError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/ffi/c_str/struct.FromBytesUntilNulError.html" title="struct core::ffi::c_str::FromBytesUntilNulError">FromBytesUntilNulError</a></h3></section><section id="impl-Error-for-FromBytesWithNulError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.17.0">1.17.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/ffi/c_str.rs.html#150">Source</a></span><a href="#impl-Error-for-FromBytesWithNulError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/ffi/c_str/struct.FromBytesWithNulError.html" title="struct core::ffi::c_str::FromBytesWithNulError">FromBytesWithNulError</a></h3></section><section id="impl-Error-for-Error-13" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.11.0">1.11.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#1041">Source</a></span><a href="#impl-Error-for-Error-13" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for core::fmt::<a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a></h3></section><section id="impl-Error-for-AddrParseError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.4.0">1.4.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/net/parser.rs.html#507">Source</a></span><a href="#impl-Error-for-AddrParseError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/net/parser/struct.AddrParseError.html" title="struct core::net::parser::AddrParseError">AddrParseError</a></h3></section><section id="impl-Error-for-ParseFloatError" class="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/num/dec2flt/mod.rs.html#192">Source</a></span><a href="#impl-Error-for-ParseFloatError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/dec2flt/struct.ParseFloatError.html" title="struct core::num::dec2flt::ParseFloatError">ParseFloatError</a></h3></section><section id="impl-Error-for-ParseIntError-1" class="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/num/error.rs.html#132">Source</a></span><a href="#impl-Error-for-ParseIntError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for core::num::error::<a class="struct" href="https://doc.rust-lang.org/nightly/core/num/error/struct.ParseIntError.html" title="struct core::num::error::ParseIntError">ParseIntError</a></h3></section><section id="impl-Error-for-TryFromIntError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.34.0">1.34.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/num/error.rs.html#21">Source</a></span><a href="#impl-Error-for-TryFromIntError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/num/error/struct.TryFromIntError.html" title="struct core::num::error::TryFromIntError">TryFromIntError</a></h3></section><section id="impl-Error-for-ParseBoolError" class="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/str/error.rs.html#150">Source</a></span><a href="#impl-Error-for-ParseBoolError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/str/error/struct.ParseBoolError.html" title="struct core::str::error::ParseBoolError">ParseBoolError</a></h3></section><section id="impl-Error-for-Utf8Error" class="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/str/error.rs.html#127">Source</a></span><a href="#impl-Error-for-Utf8Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/str/error/struct.Utf8Error.html" title="struct core::str::error::Utf8Error">Utf8Error</a></h3></section><section id="impl-Error-for-TryFromFloatSecsError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.66.0">1.66.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#1073">Source</a></span><a href="#impl-Error-for-TryFromFloatSecsError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/core/time/struct.TryFromFloatSecsError.html" title="struct core::time::TryFromFloatSecsError">TryFromFloatSecsError</a></h3></section><section id="impl-Error-for-JoinPathsError" class="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/std/env.rs.html#591">Source</a></span><a href="#impl-Error-for-JoinPathsError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/env/struct.JoinPathsError.html" title="struct std::env::JoinPathsError">JoinPathsError</a></h3></section><section id="impl-Error-for-WriterPanicked" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.56.0">1.56.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/std/io/buffered/bufwriter.rs.html#501">Source</a></span><a href="#impl-Error-for-WriterPanicked" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/buffered/bufwriter/struct.WriterPanicked.html" title="struct std::io::buffered::bufwriter::WriterPanicked">WriterPanicked</a></h3></section><section id="impl-Error-for-Error-14" class="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/std/io/error.rs.html#1048">Source</a></span><a href="#impl-Error-for-Error-14" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for std::io::error::<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></h3></section><section id="impl-Error-for-StripPrefixError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.7.0">1.7.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/std/path.rs.html#3499">Source</a></span><a href="#impl-Error-for-StripPrefixError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.StripPrefixError.html" title="struct std::path::StripPrefixError">StripPrefixError</a></h3></section><section id="impl-Error-for-ExitStatusError" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/std/process.rs.html#1915">Source</a><a href="#impl-Error-for-ExitStatusError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/process/struct.ExitStatusError.html" title="struct std::process::ExitStatusError">ExitStatusError</a></h3></section><section id="impl-Error-for-RecvError" class="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/std/sync/mpsc/mod.rs.html#1172">Source</a></span><a href="#impl-Error-for-RecvError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/mpsc/struct.RecvError.html" title="struct std::sync::mpsc::RecvError">RecvError</a></h3></section><section id="impl-Error-for-AccessError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.26.0">1.26.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/std/thread/local.rs.html#231">Source</a></span><a href="#impl-Error-for-AccessError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/thread/local/struct.AccessError.html" title="struct std::thread::local::AccessError">AccessError</a></h3></section><section id="impl-Error-for-SystemTimeError" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.8.0">1.8.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/std/time.rs.html#695">Source</a></span><a href="#impl-Error-for-SystemTimeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html" title="struct std::time::SystemTimeError">SystemTimeError</a></h3></section><section id="impl-Error-for-Error-15" class="impl"><a class="src rightside" href="https://docs.rs/getrandom/0.2.15/src/getrandom/error_impls.rs.html#15">Source</a><a href="#impl-Error-for-Error-15" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for getrandom::error::<a class="struct" href="https://docs.rs/getrandom/0.2.15/getrandom/error/struct.Error.html" title="struct getrandom::error::Error">Error</a></h3></section><section id="impl-Error-for-Error-16" class="impl"><a class="src rightside" href="https://docs.rs/serde/1.0.216/src/serde/de/value.rs.html#116">Source</a><a href="#impl-Error-for-Error-16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::hashes::serde::de::value::<a class="struct" href="value/struct.Error.html" title="struct bdk_chain::bitcoin::hashes::serde::de::value::Error">Error</a></h3></section><section id="impl-Error-for-AbsLockTimeError" class="impl"><a href="#impl-Error-for-AbsLockTimeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for AbsLockTimeError</h3></section><section id="impl-Error-for-AnalysisError" class="impl"><a href="#impl-Error-for-AnalysisError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for AnalysisError</h3></section><section id="impl-Error-for-ConversionError-1" class="impl"><a href="#impl-Error-for-ConversionError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for ConversionError</h3></section><section id="impl-Error-for-DescriptorKeyParseError" class="impl"><a href="#impl-Error-for-DescriptorKeyParseError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for DescriptorKeyParseError</h3></section><section id="impl-Error-for-Error-17" class="impl"><a href="#impl-Error-for-Error-17" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for Error</h3></section><section id="impl-Error-for-Error-18" class="impl"><a href="#impl-Error-for-Error-18" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for Error</h3></section><section id="impl-Error-for-Error-19" class="impl"><a href="#impl-Error-for-Error-19" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for Error</h3></section><section id="impl-Error-for-Error-20" class="impl"><a href="#impl-Error-for-Error-20" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for Error</h3></section><section id="impl-Error-for-Error-21" class="impl"><a href="#impl-Error-for-Error-21" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for Error</h3></section><section id="impl-Error-for-Error-22" class="impl"><a href="#impl-Error-for-Error-22" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for Error</h3></section><section id="impl-Error-for-FromSqlError" class="impl"><a href="#impl-Error-for-FromSqlError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for FromSqlError</h3></section><section id="impl-Error-for-InputError" class="impl"><a href="#impl-Error-for-InputError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for InputError</h3></section><section id="impl-Error-for-InputTooLargeError" class="impl"><a href="#impl-Error-for-InputTooLargeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for InputTooLargeError</h3></section><section id="impl-Error-for-InvalidCharacterError-1" class="impl"><a href="#impl-Error-for-InvalidCharacterError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for InvalidCharacterError</h3></section><section id="impl-Error-for-KeyParseError" class="impl"><a href="#impl-Error-for-KeyParseError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for KeyParseError</h3></section><section id="impl-Error-for-LiftError" class="impl"><a href="#impl-Error-for-LiftError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for LiftError</h3></section><section id="impl-Error-for-MissingDigitsError" class="impl"><a href="#impl-Error-for-MissingDigitsError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for MissingDigitsError</h3></section><section id="impl-Error-for-OutOfRangeError-1" class="impl"><a href="#impl-Error-for-OutOfRangeError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for OutOfRangeError</h3></section><section id="impl-Error-for-OutputUpdateError" class="impl"><a href="#impl-Error-for-OutputUpdateError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for OutputUpdateError</h3></section><section id="impl-Error-for-ParseDenominationError" class="impl"><a href="#impl-Error-for-ParseDenominationError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for ParseDenominationError</h3></section><section id="impl-Error-for-ParseError-1" class="impl"><a href="#impl-Error-for-ParseError-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for ParseError</h3></section><section id="impl-Error-for-ParseError-2" class="impl"><a href="#impl-Error-for-ParseError-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for ParseError</h3></section><section id="impl-Error-for-ParseThresholdError" class="impl"><a href="#impl-Error-for-ParseThresholdError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for ParseThresholdError</h3></section><section id="impl-Error-for-PolicyError" class="impl"><a href="#impl-Error-for-PolicyError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for PolicyError</h3></section><section id="impl-Error-for-PossiblyConfusingDenominationError" class="impl"><a href="#impl-Error-for-PossiblyConfusingDenominationError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for PossiblyConfusingDenominationError</h3></section><section id="impl-Error-for-RelLockTimeError" class="impl"><a href="#impl-Error-for-RelLockTimeError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for RelLockTimeError</h3></section><section id="impl-Error-for-SighashError" class="impl"><a href="#impl-Error-for-SighashError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for SighashError</h3></section><section id="impl-Error-for-ThresholdError" class="impl"><a href="#impl-Error-for-ThresholdError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for ThresholdError</h3></section><section id="impl-Error-for-TooPreciseError" class="impl"><a href="#impl-Error-for-TooPreciseError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for TooPreciseError</h3></section><section id="impl-Error-for-UnknownDenominationError" class="impl"><a href="#impl-Error-for-UnknownDenominationError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for UnknownDenominationError</h3></section><section id="impl-Error-for-UtxoUpdateError" class="impl"><a href="#impl-Error-for-UtxoUpdateError" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for UtxoUpdateError</h3></section><section id="impl-Error-for-OccupiedError%3C'a,+K,+V%3E" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/collections/btree/map/entry.rs.html#136-137">Source</a><a href="#impl-Error-for-OccupiedError%3C'a,+K,+V%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, K, V&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for alloc::collections::btree::map::entry::<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/collections/btree/map/entry/struct.OccupiedError.html" title="struct alloc::collections::btree::map::entry::OccupiedError">OccupiedError</a>&lt;'a, K, V&gt;<div class="where">where
303 K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a>,
304 V: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>,</div></h3></section><section id="impl-Error-for-OccupiedError%3C'a,+K,+V%3E-1" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/std/collections/hash/map.rs.html#2322">Source</a><a href="#impl-Error-for-OccupiedError%3C'a,+K,+V%3E-1" class="anchor">§</a><h3 class="code-header">impl&lt;'a, K, V&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for std::collections::hash::map::<a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.OccupiedError.html" title="struct std::collections::hash::map::OccupiedError">OccupiedError</a>&lt;'a, K, V&gt;<div class="where">where
305 K: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>,
306 V: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>,</div></h3></section><section id="impl-Error-for-%26T" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.51.0">1.51.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/error.rs.html#1020">Source</a></span><a href="#impl-Error-for-%26T" class="anchor">§</a><h3 class="code-header">impl&lt;'a, T&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a T</a><div class="where">where
307 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + ?<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><section id="impl-Error-for-DecodeError%3CE%3E" class="impl"><a href="#impl-Error-for-DecodeError%3CE%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for bdk_chain::bitcoin::consensus::<a class="enum" href="../../../consensus/enum.DecodeError.html" title="enum bdk_chain::bitcoin::consensus::DecodeError">DecodeError</a>&lt;E&gt;<div class="where">where
308 E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>,</div></h3></section><section id="impl-Error-for-SigningDataError%3CE%3E" class="impl"><a href="#impl-Error-for-SigningDataError%3CE%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../sighash/enum.SigningDataError.html" title="enum bdk_chain::bitcoin::sighash::SigningDataError">SigningDataError</a>&lt;E&gt;<div class="where">where
309 E: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + 'static,</div></h3></section><section id="impl-Error-for-Box%3CE%3E" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.8.0">1.8.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/boxed.rs.html#2118">Source</a></span><a href="#impl-Error-for-Box%3CE%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;E&gt;<div class="where">where
310 E: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a>,</div></h3></section><section id="impl-Error-for-InsertDescriptorError%3CK%3E" class="impl"><a class="src rightside" href="../../../../../src/bdk_chain/indexer/keychain_txout.rs.html#824">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="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="../../../../indexer/keychain_txout/enum.InsertDescriptorError.html" title="enum bdk_chain::indexer::keychain_txout::InsertDescriptorError">InsertDescriptorError</a>&lt;K&gt;</h3></section><section id="impl-Error-for-SendTimeoutError%3CT%3E" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/std/sync/mpmc/error.rs.html#40">Source</a><a href="#impl-Error-for-SendTimeoutError%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/std/sync/mpmc/error/enum.SendTimeoutError.html" title="enum std::sync::mpmc::error::SendTimeoutError">SendTimeoutError</a>&lt;T&gt;</h3></section><section id="impl-Error-for-TrySendError%3CT%3E" class="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/std/sync/mpsc/mod.rs.html#1140">Source</a></span><a href="#impl-Error-for-TrySendError%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/std/sync/mpsc/enum.TrySendError.html" title="enum std::sync::mpsc::TrySendError">TrySendError</a>&lt;T&gt;</h3></section><section id="impl-Error-for-TryLockError%3CT%3E" class="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/std/sync/poison.rs.html#295">Source</a></span><a href="#impl-Error-for-TryLockError%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/std/sync/poison/enum.TryLockError.html" title="enum std::sync::poison::TryLockError">TryLockError</a>&lt;T&gt;</h3></section><section id="impl-Error-for-ThinBox%3CT%3E" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/boxed/thin.rs.html#433">Source</a><a href="#impl-Error-for-ThinBox%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/thin/struct.ThinBox.html" title="struct alloc::boxed::thin::ThinBox">ThinBox</a>&lt;T&gt;<div class="where">where
311 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + ?<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><section id="impl-Error-for-Arc%3CT%3E" class="impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.52.0">1.52.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/alloc/sync.rs.html#3993">Source</a></span><a href="#impl-Error-for-Arc%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;T&gt;<div class="where">where
312 T: <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> + ?<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><section id="impl-Error-for-SendError%3CT%3E" class="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/std/sync/mpsc/mod.rs.html#1112">Source</a></span><a href="#impl-Error-for-SendError%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/mpsc/struct.SendError.html" title="struct std::sync::mpsc::SendError">SendError</a>&lt;T&gt;</h3></section><section id="impl-Error-for-PoisonError%3CT%3E" class="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/std/sync/poison.rs.html#183">Source</a></span><a href="#impl-Error-for-PoisonError%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/sync/poison/struct.PoisonError.html" title="struct std::sync::poison::PoisonError">PoisonError</a>&lt;T&gt;</h3></section><section id="impl-Error-for-IntoInnerError%3CW%3E" class="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/std/io/buffered/mod.rs.html#182">Source</a></span><a href="#impl-Error-for-IntoInnerError%3CW%3E" class="anchor">§</a><h3 class="code-header">impl&lt;W&gt; <a class="trait" href="../ser/trait.StdError.html" title="trait bdk_chain::bitcoin::hashes::serde::ser::StdError">Error</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/buffered/struct.IntoInnerError.html" title="struct std::io::buffered::IntoInnerError">IntoInnerError</a>&lt;W&gt;<div class="where">where
313 W: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>,</div></h3></section></div><script src="../../../../../trait.impl/core/error/trait.Error.js" data-ignore-extern-crates="core,std,alloc,serde,bitcoin,base64,base58ck,bitcoin_hashes,hex_conservative,bitcoin_io,bech32,secp256k1,rand,rand_core,getrandom,bitcoin_units,rusqlite,libsqlite3_sys,bitflags,miniscript" async></script><script type="text/json" id="notable-traits-data">{"Source<'_>":"<h3>Notable traits for <code><a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/error/struct.Source.html\" title=\"struct core::error::Source\">Source</a>&lt;'a&gt;</code></h3><pre><code><div class=\"where\">impl&lt;'a&gt; <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> for <a class=\"struct\" href=\"https://doc.rust-lang.org/nightly/core/error/struct.Source.html\" title=\"struct core::error::Source\">Source</a>&lt;'a&gt;</div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/nightly/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = &amp;'a (dyn <a class=\"trait\" href=\"../ser/trait.StdError.html\" title=\"trait bdk_chain::bitcoin::hashes::serde::ser::StdError\">Error</a> + 'static);</div>"}</script></section></div></main></body></html>