librustzcash/rustdoc/latest/zcash_client_sqlite/struct.WalletDb.html

431 lines
200 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A wrapper for the SQLite connection to the wallet database, along with a capability to read the system from the clock. A `WalletDb` encapsulates the full set of capabilities that are required in order to implement the `WalletRead`, `WalletWrite` and `WalletCommitmentTrees` traits."><title>WalletDb in zcash_client_sqlite - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.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-20739d33.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="zcash_client_sqlite" data-themes="" data-resource-suffix="" data-rustdoc-version="1.88.0-nightly (74509131e 2025-04-29)" data-channel="nightly" data-search-js="search-f7877310.js" data-settings-js="settings-5514c975.js" ><script src="../static.files/storage-4e99c027.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-7ef8a74a.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 struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../zcash_client_sqlite/index.html">zcash_<wbr>client_<wbr>sqlite</a><span class="version">0.16.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Wallet<wbr>Db</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.check_witnesses" title="check_witnesses">check_witnesses</a></li><li><a href="#method.for_path" title="for_path">for_path</a></li><li><a href="#method.from_connection" title="from_connection">from_connection</a></li><li><a href="#method.queue_rescans" title="queue_rescans">queue_rescans</a></li><li><a href="#method.schedule_ephemeral_address_checks" title="schedule_ephemeral_address_checks">schedule_ephemeral_address_checks</a></li><li><a href="#method.transactionally" title="transactionally">transactionally</a></li><li><a href="#method.with_gap_limits" title="with_gap_limits">with_gap_limits</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-InputSource-for-WalletDb%3CC,+P,+CL,+R%3E" title="InputSource">InputSource</a></li><li><a href="#impl-WalletCommitmentTrees-for-WalletDb%3CC,+P,+CL,+R%3E" title="WalletCommitmentTrees">WalletCommitmentTrees</a></li><li><a href="#impl-WalletCommitmentTrees-for-WalletDb%3CSqlTransaction%3C'_%3E,+P,+CL,+R%3E" title="WalletCommitmentTrees">WalletCommitmentTrees</a></li><li><a href="#impl-WalletRead-for-WalletDb%3CC,+P,+CL,+R%3E" title="WalletRead">WalletRead</a></li><li><a href="#impl-WalletTest-for-WalletDb%3CC,+P,+CL,+R%3E" title="WalletTest">WalletTest</a></li><li><a href="#impl-WalletWrite-for-WalletDb%3CC,+P,+CL,+R%3E" title="WalletWrite">WalletWrite</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-WalletDb%3CC,+P,+CL,+R%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-WalletDb%3CC,+P,+CL,+R%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-WalletDb%3CC,+P,+CL,+R%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-WalletDb%3CC,+P,+CL,+R%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-WalletDb%3CC,+P,+CL,+R%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-WalletDb%3CC,+P,+CL,+R%3E" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-Conv-for-T" title="Conv">Conv</a></li><li><a href="#impl-FmtForward-for-T" title="FmtForward">FmtForward</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-IntoEither-for-T" title="IntoEither">IntoEither</a></li><li><a href="#impl-IntoRequest%3CT%3E-for-T" title="IntoRequest&#60;T&#62;">IntoRequest&#60;T&#62;</a></li><li><a href="#impl-LayerExt%3CL%3E-for-L" title="LayerExt&#60;L&#62;">LayerExt&#60;L&#62;</a></li><li><a href="#impl-Pipe-for-T" title="Pipe">Pipe</a></li><li><a href="#impl-Pointable-for-T" title="Pointable">Pointable</a></li><li><a href="#impl-Same-for-T" title="Same">Same</a></li><li><a href="#impl-Tap-for-T" title="Tap">Tap</a></li><li><a href="#impl-TryConv-for-T" title="TryConv">TryConv</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip&#60;V&#62;">VZip&#60;V&#62;</a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate zcash_<wbr>client_<wbr>sqlite</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"><div class="rustdoc-breadcrumbs"><a href="index.html">zcash_client_sqlite</a></div><h1>Struct <span class="struct">WalletDb</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/zcash_client_sqlite/lib.rs.html#365-372">Source</a> </span></div><pre class="rust item-decl"><code>pub struct WalletDb&lt;C, P, CL, R&gt; { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A wrapper for the SQLite connection to the wallet database, along with a capability to read the
system from the clock. A <code>WalletDb</code> encapsulates the full set of capabilities that are required
in order to implement the <a href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead"><code>WalletRead</code></a>, <a href="../zcash_client_backend/data_api/trait.WalletWrite.html" title="trait zcash_client_backend::data_api::WalletWrite"><code>WalletWrite</code></a> and <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html" title="trait zcash_client_backend::data_api::WalletCommitmentTrees"><code>WalletCommitmentTrees</code></a> traits.</p>
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-WalletDb%3CConnection,+P,+CL,+R%3E" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#383-411">Source</a><a href="#impl-WalletDb%3CConnection,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;P, CL, R&gt; <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;Connection, P, CL, R&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.for_path" class="method"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#393-410">Source</a><h4 class="code-header">pub fn <a href="#method.for_path" class="fn">for_path</a>&lt;F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.Path.html" title="struct std::path::Path">Path</a>&gt;&gt;(
path: F,
params: P,
clock: CL,
rng: R,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, Error&gt;</h4></section></summary><div class="docblock"><p>Construct a <a href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb"><code>WalletDb</code></a> instance that connects to the wallet database stored at the
specified path.</p>
<h6 id="parameters"><a class="doc-anchor" href="#parameters">§</a>Parameters</h6>
<ul>
<li><code>path</code>: The path to the SQLite database used to store wallet data.</li>
<li><code>params</code>: Parameters associated with the Zcash network that the wallet will connect to.</li>
<li><code>clock</code>: The clock to use in the case that the backend needs access to the system time.</li>
<li><code>rng</code>: The random number generation capability to be exposed by the created <code>WalletDb</code>
instance.</li>
</ul>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#414-420">Source</a><a href="#impl-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, P, CL, R&gt; <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_gap_limits" class="method"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#416-419">Source</a><h4 class="code-header">pub fn <a href="#method.with_gap_limits" class="fn">with_gap_limits</a>(self, gap_limits: <a class="struct" href="struct.GapLimits.html" title="struct zcash_client_sqlite::GapLimits">GapLimits</a>) -&gt; Self</h4></section><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>transparent-inputs</code></strong> only.</div></span></summary><div class="docblock"><p>Sets the gap limits to be used by the wallet in transparent address generation.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WalletDb%3CC,+P,+CL,+R%3E-1" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#422-447">Source</a><a href="#impl-WalletDb%3CC,+P,+CL,+R%3E-1" class="anchor">§</a><h3 class="code-header">impl&lt;C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;Connection&gt;, P, CL, R&gt; <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_connection" class="method"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#437-446">Source</a><h4 class="code-header">pub fn <a href="#method.from_connection" class="fn">from_connection</a>(conn: C, params: P, clock: CL, rng: R) -&gt; Self</h4></section></summary><div class="docblock"><p>Constructs a new wrapper around the given connection.</p>
<p>This is provided for use cases such as connection pooling, where <code>conn</code> may be an
<code>&amp;mut rusqlite::Connection</code>.</p>
<p>The caller must ensure that [<code>rusqlite::vtab::array::load_module</code>] has been called
on the connection.</p>
<h6 id="parameters-1"><a class="doc-anchor" href="#parameters-1">§</a>Parameters</h6>
<ul>
<li><code>conn</code>: A connection to the wallet database.</li>
<li><code>params</code>: Parameters associated with the Zcash network that the wallet will connect to.</li>
<li><code>clock</code>: The clock to use in the case that the backend needs access to the system time.</li>
<li><code>rng</code>: The random number generation capability to be exposed by the created <code>WalletDb</code>
instance.</li>
</ul>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WalletDb%3CC,+P,+CL,+R%3E-2" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#449-508">Source</a><a href="#impl-WalletDb%3CC,+P,+CL,+R%3E-2" class="anchor">§</a><h3 class="code-header">impl&lt;C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;Connection&gt;, P, CL, R&gt; <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;</h3></section></summary><div class="impl-items"><section id="method.transactionally" class="method"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#450-466">Source</a><h4 class="code-header">pub fn <a href="#method.transactionally" class="fn">transactionally</a>&lt;F, A, E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt;&gt;(&amp;mut self, f: F) -&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, E&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;mut <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;<a class="struct" href="struct.SqlTransaction.html" title="struct zcash_client_sqlite::SqlTransaction">SqlTransaction</a>&lt;'_&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;P</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;CL</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut R</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, E&gt;,</div></h4></section><details class="toggle method-toggle" open><summary><section id="method.check_witnesses" class="method"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#473-475">Source</a><h4 class="code-header">pub fn <a href="#method.check_witnesses" class="fn">check_witnesses</a>(
&amp;mut self,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>&gt;&gt;, <a class="enum" href="error/enum.SqliteClientError.html" title="enum zcash_client_sqlite::error::SqliteClientError">SqliteClientError</a>&gt;</h4></section></summary><div class="docblock"><p>Attempts to construct a witness for each note belonging to the wallet that is believed by
the wallet to currently be spendable, and returns a vector of the ranges that must be
rescanned in order to correct missing witness data.</p>
<p>This method is intended for repairing wallets that broke due to bugs in <code>shardtree</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.queue_rescans" class="method"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#479-507">Source</a><h4 class="code-header">pub fn <a href="#method.queue_rescans" class="fn">queue_rescans</a>(
&amp;mut self,
rescan_ranges: NonEmpty&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>&gt;&gt;,
priority: <a class="enum" href="../zcash_client_backend/data_api/scanning/enum.ScanPriority.html" title="enum zcash_client_backend::data_api::scanning::ScanPriority">ScanPriority</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.SqliteClientError.html" title="enum zcash_client_sqlite::error::SqliteClientError">SqliteClientError</a>&gt;</h4></section></summary><div class="docblock"><p>Updates the scan queue by inserting scan ranges for the given range of block heights, with
the specified scanning priority.</p>
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WalletDb%3CC,+P,+CL,+R%3E-3" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#511-524">Source</a><a href="#impl-WalletDb%3CC,+P,+CL,+R%3E-3" class="anchor">§</a><h3 class="code-header">impl&lt;C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;Connection&gt;, P, CL: <a class="trait" href="util/trait.Clock.html" title="trait zcash_client_sqlite::util::Clock">Clock</a>, R: <a class="trait" href="https://rust-random.github.io/rand/rand_core/trait.RngCore.html" title="trait rand_core::RngCore">RngCore</a>&gt; <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.schedule_ephemeral_address_checks" class="method"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#519-523">Source</a><h4 class="code-header">pub fn <a href="#method.schedule_ephemeral_address_checks" class="fn">schedule_ephemeral_address_checks</a>(
&amp;mut self,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="error/enum.SqliteClientError.html" title="enum zcash_client_sqlite::error::SqliteClientError">SqliteClientError</a>&gt;</h4></section><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>transparent-inputs</code></strong> only.</div></span></summary><div class="docblock"><p>For each ephemeral address in the wallet, ensure that the transaction data request queue
contains a request for the wallet to check for UTXOs belonging to that address at some time
during the next 24-hour period.</p>
<p>We use randomized scheduling of ephemeral address checks to ensure that a
lightwalletd-compromising adversary cannot use temporal clustering to determine what
ephemeral addresses belong to a given wallet.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-InputSource-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#526-657">Source</a><a href="#impl-InputSource-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;Connection&gt;, P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R&gt; <a class="trait" href="../zcash_client_backend/data_api/trait.InputSource.html" title="trait zcash_client_backend::data_api::InputSource">InputSource</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get_account_metadata" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#625-656">Source</a><a href="#method.get_account_metadata" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.InputSource.html#tymethod.get_account_metadata" class="fn">get_account_metadata</a>(
&amp;self,
account_id: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::InputSource::AccountId">AccountId</a>,
selector: &amp;<a class="enum" href="../zcash_client_backend/data_api/enum.NoteFilter.html" title="enum zcash_client_backend::data_api::NoteFilter">NoteFilter</a>,
exclude: &amp;[Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/struct.AccountMeta.html" title="struct zcash_client_backend::data_api::AccountMeta">AccountMeta</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Returns metadata for the spendable notes in the wallet.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#529">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="error/enum.SqliteClientError.html" title="enum zcash_client_sqlite::error::SqliteClientError">SqliteClientError</a></h4></section></summary><div class='docblock'>The type of errors produced by a wallet backend.</div></details><details class="toggle" open><summary><section id="associatedtype.NoteRef" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#530">Source</a><a href="#associatedtype.NoteRef" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.NoteRef" class="associatedtype">NoteRef</a> = <a class="struct" href="struct.ReceivedNoteId.html" title="struct zcash_client_sqlite::ReceivedNoteId">ReceivedNoteId</a></h4></section></summary><div class='docblock'>Backend-specific note identifier. <a href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.NoteRef">Read more</a></div></details><details class="toggle" open><summary><section id="associatedtype.AccountId" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#531">Source</a><a href="#associatedtype.AccountId" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.AccountId" class="associatedtype">AccountId</a> = <a class="struct" href="struct.AccountUuid.html" title="struct zcash_client_sqlite::AccountUuid">AccountUuid</a></h4></section></summary><div class='docblock'>Backend-specific account identifier. <a href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.AccountId">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_spendable_note" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#533-561">Source</a><a href="#method.get_spendable_note" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.InputSource.html#tymethod.get_spendable_note" class="fn">get_spendable_note</a>(
&amp;self,
txid: &amp;<a class="struct" href="../zcash_protocol/txid/struct.TxId.html" title="struct zcash_protocol::txid::TxId">TxId</a>,
protocol: <a class="enum" href="../zcash_protocol/enum.ShieldedProtocol.html" title="enum zcash_protocol::ShieldedProtocol">ShieldedProtocol</a>,
index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_client_backend/wallet/struct.ReceivedNote.html" title="struct zcash_client_backend::wallet::ReceivedNote">ReceivedNote</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>, <a class="enum" href="../zcash_client_backend/wallet/enum.Note.html" title="enum zcash_client_backend::wallet::Note">Note</a>&gt;&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Fetches a spendable note by indexing into a transactions shielded outputs for the
specified shielded protocol. <a href="../zcash_client_backend/data_api/trait.InputSource.html#tymethod.get_spendable_note">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.select_spendable_notes" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#563-598">Source</a><a href="#method.select_spendable_notes" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.InputSource.html#tymethod.select_spendable_notes" class="fn">select_spendable_notes</a>(
&amp;self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::InputSource::AccountId">AccountId</a>,
target_value: <a class="struct" href="../zcash_protocol/value/struct.Zatoshis.html" title="struct zcash_protocol::value::Zatoshis">Zatoshis</a>,
sources: &amp;[<a class="enum" href="../zcash_protocol/enum.ShieldedProtocol.html" title="enum zcash_protocol::ShieldedProtocol">ShieldedProtocol</a>],
anchor_height: <a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>,
exclude: &amp;[Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/struct.SpendableNotes.html" title="struct zcash_client_backend::data_api::SpendableNotes">SpendableNotes</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns a list of spendable notes sufficient to cover the specified target value, if
possible. Only spendable notes corresponding to the specified shielded protocol will
be included.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_unspent_transparent_output" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#601-606">Source</a><a href="#method.get_unspent_transparent_output" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.InputSource.html#method.get_unspent_transparent_output" class="fn">get_unspent_transparent_output</a>(
&amp;self,
outpoint: &amp;<a class="struct" href="../zcash_transparent/bundle/struct.OutPoint.html" title="struct zcash_transparent::bundle::OutPoint">OutPoint</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_client_backend/wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Fetches the transparent output corresponding to the provided <code>outpoint</code>. <a href="../zcash_client_backend/data_api/trait.InputSource.html#method.get_unspent_transparent_output">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_spendable_transparent_outputs" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#609-622">Source</a><a href="#method.get_spendable_transparent_outputs" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.InputSource.html#method.get_spendable_transparent_outputs" class="fn">get_spendable_transparent_outputs</a>(
&amp;self,
address: &amp;<a class="enum" href="../zcash_transparent/address/enum.TransparentAddress.html" title="enum zcash_transparent::address::TransparentAddress">TransparentAddress</a>,
target_height: <a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>,
min_confirmations: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../zcash_client_backend/wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the list of spendable transparent outputs received by this wallet at <code>address</code>
such that, at height <code>target_height</code>: <a href="../zcash_client_backend/data_api/trait.InputSource.html#method.get_spendable_transparent_outputs">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WalletCommitmentTrees-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1893-1991">Source</a><a href="#impl-WalletCommitmentTrees-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;Connection&gt;, P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R&gt; <a class="trait" href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html" title="trait zcash_client_backend::data_api::WalletCommitmentTrees">WalletCommitmentTrees</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1896">Source</a><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="wallet/commitment_tree/enum.Error.html" title="enum zcash_client_sqlite::wallet::commitment_tree::Error">Error</a></h4></section><details class="toggle" open><summary><section id="associatedtype.SaplingShardStore" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1897">Source</a><a href="#associatedtype.SaplingShardStore" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.SaplingShardStore" class="associatedtype">SaplingShardStore</a>&lt;'a&gt; = <a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a>&lt;&amp;'a Transaction&lt;'a&gt;, Node, SAPLING_SHARD_HEIGHT&gt;</h4></section></summary><div class='docblock'>The type of the backing [<code>ShardStore</code>] for the Sapling note commitment tree.</div></details><details class="toggle" open><summary><section id="associatedtype.OrchardShardStore" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1942-1946">Source</a><a href="#associatedtype.OrchardShardStore" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.OrchardShardStore" class="associatedtype">OrchardShardStore</a>&lt;'a&gt; = <a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a>&lt;&amp;'a Transaction&lt;'a&gt;, MerkleHashOrchard, ORCHARD_SHARD_HEIGHT&gt;</h4></section></summary><div class='docblock'>The type of the backing [<code>ShardStore</code>] for the Orchard note commitment tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.with_sapling_tree_mut" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1899-1918">Source</a><a href="#method.with_sapling_tree_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.with_sapling_tree_mut" class="fn">with_sapling_tree_mut</a>&lt;F, A, E&gt;(&amp;mut self, callback: F) -&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, E&gt;<div class="where">where
for&lt;'a&gt; F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;'a mut ShardTree&lt;<a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a>&lt;&amp;'a Transaction&lt;'a&gt;, Node, SAPLING_SHARD_HEIGHT&gt;, { sapling::NOTE_COMMITMENT_TREE_DEPTH }, SAPLING_SHARD_HEIGHT&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, E&gt;,
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;ShardTreeError&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletCommitmentTrees::Error">Error</a>&gt;&gt;,</div></h4></section></summary><div class='docblock'>Evaluates the given callback function with a reference to the Sapling
note commitment tree maintained by the wallet.</div></details><details class="toggle method-toggle" open><summary><section id="method.put_sapling_subtree_roots" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1920-1939">Source</a><a href="#method.put_sapling_subtree_roots" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.put_sapling_subtree_roots" class="fn">put_sapling_subtree_roots</a>(
&amp;mut self,
start_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
roots: &amp;[<a class="struct" href="../zcash_client_backend/data_api/chain/struct.CommitmentTreeRoot.html" title="struct zcash_client_backend::data_api::chain::CommitmentTreeRoot">CommitmentTreeRoot</a>&lt;Node&gt;],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, ShardTreeError&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletCommitmentTrees::Error">Error</a>&gt;&gt;</h4></section></summary><div class='docblock'>Adds a sequence of Sapling note commitment tree subtree roots to the data store. <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.put_sapling_subtree_roots">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_orchard_tree_mut" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1949-1968">Source</a><a href="#method.with_orchard_tree_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.with_orchard_tree_mut" class="fn">with_orchard_tree_mut</a>&lt;F, A, E&gt;(&amp;mut self, callback: F) -&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, E&gt;<div class="where">where
for&lt;'a&gt; F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;'a mut ShardTree&lt;<a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a>&lt;&amp;'a Transaction&lt;'a&gt;, MerkleHashOrchard, ORCHARD_SHARD_HEIGHT&gt;, { _ }, ORCHARD_SHARD_HEIGHT&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, E&gt;,
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;ShardTreeError&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletCommitmentTrees::Error">Error</a>&gt;&gt;,</div></h4></section></summary><div class='docblock'>Evaluates the given callback function with a reference to the Orchard
note commitment tree maintained by the wallet.</div></details><details class="toggle method-toggle" open><summary><section id="method.put_orchard_subtree_roots" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1971-1990">Source</a><a href="#method.put_orchard_subtree_roots" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.put_orchard_subtree_roots" class="fn">put_orchard_subtree_roots</a>(
&amp;mut self,
start_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
roots: &amp;[<a class="struct" href="../zcash_client_backend/data_api/chain/struct.CommitmentTreeRoot.html" title="struct zcash_client_backend::data_api::chain::CommitmentTreeRoot">CommitmentTreeRoot</a>&lt;MerkleHashOrchard&gt;],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, ShardTreeError&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletCommitmentTrees::Error">Error</a>&gt;&gt;</h4></section></summary><div class='docblock'>Adds a sequence of Orchard note commitment tree subtree roots to the data store. <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.put_orchard_subtree_roots">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WalletCommitmentTrees-for-WalletDb%3CSqlTransaction%3C'_%3E,+P,+CL,+R%3E" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1993-2053">Source</a><a href="#impl-WalletCommitmentTrees-for-WalletDb%3CSqlTransaction%3C'_%3E,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R&gt; <a class="trait" href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html" title="trait zcash_client_backend::data_api::WalletCommitmentTrees">WalletCommitmentTrees</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;<a class="struct" href="struct.SqlTransaction.html" title="struct zcash_client_sqlite::SqlTransaction">SqlTransaction</a>&lt;'_&gt;, P, CL, R&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1996">Source</a><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="wallet/commitment_tree/enum.Error.html" title="enum zcash_client_sqlite::wallet::commitment_tree::Error">Error</a></h4></section><details class="toggle" open><summary><section id="associatedtype.SaplingShardStore-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1997">Source</a><a href="#associatedtype.SaplingShardStore-1" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.SaplingShardStore" class="associatedtype">SaplingShardStore</a>&lt;'a&gt; = <a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a>&lt;&amp;'a Transaction&lt;'a&gt;, Node, SAPLING_SHARD_HEIGHT&gt;</h4></section></summary><div class='docblock'>The type of the backing [<code>ShardStore</code>] for the Sapling note commitment tree.</div></details><details class="toggle" open><summary><section id="associatedtype.OrchardShardStore-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#2025">Source</a><a href="#associatedtype.OrchardShardStore-1" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.OrchardShardStore" class="associatedtype">OrchardShardStore</a>&lt;'a&gt; = <a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a>&lt;&amp;'a Transaction&lt;'a&gt;, MerkleHashOrchard, ORCHARD_SHARD_HEIGHT&gt;</h4></section></summary><div class='docblock'>The type of the backing [<code>ShardStore</code>] for the Orchard note commitment tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.with_sapling_tree_mut-1" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1999-2009">Source</a><a href="#method.with_sapling_tree_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.with_sapling_tree_mut" class="fn">with_sapling_tree_mut</a>&lt;F, A, E&gt;(&amp;mut self, callback: F) -&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, E&gt;<div class="where">where
for&lt;'a&gt; F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;'a mut ShardTree&lt;<a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a>&lt;&amp;'a Transaction&lt;'a&gt;, Node, SAPLING_SHARD_HEIGHT&gt;, { sapling::NOTE_COMMITMENT_TREE_DEPTH }, SAPLING_SHARD_HEIGHT&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, E&gt;,
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;ShardTreeError&lt;<a class="enum" href="wallet/commitment_tree/enum.Error.html" title="enum zcash_client_sqlite::wallet::commitment_tree::Error">Error</a>&gt;&gt;,</div></h4></section></summary><div class='docblock'>Evaluates the given callback function with a reference to the Sapling
note commitment tree maintained by the wallet.</div></details><details class="toggle method-toggle" open><summary><section id="method.put_sapling_subtree_roots-1" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#2011-2022">Source</a><a href="#method.put_sapling_subtree_roots-1" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.put_sapling_subtree_roots" class="fn">put_sapling_subtree_roots</a>(
&amp;mut self,
start_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
roots: &amp;[<a class="struct" href="../zcash_client_backend/data_api/chain/struct.CommitmentTreeRoot.html" title="struct zcash_client_backend::data_api::chain::CommitmentTreeRoot">CommitmentTreeRoot</a>&lt;Node&gt;],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, ShardTreeError&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletCommitmentTrees::Error">Error</a>&gt;&gt;</h4></section></summary><div class='docblock'>Adds a sequence of Sapling note commitment tree subtree roots to the data store. <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.put_sapling_subtree_roots">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_orchard_tree_mut-1" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#2028-2038">Source</a><a href="#method.with_orchard_tree_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.with_orchard_tree_mut" class="fn">with_orchard_tree_mut</a>&lt;F, A, E&gt;(&amp;mut self, callback: F) -&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, E&gt;<div class="where">where
for&lt;'a&gt; F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;'a mut ShardTree&lt;<a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a>&lt;&amp;'a Transaction&lt;'a&gt;, MerkleHashOrchard, ORCHARD_SHARD_HEIGHT&gt;, { _ }, ORCHARD_SHARD_HEIGHT&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, E&gt;,
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;ShardTreeError&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletCommitmentTrees::Error">Error</a>&gt;&gt;,</div></h4></section></summary><div class='docblock'>Evaluates the given callback function with a reference to the Orchard
note commitment tree maintained by the wallet.</div></details><details class="toggle method-toggle" open><summary><section id="method.put_orchard_subtree_roots-1" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#2041-2052">Source</a><a href="#method.put_orchard_subtree_roots-1" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.put_orchard_subtree_roots" class="fn">put_orchard_subtree_roots</a>(
&amp;mut self,
start_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
roots: &amp;[<a class="struct" href="../zcash_client_backend/data_api/chain/struct.CommitmentTreeRoot.html" title="struct zcash_client_backend::data_api::chain::CommitmentTreeRoot">CommitmentTreeRoot</a>&lt;MerkleHashOrchard&gt;],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, ShardTreeError&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletCommitmentTrees::Error">Error</a>&gt;&gt;</h4></section></summary><div class='docblock'>Adds a sequence of Orchard note commitment tree subtree roots to the data store. <a href="../zcash_client_backend/data_api/trait.WalletCommitmentTrees.html#tymethod.put_orchard_subtree_roots">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WalletRead-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#659-966">Source</a><a href="#impl-WalletRead-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;Connection&gt;, P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R&gt; <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#662">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="error/enum.SqliteClientError.html" title="enum zcash_client_sqlite::error::SqliteClientError">SqliteClientError</a></h4></section></summary><div class='docblock'>The type of errors that may be generated when querying a wallet data store.</div></details><details class="toggle" open><summary><section id="associatedtype.AccountId-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#663">Source</a><a href="#associatedtype.AccountId-1" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" class="associatedtype">AccountId</a> = <a class="struct" href="struct.AccountUuid.html" title="struct zcash_client_sqlite::AccountUuid">AccountUuid</a></h4></section></summary><div class='docblock'>The type of the account identifier. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId">Read more</a></div></details><details class="toggle" open><summary><section id="associatedtype.Account" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#664">Source</a><a href="#associatedtype.Account" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Account" class="associatedtype">Account</a> = <a class="struct" href="wallet/struct.Account.html" title="struct zcash_client_sqlite::wallet::Account">Account</a></h4></section></summary><div class='docblock'>The concrete account type used by this wallet backend.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_account_ids" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#666-668">Source</a><a href="#method.get_account_ids" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_account_ids" class="fn">get_account_ids</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns a vector with the IDs of all accounts known to this wallet.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_account" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#670-675">Source</a><a href="#method.get_account" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_account" class="fn">get_account</a>(
&amp;self,
account_id: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Account" title="type zcash_client_backend::data_api::WalletRead::Account">Account</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the account corresponding to the given ID, if any.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_derived_account" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#677-683">Source</a><a href="#method.get_derived_account" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_derived_account" class="fn">get_derived_account</a>(
&amp;self,
seed: &amp;SeedFingerprint,
account_id: AccountId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Account" title="type zcash_client_backend::data_api::WalletRead::Account">Account</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the account corresponding to a given [<code>SeedFingerprint</code>] and
[<code>zip32::AccountId</code>], if any.</div></details><details class="toggle method-toggle" open><summary><section id="method.validate_seed" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#685-706">Source</a><a href="#method.validate_seed" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.validate_seed" class="fn">validate_seed</a>(
&amp;self,
account_id: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
seed: &amp;<a class="type" href="https://docs.rs/secrecy/0.8.0/secrecy/vec/type.SecretVec.html" title="type secrecy::vec::SecretVec">SecretVec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Verifies that the given seed corresponds to the viewing key for the specified account. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.validate_seed">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.seed_relevance_to_derived_accounts" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#708-751">Source</a><a href="#method.seed_relevance_to_derived_accounts" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.seed_relevance_to_derived_accounts" class="fn">seed_relevance_to_derived_accounts</a>(
&amp;self,
seed: &amp;<a class="type" href="https://docs.rs/secrecy/0.8.0/secrecy/vec/type.SecretVec.html" title="type secrecy::vec::SecretVec">SecretVec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../zcash_client_backend/data_api/enum.SeedRelevance.html" title="enum zcash_client_backend::data_api::SeedRelevance">SeedRelevance</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Checks whether the given seed is relevant to any of the derived accounts (where
<a href="../zcash_client_backend/data_api/trait.Account.html#tymethod.source" title="method zcash_client_backend::data_api::Account::source"><code>Account::source</code></a> is <a href="../zcash_client_backend/data_api/enum.AccountSource.html#variant.Derived" title="variant zcash_client_backend::data_api::AccountSource::Derived"><code>AccountSource::Derived</code></a>) in the wallet. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.seed_relevance_to_derived_accounts">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_account_for_ufvk" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#753-758">Source</a><a href="#method.get_account_for_ufvk" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_account_for_ufvk" class="fn">get_account_for_ufvk</a>(
&amp;self,
ufvk: &amp;<a class="struct" href="../zcash_keys/keys/struct.UnifiedFullViewingKey.html" title="struct zcash_keys::keys::UnifiedFullViewingKey">UnifiedFullViewingKey</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Account" title="type zcash_client_backend::data_api::WalletRead::Account">Account</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the account corresponding to a given <a href="../zcash_keys/keys/struct.UnifiedFullViewingKey.html" title="struct zcash_keys::keys::UnifiedFullViewingKey"><code>UnifiedFullViewingKey</code></a>, if any.</div></details><details class="toggle method-toggle" open><summary><section id="method.list_addresses" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#760-762">Source</a><a href="#method.list_addresses" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.list_addresses" class="fn">list_addresses</a>(
&amp;self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/struct.AddressInfo.html" title="struct zcash_client_backend::data_api::AddressInfo">AddressInfo</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns information about every address tracked for this account.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_last_generated_address_matching" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#764-776">Source</a><a href="#method.get_last_generated_address_matching" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_last_generated_address_matching" class="fn">get_last_generated_address_matching</a>(
&amp;self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
request: <a class="enum" href="../zcash_keys/keys/enum.UnifiedAddressRequest.html" title="enum zcash_keys::keys::UnifiedAddressRequest">UnifiedAddressRequest</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_keys/address/struct.UnifiedAddress.html" title="struct zcash_keys::address::UnifiedAddress">UnifiedAddress</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the most recently generated unified address for the specified account that conforms
to the specified address filter, if the account identifier specified refers to a valid
account for this wallet. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_last_generated_address_matching">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_account_birthday" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#778-780">Source</a><a href="#method.get_account_birthday" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_account_birthday" class="fn">get_account_birthday</a>(
&amp;self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the birthday height for the given account, or an error if the account is not known
to the wallet.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_wallet_birthday" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#782-784">Source</a><a href="#method.get_wallet_birthday" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_wallet_birthday" class="fn">get_wallet_birthday</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the birthday height for the wallet. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_wallet_birthday">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_wallet_summary" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#786-798">Source</a><a href="#method.get_wallet_summary" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_wallet_summary" class="fn">get_wallet_summary</a>(
&amp;self,
min_confirmations: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/struct.WalletSummary.html" title="struct zcash_client_backend::data_api::WalletSummary">WalletSummary</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>&gt;&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns a <a href="../zcash_client_backend/data_api/struct.WalletSummary.html" title="struct zcash_client_backend::data_api::WalletSummary"><code>WalletSummary</code></a> that represents the sync status, and the wallet balances
given the specified minimum number of confirmations for all accounts known to the
wallet; or <code>Ok(None)</code> if the wallet has no summary data available.</div></details><details class="toggle method-toggle" open><summary><section id="method.chain_height" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#800-802">Source</a><a href="#method.chain_height" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.chain_height" class="fn">chain_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the height of the chain as known to the wallet as of the most recent call to
<a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.update_chain_tip" title="method zcash_client_backend::data_api::WalletWrite::update_chain_tip"><code>WalletWrite::update_chain_tip</code></a>. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.chain_height">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_block_hash" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#804-806">Source</a><a href="#method.get_block_hash" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_block_hash" class="fn">get_block_hash</a>(
&amp;self,
block_height: <a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_primitives/block/struct.BlockHash.html" title="struct zcash_primitives::block::BlockHash">BlockHash</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the block hash for the block at the given height, if the
associated block data is available. Returns <code>Ok(None)</code> if the hash
is not found in the database.</div></details><details class="toggle method-toggle" open><summary><section id="method.block_metadata" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#808-810">Source</a><a href="#method.block_metadata" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.block_metadata" class="fn">block_metadata</a>(
&amp;self,
height: <a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/struct.BlockMetadata.html" title="struct zcash_client_backend::data_api::BlockMetadata">BlockMetadata</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the available block metadata for the block at the specified height, if any.</div></details><details class="toggle method-toggle" open><summary><section id="method.block_fully_scanned" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#812-814">Source</a><a href="#method.block_fully_scanned" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.block_fully_scanned" class="fn">block_fully_scanned</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/struct.BlockMetadata.html" title="struct zcash_client_backend::data_api::BlockMetadata">BlockMetadata</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the metadata for the block at the height to which the wallet has been fully
scanned. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.block_fully_scanned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_max_height_hash" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#816-818">Source</a><a href="#method.get_max_height_hash" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_max_height_hash" class="fn">get_max_height_hash</a>(
&amp;self,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>, <a class="struct" href="../zcash_primitives/block/struct.BlockHash.html" title="struct zcash_primitives::block::BlockHash">BlockHash</a>)&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the block height and hash for the block at the maximum scanned block height. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_max_height_hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.block_max_scanned" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#820-822">Source</a><a href="#method.block_max_scanned" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.block_max_scanned" class="fn">block_max_scanned</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/struct.BlockMetadata.html" title="struct zcash_client_backend::data_api::BlockMetadata">BlockMetadata</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns block metadata for the maximum height that the wallet has scanned. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.block_max_scanned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.suggest_scan_ranges" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#824-826">Source</a><a href="#method.suggest_scan_ranges" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.suggest_scan_ranges" class="fn">suggest_scan_ranges</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/scanning/struct.ScanRange.html" title="struct zcash_client_backend::data_api::scanning::ScanRange">ScanRange</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns a vector of suggested scan ranges based upon the current wallet state. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.suggest_scan_ranges">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_target_and_anchor_heights" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#828-834">Source</a><a href="#method.get_target_and_anchor_heights" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_target_and_anchor_heights" class="fn">get_target_and_anchor_heights</a>(
&amp;self,
min_confirmations: <a class="type" href="https://doc.rust-lang.org/nightly/core/num/nonzero/type.NonZeroU32.html" title="type core::num::nonzero::NonZeroU32">NonZeroU32</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>, <a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>)&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the default target height (for the block in which a new
transaction would be mined) and anchor height (to use for a new
transaction), given the range of block heights that the backend
knows about. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_target_and_anchor_heights">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_tx_height" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#836-838">Source</a><a href="#method.get_tx_height" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_tx_height" class="fn">get_tx_height</a>(&amp;self, txid: <a class="struct" href="../zcash_protocol/txid/struct.TxId.html" title="struct zcash_protocol::txid::TxId">TxId</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the block height in which the specified transaction was mined, or <code>Ok(None)</code> if the
transaction is not in the main chain.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_unified_full_viewing_keys" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#840-844">Source</a><a href="#method.get_unified_full_viewing_keys" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_unified_full_viewing_keys" class="fn">get_unified_full_viewing_keys</a>(
&amp;self,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>, <a class="struct" href="../zcash_keys/keys/struct.UnifiedFullViewingKey.html" title="struct zcash_keys::keys::UnifiedFullViewingKey">UnifiedFullViewingKey</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns all unified full viewing keys known to this wallet.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_memo" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#846-853">Source</a><a href="#method.get_memo" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_memo" class="fn">get_memo</a>(&amp;self, note_id: <a class="struct" href="../zcash_client_backend/wallet/struct.NoteId.html" title="struct zcash_client_backend::wallet::NoteId">NoteId</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../zcash_protocol/memo/enum.Memo.html" title="enum zcash_protocol::memo::Memo">Memo</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the memo for a note. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_memo">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_transaction" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#855-858">Source</a><a href="#method.get_transaction" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_transaction" class="fn">get_transaction</a>(
&amp;self,
txid: <a class="struct" href="../zcash_protocol/txid/struct.TxId.html" title="struct zcash_protocol::txid::TxId">TxId</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_primitives/transaction/struct.Transaction.html" title="struct zcash_primitives::transaction::Transaction">Transaction</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns a transaction.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_sapling_nullifiers" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#860-865">Source</a><a href="#method.get_sapling_nullifiers" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_sapling_nullifiers" class="fn">get_sapling_nullifiers</a>(
&amp;self,
query: <a class="enum" href="../zcash_client_backend/data_api/enum.NullifierQuery.html" title="enum zcash_client_backend::data_api::NullifierQuery">NullifierQuery</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>, Nullifier)&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the nullifiers for Sapling notes that the wallet is tracking, along with their
associated account IDs, that are either unspent or have not yet been confirmed as spent (in
that a spending transaction known to the wallet has not yet been included in a block).</div></details><details class="toggle method-toggle" open><summary><section id="method.get_orchard_nullifiers" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#868-873">Source</a><a href="#method.get_orchard_nullifiers" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.get_orchard_nullifiers" class="fn">get_orchard_nullifiers</a>(
&amp;self,
query: <a class="enum" href="../zcash_client_backend/data_api/enum.NullifierQuery.html" title="enum zcash_client_backend::data_api::NullifierQuery">NullifierQuery</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>, Nullifier)&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the nullifiers for Orchard notes that the wallet is tracking, along with their
associated account IDs, that are either unspent or have not yet been confirmed as spent (in
that a spending transaction known to the wallet has not yet been included in a block).</div></details><details class="toggle method-toggle" open><summary><section id="method.get_transparent_receivers" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#876-893">Source</a><a href="#method.get_transparent_receivers" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.get_transparent_receivers" class="fn">get_transparent_receivers</a>(
&amp;self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
include_change: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="../zcash_transparent/address/enum.TransparentAddress.html" title="enum zcash_transparent::address::TransparentAddress">TransparentAddress</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_client_backend/wallet/struct.TransparentAddressMetadata.html" title="struct zcash_client_backend::wallet::TransparentAddressMetadata">TransparentAddressMetadata</a>&gt;&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the set of non-ephemeral transparent receivers associated with the given
account controlled by this wallet. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.get_transparent_receivers">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_transparent_balances" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#896-907">Source</a><a href="#method.get_transparent_balances" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.get_transparent_balances" class="fn">get_transparent_balances</a>(
&amp;self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
max_height: <a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="enum" href="../zcash_transparent/address/enum.TransparentAddress.html" title="enum zcash_transparent::address::TransparentAddress">TransparentAddress</a>, <a class="struct" href="../zcash_protocol/value/struct.Zatoshis.html" title="struct zcash_protocol::value::Zatoshis">Zatoshis</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns a mapping from each transparent receiver associated with the specified account
to its not-yet-shielded UTXO balance as of the end of the block at the provided
<code>max_height</code>, when that balance is non-zero. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.get_transparent_balances">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_transparent_address_metadata" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#910-921">Source</a><a href="#method.get_transparent_address_metadata" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.get_transparent_address_metadata" class="fn">get_transparent_address_metadata</a>(
&amp;self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
address: &amp;<a class="enum" href="../zcash_transparent/address/enum.TransparentAddress.html" title="enum zcash_transparent::address::TransparentAddress">TransparentAddress</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_client_backend/wallet/struct.TransparentAddressMetadata.html" title="struct zcash_client_backend::wallet::TransparentAddressMetadata">TransparentAddressMetadata</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the metadata associated with a given transparent receiver in an account
controlled by this wallet, if available. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.get_transparent_address_metadata">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.utxo_query_height" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#924-927">Source</a><a href="#method.utxo_query_height" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.utxo_query_height" class="fn">utxo_query_height</a>(
&amp;self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the maximum block height at which a transparent output belonging to the wallet has
been observed. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.utxo_query_height">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_known_ephemeral_addresses" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#930-942">Source</a><a href="#method.get_known_ephemeral_addresses" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.get_known_ephemeral_addresses" class="fn">get_known_ephemeral_addresses</a>(
&amp;self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
index_range: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a>&lt;<a class="struct" href="../zcash_transparent/keys/struct.NonHardenedChildIndex.html" title="struct zcash_transparent::keys::NonHardenedChildIndex">NonHardenedChildIndex</a>&gt;&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/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="enum" href="../zcash_transparent/address/enum.TransparentAddress.html" title="enum zcash_transparent::address::TransparentAddress">TransparentAddress</a>, <a class="struct" href="../zcash_client_backend/wallet/struct.TransparentAddressMetadata.html" title="struct zcash_client_backend::wallet::TransparentAddressMetadata">TransparentAddressMetadata</a>)&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns a vector of ephemeral transparent addresses associated with the given
account controlled by this wallet, along with their metadata. The result includes
reserved addresses, and addresses for the backends configured gap limit worth
of additional indices (capped to the maximum index). <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.get_known_ephemeral_addresses">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.find_account_for_ephemeral_address" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#945-953">Source</a><a href="#method.find_account_for_ephemeral_address" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.find_account_for_ephemeral_address" class="fn">find_account_for_ephemeral_address</a>(
&amp;self,
address: &amp;<a class="enum" href="../zcash_transparent/address/enum.TransparentAddress.html" title="enum zcash_transparent::address::TransparentAddress">TransparentAddress</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>If a given ephemeral address might have been reserved, i.e. would be included in
the result of <code>get_known_ephemeral_addresses(account_id, None)</code> for any of the
wallets accounts, then return <code>Ok(Some(account_id))</code>. Otherwise return <code>Ok(None)</code>. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#method.find_account_for_ephemeral_address">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.transaction_data_requests" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#955-965">Source</a><a href="#method.transaction_data_requests" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.transaction_data_requests" class="fn">transaction_data_requests</a>(
&amp;self,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../zcash_client_backend/data_api/enum.TransactionDataRequest.html" title="enum zcash_client_backend::data_api::TransactionDataRequest">TransactionDataRequest</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns a vector of <a href="../zcash_client_backend/data_api/enum.TransactionDataRequest.html" title="enum zcash_client_backend::data_api::TransactionDataRequest"><code>TransactionDataRequest</code></a> values that describe information needed by
the wallet to complete its view of transaction history. <a href="../zcash_client_backend/data_api/trait.WalletRead.html#tymethod.transaction_data_requests">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WalletTest-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#969-1105">Source</a><a href="#impl-WalletTest-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;Connection&gt;, P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R&gt; <a class="trait" href="../zcash_client_backend/data_api/trait.WalletTest.html" title="trait zcash_client_backend::data_api::WalletTest">WalletTest</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;</h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>test-dependencies</code></strong> only.</div></span></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.get_tx_history" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#972-977">Source</a><a href="#method.get_tx_history" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletTest.html#tymethod.get_tx_history" class="fn">get_tx_history</a>(
&amp;self,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/testing/struct.TransactionSummary.html" title="struct zcash_client_backend::data_api::testing::TransactionSummary">TransactionSummary</a>&lt;&lt;Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>&gt;::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>&gt;&gt;, &lt;Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>&gt;::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns a vector of transaction summaries. <a href="../zcash_client_backend/data_api/trait.WalletTest.html#tymethod.get_tx_history">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_sent_note_ids" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#979-1005">Source</a><a href="#method.get_sent_note_ids" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletTest.html#tymethod.get_sent_note_ids" class="fn">get_sent_note_ids</a>(
&amp;self,
txid: &amp;<a class="struct" href="../zcash_protocol/txid/struct.TxId.html" title="struct zcash_protocol::txid::TxId">TxId</a>,
protocol: <a class="enum" href="../zcash_protocol/enum.ShieldedProtocol.html" title="enum zcash_protocol::ShieldedProtocol">ShieldedProtocol</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../zcash_client_backend/wallet/struct.NoteId.html" title="struct zcash_client_backend::wallet::NoteId">NoteId</a>&gt;, &lt;Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>&gt;::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the note IDs for shielded notes sent by the wallet in a particular
transaction.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_sent_outputs" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1007-1051">Source</a><a href="#method.get_sent_outputs" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletTest.html#tymethod.get_sent_outputs" class="fn">get_sent_outputs</a>(
&amp;self,
txid: &amp;<a class="struct" href="../zcash_protocol/txid/struct.TxId.html" title="struct zcash_protocol::txid::TxId">TxId</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/struct.OutputOfSentTx.html" title="struct zcash_client_backend::data_api::OutputOfSentTx">OutputOfSentTx</a>&gt;, &lt;Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>&gt;::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns the outputs for a transaction sent by the wallet.</div></details><section id="method.get_checkpoint_history" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1053-1061">Source</a><a href="#method.get_checkpoint_history" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletTest.html#tymethod.get_checkpoint_history" class="fn">get_checkpoint_history</a>(
&amp;self,
protocol: &amp;<a class="enum" href="../zcash_protocol/enum.ShieldedProtocol.html" title="enum zcash_protocol::ShieldedProtocol">ShieldedProtocol</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Position&gt;)&gt;, &lt;Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>&gt;::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.get_transparent_output" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1064-1074">Source</a><a href="#method.get_transparent_output" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletTest.html#tymethod.get_transparent_output" class="fn">get_transparent_output</a>(
&amp;self,
outpoint: &amp;<a class="struct" href="../zcash_transparent/bundle/struct.OutPoint.html" title="struct zcash_transparent::bundle::OutPoint">OutPoint</a>,
allow_unspendable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_client_backend/wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>&gt;, &lt;Self as <a class="trait" href="../zcash_client_backend/data_api/trait.InputSource.html" title="trait zcash_client_backend::data_api::InputSource">InputSource</a>&gt;::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Fetches the transparent output corresponding to the provided <code>outpoint</code>.
Allows selecting unspendable outputs for testing purposes. <a href="../zcash_client_backend/data_api/trait.WalletTest.html#tymethod.get_transparent_output">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_notes" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1076-1104">Source</a><a href="#method.get_notes" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletTest.html#tymethod.get_notes" class="fn">get_notes</a>(
&amp;self,
protocol: <a class="enum" href="../zcash_protocol/enum.ShieldedProtocol.html" title="enum zcash_protocol::ShieldedProtocol">ShieldedProtocol</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../zcash_client_backend/wallet/struct.ReceivedNote.html" title="struct zcash_client_backend::wallet::ReceivedNote">ReceivedNote</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.NoteRef" title="type zcash_client_backend::data_api::InputSource::NoteRef">NoteRef</a>, <a class="enum" href="../zcash_client_backend/wallet/enum.Note.html" title="enum zcash_client_backend::wallet::Note">Note</a>&gt;&gt;, &lt;Self as <a class="trait" href="../zcash_client_backend/data_api/trait.InputSource.html" title="trait zcash_client_backend::data_api::InputSource">InputSource</a>&gt;::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.InputSource.html#associatedtype.Error" title="type zcash_client_backend::data_api::InputSource::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Returns all the notes that have been received by the wallet.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WalletWrite-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1107-1848">Source</a><a href="#impl-WalletWrite-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;Connection&gt;, P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL: <a class="trait" href="util/trait.Clock.html" title="trait zcash_client_sqlite::util::Clock">Clock</a>, R&gt; <a class="trait" href="../zcash_client_backend/data_api/trait.WalletWrite.html" title="trait zcash_client_backend::data_api::WalletWrite">WalletWrite</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.UtxoRef" class="associatedtype trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1110">Source</a><a href="#associatedtype.UtxoRef" class="anchor">§</a><h4 class="code-header">type <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#associatedtype.UtxoRef" class="associatedtype">UtxoRef</a> = <a class="struct" href="struct.UtxoId.html" title="struct zcash_client_sqlite::UtxoId">UtxoId</a></h4></section></summary><div class='docblock'>The type of identifiers used to look up transparent UTXOs.</div></details><details class="toggle method-toggle" open><summary><section id="method.create_account" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1112-1159">Source</a><a href="#method.create_account" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.create_account" class="fn">create_account</a>(
&amp;mut self,
account_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
seed: &amp;<a class="type" href="https://docs.rs/secrecy/0.8.0/secrecy/vec/type.SecretVec.html" title="type secrecy::vec::SecretVec">SecretVec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;,
birthday: &amp;<a class="struct" href="../zcash_client_backend/data_api/struct.AccountBirthday.html" title="struct zcash_client_backend::data_api::AccountBirthday">AccountBirthday</a>,
key_source: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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;(Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>, <a class="struct" href="../zcash_keys/keys/struct.UnifiedSpendingKey.html" title="struct zcash_keys::keys::UnifiedSpendingKey">UnifiedSpendingKey</a>), Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Tells the wallet to track the next available account-level spend authority, given the
current set of <a href="https://zips.z.cash/zip-0316">ZIP 316</a> account identifiers known to the wallet database. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.create_account">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.import_account_hd" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1161-1198">Source</a><a href="#method.import_account_hd" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.import_account_hd" class="fn">import_account_hd</a>(
&amp;mut self,
account_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
seed: &amp;<a class="type" href="https://docs.rs/secrecy/0.8.0/secrecy/vec/type.SecretVec.html" title="type secrecy::vec::SecretVec">SecretVec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;,
account_index: AccountId,
birthday: &amp;<a class="struct" href="../zcash_client_backend/data_api/struct.AccountBirthday.html" title="struct zcash_client_backend::data_api::AccountBirthday">AccountBirthday</a>,
key_source: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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;(Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Account" title="type zcash_client_backend::data_api::WalletRead::Account">Account</a>, <a class="struct" href="../zcash_keys/keys/struct.UnifiedSpendingKey.html" title="struct zcash_keys::keys::UnifiedSpendingKey">UnifiedSpendingKey</a>), Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Tells the wallet to track a specific account index for a given seed. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.import_account_hd">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.import_account_ufvk" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1200-1223">Source</a><a href="#method.import_account_ufvk" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.import_account_ufvk" class="fn">import_account_ufvk</a>(
&amp;mut self,
account_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
ufvk: &amp;<a class="struct" href="../zcash_keys/keys/struct.UnifiedFullViewingKey.html" title="struct zcash_keys::keys::UnifiedFullViewingKey">UnifiedFullViewingKey</a>,
birthday: &amp;<a class="struct" href="../zcash_client_backend/data_api/struct.AccountBirthday.html" title="struct zcash_client_backend::data_api::AccountBirthday">AccountBirthday</a>,
purpose: <a class="enum" href="../zcash_client_backend/data_api/enum.AccountPurpose.html" title="enum zcash_client_backend::data_api::AccountPurpose">AccountPurpose</a>,
key_source: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Account" title="type zcash_client_backend::data_api::WalletRead::Account">Account</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Tells the wallet to track an account using a unified full viewing key. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.import_account_ufvk">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_next_available_address" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1225-1241">Source</a><a href="#method.get_next_available_address" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.get_next_available_address" class="fn">get_next_available_address</a>(
&amp;mut self,
account_uuid: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
request: <a class="enum" href="../zcash_keys/keys/enum.UnifiedAddressRequest.html" title="enum zcash_keys::keys::UnifiedAddressRequest">UnifiedAddressRequest</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="struct" href="../zcash_keys/address/struct.UnifiedAddress.html" title="struct zcash_keys::address::UnifiedAddress">UnifiedAddress</a>, DiversifierIndex)&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Generates, persists, and marks as exposed the next available diversified address for the
specified account, given the current addresses known to the wallet. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.get_next_available_address">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_address_for_index" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1243-1275">Source</a><a href="#method.get_address_for_index" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.get_address_for_index" class="fn">get_address_for_index</a>(
&amp;mut self,
account: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
diversifier_index: DiversifierIndex,
request: <a class="enum" href="../zcash_keys/keys/enum.UnifiedAddressRequest.html" title="enum zcash_keys::keys::UnifiedAddressRequest">UnifiedAddressRequest</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../zcash_keys/address/struct.UnifiedAddress.html" title="struct zcash_keys::address::UnifiedAddress">UnifiedAddress</a>&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Generates, persists, and marks as exposed a diversified address for the specified account
at the provided diversifier index. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.get_address_for_index">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.update_chain_tip" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1277-1282">Source</a><a href="#method.update_chain_tip" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.update_chain_tip" class="fn">update_chain_tip</a>(
&amp;mut self,
tip_height: <a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Updates the wallets view of the blockchain. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.update_chain_tip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.put_blocks" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1284">Source</a><a href="#method.put_blocks" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.put_blocks" class="fn">put_blocks</a>(
&amp;mut self,
from_state: &amp;<a class="struct" href="../zcash_client_backend/data_api/chain/struct.ChainState.html" title="struct zcash_client_backend::data_api::chain::ChainState">ChainState</a>,
blocks: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../zcash_client_backend/data_api/struct.ScannedBlock.html" title="struct zcash_client_backend::data_api::ScannedBlock">ScannedBlock</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>&gt;&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Updates the state of the wallet database by persisting the provided block information,
along with the note commitments that were detected when scanning the block for transactions
pertaining to this wallet. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.put_blocks">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.put_received_transparent_utxo" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1748-1779">Source</a><a href="#method.put_received_transparent_utxo" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.put_received_transparent_utxo" class="fn">put_received_transparent_utxo</a>(
&amp;mut self,
_output: &amp;<a class="struct" href="../zcash_client_backend/wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletWrite.html#associatedtype.UtxoRef" title="type zcash_client_backend::data_api::WalletWrite::UtxoRef">UtxoRef</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Adds a transparent UTXO received by the wallet to the data store.</div></details><details class="toggle method-toggle" open><summary><section id="method.store_decrypted_tx" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1781-1794">Source</a><a href="#method.store_decrypted_tx" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.store_decrypted_tx" class="fn">store_decrypted_tx</a>(
&amp;mut self,
d_tx: <a class="struct" href="../zcash_client_backend/data_api/struct.DecryptedTransaction.html" title="struct zcash_client_backend::data_api::DecryptedTransaction">DecryptedTransaction</a>&lt;'_, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Caches a decrypted transaction in the persistent wallet store.</div></details><details class="toggle method-toggle" open><summary><section id="method.store_transactions_to_be_sent" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1796-1806">Source</a><a href="#method.store_transactions_to_be_sent" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.store_transactions_to_be_sent" class="fn">store_transactions_to_be_sent</a>(
&amp;mut self,
transactions: &amp;[<a class="struct" href="../zcash_client_backend/data_api/struct.SentTransaction.html" title="struct zcash_client_backend::data_api::SentTransaction">SentTransaction</a>&lt;'_, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>&gt;],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Saves information about transactions constructed by the wallet to the persistent
wallet store. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.store_transactions_to_be_sent">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.truncate_to_height" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1808-1818">Source</a><a href="#method.truncate_to_height" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.truncate_to_height" class="fn">truncate_to_height</a>(
&amp;mut self,
max_height: <a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Truncates the wallet database to at most the specified height. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.truncate_to_height">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.reserve_next_n_ephemeral_addresses" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1821-1839">Source</a><a href="#method.reserve_next_n_ephemeral_addresses" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#method.reserve_next_n_ephemeral_addresses" class="fn">reserve_next_n_ephemeral_addresses</a>(
&amp;mut self,
account_id: Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.AccountId" title="type zcash_client_backend::data_api::WalletRead::AccountId">AccountId</a>,
n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="enum" href="../zcash_transparent/address/enum.TransparentAddress.html" title="enum zcash_transparent::address::TransparentAddress">TransparentAddress</a>, <a class="struct" href="../zcash_client_backend/wallet/struct.TransparentAddressMetadata.html" title="struct zcash_client_backend::wallet::TransparentAddressMetadata">TransparentAddressMetadata</a>)&gt;, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Reserves the next <code>n</code> available ephemeral addresses for the given account.
This cannot be undone, so as far as possible, errors associated with transaction
construction should have been reported before calling this method. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#method.reserve_next_n_ephemeral_addresses">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_transaction_status" class="method trait-impl"><a class="src rightside" href="../src/zcash_client_sqlite/lib.rs.html#1841-1847">Source</a><a href="#method.set_transaction_status" class="anchor">§</a><h4 class="code-header">fn <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.set_transaction_status" class="fn">set_transaction_status</a>(
&amp;mut self,
txid: <a class="struct" href="../zcash_protocol/txid/struct.TxId.html" title="struct zcash_protocol::txid::TxId">TxId</a>,
status: <a class="enum" href="../zcash_client_backend/data_api/enum.TransactionStatus.html" title="enum zcash_client_backend::data_api::TransactionStatus">TransactionStatus</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="../zcash_client_backend/data_api/trait.WalletRead.html#associatedtype.Error" title="type zcash_client_backend::data_api::WalletRead::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Updates the wallet backend with respect to the status of a specific transaction, from the
perspective of the main chain. <a href="../zcash_client_backend/data_api/trait.WalletWrite.html#tymethod.set_transaction_status">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a href="#impl-Freeze-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, P, CL, R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,
CL: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a href="#impl-RefUnwindSafe-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, P, CL, R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,
CL: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a href="#impl-Send-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, P, CL, R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
CL: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a href="#impl-Sync-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, P, CL, R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
CL: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a href="#impl-Unpin-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, P, CL, R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
CL: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-WalletDb%3CC,+P,+CL,+R%3E" class="impl"><a href="#impl-UnwindSafe-for-WalletDb%3CC,+P,+CL,+R%3E" class="anchor">§</a><h3 class="code-header">impl&lt;C, P, CL, R&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a>&lt;C, P, CL, R&gt;<div class="where">where
C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,
P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,
CL: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,
R: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Conv-for-T" class="impl"><a href="#impl-Conv-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Conv for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.conv" class="method trait-impl"><a href="#method.conv" class="anchor">§</a><h4 class="code-header">fn <a class="fn">conv</a>&lt;T&gt;(self) -&gt; T<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>T</code> using <code>Into&lt;T&gt;</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FmtForward-for-T" class="impl"><a href="#impl-FmtForward-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; FmtForward for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt_binary" class="method trait-impl"><a href="#method.fmt_binary" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_binary</a>(self) -&gt; FmtBinary&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Binary.html" title="trait core::fmt::Binary">Binary</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Binary</code> implementation when <code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_display" class="method trait-impl"><a href="#method.fmt_display" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_display</a>(self) -&gt; FmtDisplay&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Display</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_lower_exp" class="method trait-impl"><a href="#method.fmt_lower_exp" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_lower_exp</a>(self) -&gt; FmtLowerExp&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerExp.html" title="trait core::fmt::LowerExp">LowerExp</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>LowerExp</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_lower_hex" class="method trait-impl"><a href="#method.fmt_lower_hex" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_lower_hex</a>(self) -&gt; FmtLowerHex&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html" title="trait core::fmt::LowerHex">LowerHex</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>LowerHex</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_octal" class="method trait-impl"><a href="#method.fmt_octal" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_octal</a>(self) -&gt; FmtOctal&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Octal.html" title="trait core::fmt::Octal">Octal</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Octal</code> implementation when <code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_pointer" class="method trait-impl"><a href="#method.fmt_pointer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_pointer</a>(self) -&gt; FmtPointer&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Pointer.html" title="trait core::fmt::Pointer">Pointer</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Pointer</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_upper_exp" class="method trait-impl"><a href="#method.fmt_upper_exp" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_upper_exp</a>(self) -&gt; FmtUpperExp&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperExp.html" title="trait core::fmt::UpperExp">UpperExp</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>UpperExp</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_upper_hex" class="method trait-impl"><a href="#method.fmt_upper_hex" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_upper_hex</a>(self) -&gt; FmtUpperHex&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html" title="trait core::fmt::UpperHex">UpperHex</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>UpperHex</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_list" class="method trait-impl"><a href="#method.fmt_list" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_list</a>(self) -&gt; FmtList&lt;Self&gt;<div class="where">where
&amp;'a Self: for&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,</div></h4></section></summary><div class='docblock'>Formats each item in a sequence. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#767">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#770">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -&gt; Instrumented&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -&gt; Instrumented&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#750-752">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#760">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoEither-for-T" class="impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#64">Source</a><a href="#impl-IntoEither-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html" title="trait either::into_either::IntoEither">IntoEither</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_either" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#29">Source</a><a href="#method.into_either" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either" class="fn">into_either</a>(self, into_left: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;</h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
if <code>into_left</code> is <code>true</code>.
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_either_with" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#55-57">Source</a><a href="#method.into_either_with" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with" class="fn">into_either_with</a>&lt;F&gt;(self, into_left: F) -&gt; <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
if <code>into_left(&amp;self)</code> returns <code>true</code>.
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoRequest%3CT%3E-for-T" class="impl"><a href="#impl-IntoRequest%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; IntoRequest&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_request" class="method trait-impl"><a href="#method.into_request" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_request</a>(self) -&gt; Request&lt;T&gt;</h4></section></summary><div class='docblock'>Wrap the input message <code>T</code> in a <code>tonic::Request</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-LayerExt%3CL%3E-for-L" class="impl"><a href="#impl-LayerExt%3CL%3E-for-L" class="anchor">§</a><h3 class="code-header">impl&lt;L&gt; LayerExt&lt;L&gt; for L</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.named_layer" class="method trait-impl"><a href="#method.named_layer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">named_layer</a>&lt;S&gt;(&amp;self, service: S) -&gt; Layered&lt;&lt;L as Layer&lt;S&gt;&gt;::Service, S&gt;<div class="where">where
L: Layer&lt;S&gt;,</div></h4></section></summary><div class='docblock'>Applies the layer to a service and wraps it in [<code>Layered</code>].</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pipe-for-T" class="impl"><a href="#impl-Pipe-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Pipe for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pipe" class="method trait-impl"><a href="#method.pipe" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Pipes by value. This is generally the method you want to use. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_ref" class="method trait-impl"><a href="#method.pipe_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_ref</a>&lt;'a, R&gt;(&amp;'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;'a Self) -&gt; R) -&gt; R<div class="where">where
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_ref_mut" class="method trait-impl"><a href="#method.pipe_ref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_ref_mut</a>&lt;'a, R&gt;(&amp;'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;'a mut Self) -&gt; R) -&gt; R<div class="where">where
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_borrow" class="method trait-impl"><a href="#method.pipe_borrow" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_borrow</a>&lt;'a, B, R&gt;(&amp;'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a B</a>) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;B&gt;,
B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.borrow()</code> into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_borrow_mut" class="method trait-impl"><a href="#method.pipe_borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_borrow_mut</a>&lt;'a, B, R&gt;(
&amp;'a mut self,
func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a mut B</a>) -&gt; R,
) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;B&gt;,
B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.borrow_mut()</code> into the pipe
function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_as_ref" class="method trait-impl"><a href="#method.pipe_as_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_as_ref</a>&lt;'a, U, R&gt;(&amp;'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a U</a>) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;U&gt;,
U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.as_ref()</code> into the pipe function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_as_mut" class="method trait-impl"><a href="#method.pipe_as_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_as_mut</a>&lt;'a, U, R&gt;(&amp;'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a mut U</a>) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;U&gt;,
U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.as_mut()</code> into the pipe
function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_deref" class="method trait-impl"><a href="#method.pipe_deref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_deref</a>&lt;'a, T, R&gt;(&amp;'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a T</a>) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = T&gt;,
T: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.deref()</code> into the pipe function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_deref_mut" class="method trait-impl"><a href="#method.pipe_deref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_deref_mut</a>&lt;'a, T, R&gt;(
&amp;'a mut self,
func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a mut T</a>) -&gt; R,
) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a>&lt;Target = T&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
T: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.deref_mut()</code> into the pipe
function.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pointable-for-T" class="impl"><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Pointable for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: &lt;T as Pointable&gt;::Init) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.17.0/src/typenum/type_operators.rs.html#34">Source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/typenum/1.17.0/src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.17.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Tap-for-T" class="impl"><a href="#impl-Tap-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Tap for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.tap" class="method trait-impl"><a href="#method.tap" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self)) -&gt; Self</h4></section></summary><div class='docblock'>Immutable access to a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_mut" class="method trait-impl"><a href="#method.tap_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_mut</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;mut Self)) -&gt; Self</h4></section></summary><div class='docblock'>Mutable access to a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow" class="method trait-impl"><a href="#method.tap_borrow" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow</a>&lt;B&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;B</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;B&gt;,
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>Borrow&lt;B&gt;</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_mut" class="method trait-impl"><a href="#method.tap_borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_mut</a>&lt;B&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut B</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;B&gt;,
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>BorrowMut&lt;B&gt;</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref" class="method trait-impl"><a href="#method.tap_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;R</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;R&gt;,
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>AsRef&lt;R&gt;</code> view of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_mut" class="method trait-impl"><a href="#method.tap_ref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_mut</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut R</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;R&gt;,
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>AsMut&lt;R&gt;</code> view of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref" class="method trait-impl"><a href="#method.tap_deref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref</a>&lt;T&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = T&gt;,
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_mut" class="method trait-impl"><a href="#method.tap_deref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_mut</a>&lt;T&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a>&lt;Target = T&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_dbg" class="method trait-impl"><a href="#method.tap_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_dbg</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self)) -&gt; Self</h4></section></summary><div class='docblock'>Calls <code>.tap()</code> only in debug builds, and is erased in release builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_mut_dbg" class="method trait-impl"><a href="#method.tap_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_mut_dbg</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;mut Self)) -&gt; Self</h4></section></summary><div class='docblock'>Calls <code>.tap_mut()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_dbg" class="method trait-impl"><a href="#method.tap_borrow_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_dbg</a>&lt;B&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;B</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;B&gt;,
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_borrow()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_mut_dbg" class="method trait-impl"><a href="#method.tap_borrow_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_mut_dbg</a>&lt;B&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut B</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;B&gt;,
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_borrow_mut()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_dbg" class="method trait-impl"><a href="#method.tap_ref_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_dbg</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;R</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;R&gt;,
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_ref()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_mut_dbg" class="method trait-impl"><a href="#method.tap_ref_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_mut_dbg</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut R</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;R&gt;,
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_ref_mut()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_dbg" class="method trait-impl"><a href="#method.tap_deref_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_dbg</a>&lt;T&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;T</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = T&gt;,
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_deref()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_mut_dbg" class="method trait-impl"><a href="#method.tap_deref_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_mut_dbg</a>&lt;T&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a>&lt;Target = T&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_deref_mut()</code> only in debug builds, and is erased in release
builds.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryConv-for-T" class="impl"><a href="#impl-TryConv-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; TryConv for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_conv" class="method trait-impl"><a href="#method.try_conv" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_conv</a>&lt;T&gt;(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" title="type core::convert::TryInto::Error">Error</a>&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>Attempts to convert <code>self</code> into <code>T</code> using <code>TryInto&lt;T&gt;</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#806-808">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-5" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#810">Source</a><a href="#associatedtype.Error-5" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#813">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#791-793">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-4" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#795">Source</a><a href="#associatedtype.Error-4" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#798">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;V, T&gt; VZip&lt;V&gt; for T<div class="where">where
V: MultiLane&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -&gt; V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a>&lt;S&gt;(self, subscriber: S) -&gt; WithDispatch&lt;Self&gt;<div class="where">where
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;Dispatch&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -&gt; WithDispatch&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details></div></section></div></main></body></html>