431 lines
200 KiB
HTML
431 lines
200 KiB
HTML
<!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<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></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<T>">From<T></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<U>">Into<U></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<T>">IntoRequest<T></a></li><li><a href="#impl-LayerExt%3CL%3E-for-L" title="LayerExt<L>">LayerExt<L></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<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip<V>">VZip<V></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<C, P, CL, R> { <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<P, CL, R> <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a><Connection, P, CL, R></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><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.Path.html" title="struct std::path::Path">Path</a>>>(
|
||
path: F,
|
||
params: P,
|
||
clock: CL,
|
||
rng: R,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, Error></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<C, P, CL, R> <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a><C, P, CL, R></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>) -> 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<C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Connection>, P, CL, R> <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a><C, P, CL, R></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) -> 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>&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<C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><Connection>, P, CL, R> <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a><C, P, CL, R></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><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><Error>>(&mut self, f: F) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E><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>(&mut <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a><<a class="struct" href="struct.SqlTransaction.html" title="struct zcash_client_sqlite::SqlTransaction">SqlTransaction</a><'_>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&P</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&CL</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut R</a>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E>,</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>(
|
||
&mut self,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a><<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>>>, <a class="enum" href="error/enum.SqliteClientError.html" title="enum zcash_client_sqlite::error::SqliteClientError">SqliteClientError</a>></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>(
|
||
&mut self,
|
||
rescan_ranges: NonEmpty<<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a><<a class="struct" href="../zcash_protocol/consensus/struct.BlockHeight.html" title="struct zcash_protocol::consensus::BlockHeight">BlockHeight</a>>>,
|
||
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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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<C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><Connection>, 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>> <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a><C, P, CL, R></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>(
|
||
&mut self,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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<C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Connection>, P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R> <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><C, P, CL, R></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>(
|
||
&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: &<a class="enum" href="../zcash_client_backend/data_api/enum.NoteFilter.html" title="enum zcash_client_backend::data_api::NoteFilter">NoteFilter</a>,
|
||
exclude: &[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="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||
&self,
|
||
txid: &<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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_client_backend/wallet/struct.ReceivedNote.html" title="struct zcash_client_backend::wallet::ReceivedNote">ReceivedNote</a><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>>>, 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>></h4></section></summary><div class='docblock'>Fetches a spendable note by indexing into a transaction’s 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>(
|
||
&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: &[<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: &[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="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../zcash_client_backend/data_api/struct.SpendableNotes.html" title="struct zcash_client_backend::data_api::SpendableNotes">SpendableNotes</a><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>>, 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>></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>(
|
||
&self,
|
||
outpoint: &<a class="struct" href="../zcash_transparent/bundle/struct.OutPoint.html" title="struct zcash_transparent::bundle::OutPoint">OutPoint</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_client_backend/wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</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>></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>(
|
||
&self,
|
||
address: &<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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../zcash_client_backend/wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</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>></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<C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><Connection>, P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R> <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><C, P, CL, R></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><'a> = <a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a><&'a Transaction<'a>, Node, SAPLING_SHARD_HEIGHT></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><'a> = <a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a><&'a Transaction<'a>, MerkleHashOrchard, ORCHARD_SHARD_HEIGHT></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><F, A, E>(&mut self, callback: F) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E><div class="where">where
|
||
for<'a> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&'a mut ShardTree<<a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a><&'a Transaction<'a>, Node, SAPLING_SHARD_HEIGHT>, { sapling::NOTE_COMMITMENT_TREE_DEPTH }, SAPLING_SHARD_HEIGHT>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E>,
|
||
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><ShardTreeError<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>>>,</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>(
|
||
&mut self,
|
||
start_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||
roots: &[<a class="struct" href="../zcash_client_backend/data_api/chain/struct.CommitmentTreeRoot.html" title="struct zcash_client_backend::data_api::chain::CommitmentTreeRoot">CommitmentTreeRoot</a><Node>],
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, ShardTreeError<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>>></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><F, A, E>(&mut self, callback: F) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E><div class="where">where
|
||
for<'a> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&'a mut ShardTree<<a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a><&'a Transaction<'a>, MerkleHashOrchard, ORCHARD_SHARD_HEIGHT>, { _ }, ORCHARD_SHARD_HEIGHT>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E>,
|
||
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><ShardTreeError<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>>>,</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>(
|
||
&mut self,
|
||
start_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||
roots: &[<a class="struct" href="../zcash_client_backend/data_api/chain/struct.CommitmentTreeRoot.html" title="struct zcash_client_backend::data_api::chain::CommitmentTreeRoot">CommitmentTreeRoot</a><MerkleHashOrchard>],
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, ShardTreeError<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>>></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<P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R> <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><<a class="struct" href="struct.SqlTransaction.html" title="struct zcash_client_sqlite::SqlTransaction">SqlTransaction</a><'_>, P, CL, R></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><'a> = <a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a><&'a Transaction<'a>, Node, SAPLING_SHARD_HEIGHT></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><'a> = <a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a><&'a Transaction<'a>, MerkleHashOrchard, ORCHARD_SHARD_HEIGHT></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><F, A, E>(&mut self, callback: F) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E><div class="where">where
|
||
for<'a> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&'a mut ShardTree<<a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a><&'a Transaction<'a>, Node, SAPLING_SHARD_HEIGHT>, { sapling::NOTE_COMMITMENT_TREE_DEPTH }, SAPLING_SHARD_HEIGHT>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E>,
|
||
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><ShardTreeError<<a class="enum" href="wallet/commitment_tree/enum.Error.html" title="enum zcash_client_sqlite::wallet::commitment_tree::Error">Error</a>>>,</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>(
|
||
&mut self,
|
||
start_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||
roots: &[<a class="struct" href="../zcash_client_backend/data_api/chain/struct.CommitmentTreeRoot.html" title="struct zcash_client_backend::data_api::chain::CommitmentTreeRoot">CommitmentTreeRoot</a><Node>],
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, ShardTreeError<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>>></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><F, A, E>(&mut self, callback: F) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E><div class="where">where
|
||
for<'a> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&'a mut ShardTree<<a class="struct" href="wallet/commitment_tree/struct.SqliteShardStore.html" title="struct zcash_client_sqlite::wallet::commitment_tree::SqliteShardStore">SqliteShardStore</a><&'a Transaction<'a>, MerkleHashOrchard, ORCHARD_SHARD_HEIGHT>, { _ }, ORCHARD_SHARD_HEIGHT>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><A, E>,
|
||
E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><ShardTreeError<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>>>,</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>(
|
||
&mut self,
|
||
start_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||
roots: &[<a class="struct" href="../zcash_client_backend/data_api/chain/struct.CommitmentTreeRoot.html" title="struct zcash_client_backend::data_api::chain::CommitmentTreeRoot">CommitmentTreeRoot</a><MerkleHashOrchard>],
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, ShardTreeError<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>>></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<C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Connection>, P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R> <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><C, P, CL, R></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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><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>>, 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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><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>></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>(
|
||
&self,
|
||
seed: &SeedFingerprint,
|
||
account_id: AccountId,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><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>></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>(
|
||
&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: &<a class="type" href="https://docs.rs/secrecy/0.8.0/secrecy/vec/type.SecretVec.html" title="type secrecy::vec::SecretVec">SecretVec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||
&self,
|
||
seed: &<a class="type" href="https://docs.rs/secrecy/0.8.0/secrecy/vec/type.SecretVec.html" title="type secrecy::vec::SecretVec">SecretVec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../zcash_client_backend/data_api/enum.SeedRelevance.html" title="enum zcash_client_backend::data_api::SeedRelevance">SeedRelevance</a><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>>, 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>></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>(
|
||
&self,
|
||
ufvk: &<a class="struct" href="../zcash_keys/keys/struct.UnifiedFullViewingKey.html" title="struct zcash_keys::keys::UnifiedFullViewingKey">UnifiedFullViewingKey</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../zcash_client_backend/data_api/struct.AddressInfo.html" title="struct zcash_client_backend::data_api::AddressInfo">AddressInfo</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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_keys/address/struct.UnifiedAddress.html" title="struct zcash_keys::address::UnifiedAddress">UnifiedAddress</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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../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>></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>(
|
||
&self,
|
||
min_confirmations: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_client_backend/data_api/struct.WalletSummary.html" title="struct zcash_client_backend::data_api::WalletSummary">WalletSummary</a><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>>>, 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>></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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../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>></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>(
|
||
&self,
|
||
block_height: <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/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_primitives/block/struct.BlockHash.html" title="struct zcash_primitives::block::BlockHash">BlockHash</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>></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>(
|
||
&self,
|
||
height: <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/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_client_backend/data_api/struct.BlockMetadata.html" title="struct zcash_client_backend::data_api::BlockMetadata">BlockMetadata</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>></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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_client_backend/data_api/struct.BlockMetadata.html" title="struct zcash_client_backend::data_api::BlockMetadata">BlockMetadata</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>></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>(
|
||
&self,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(<a class="struct" href="../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>)>, 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>></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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_client_backend/data_api/struct.BlockMetadata.html" title="struct zcash_client_backend::data_api::BlockMetadata">BlockMetadata</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>></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>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../zcash_client_backend/data_api/scanning/struct.ScanRange.html" title="struct zcash_client_backend::data_api::scanning::ScanRange">ScanRange</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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(<a class="struct" href="../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>)>, 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>></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>(&self, txid: <a class="struct" href="../zcash_protocol/txid/struct.TxId.html" title="struct zcash_protocol::txid::TxId">TxId</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../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>></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>(
|
||
&self,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a><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>>, 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>></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>(&self, note_id: <a class="struct" href="../zcash_client_backend/wallet/struct.NoteId.html" title="struct zcash_client_backend::wallet::NoteId">NoteId</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../zcash_protocol/memo/enum.Memo.html" title="enum zcash_protocol::memo::Memo">Memo</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>></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>(
|
||
&self,
|
||
txid: <a class="struct" href="../zcash_protocol/txid/struct.TxId.html" title="struct zcash_protocol::txid::TxId">TxId</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_primitives/transaction/struct.Transaction.html" title="struct zcash_primitives::transaction::Transaction">Transaction</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>></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>(
|
||
&self,
|
||
query: <a class="enum" href="../zcash_client_backend/data_api/enum.NullifierQuery.html" title="enum zcash_client_backend::data_api::NullifierQuery">NullifierQuery</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><(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)>, 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>></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>(
|
||
&self,
|
||
query: <a class="enum" href="../zcash_client_backend/data_api/enum.NullifierQuery.html" title="enum zcash_client_backend::data_api::NullifierQuery">NullifierQuery</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><(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)>, 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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a><<a class="enum" href="../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><<a class="struct" href="../zcash_client_backend/wallet/struct.TransparentAddressMetadata.html" title="struct zcash_client_backend::wallet::TransparentAddressMetadata">TransparentAddressMetadata</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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a><<a class="enum" href="../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>>, 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>></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>(
|
||
&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: &<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/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_client_backend/wallet/struct.TransparentAddressMetadata.html" title="struct zcash_client_backend::wallet::TransparentAddressMetadata">TransparentAddressMetadata</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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||
&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><<a class="struct" href="https://doc.rust-lang.org/nightly/core/ops/range/struct.Range.html" title="struct core::ops::range::Range">Range</a><<a class="struct" href="../zcash_transparent/keys/struct.NonHardenedChildIndex.html" title="struct zcash_transparent::keys::NonHardenedChildIndex">NonHardenedChildIndex</a>>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><(<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>)>, 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>></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 backend’s 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>(
|
||
&self,
|
||
address: &<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/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><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>>, 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>></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
|
||
wallet’s 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>(
|
||
&self,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../zcash_client_backend/data_api/enum.TransactionDataRequest.html" title="enum zcash_client_backend::data_api::TransactionDataRequest">TransactionDataRequest</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>></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<C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><Connection>, P: <a class="trait" href="../zcash_protocol/consensus/trait.Parameters.html" title="trait zcash_protocol::consensus::Parameters">Parameters</a>, CL, R> <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><C, P, CL, R></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>(
|
||
&self,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../zcash_client_backend/data_api/testing/struct.TransactionSummary.html" title="struct zcash_client_backend::data_api::testing::TransactionSummary">TransactionSummary</a><<Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>>::<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>>>, <Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>>::<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>></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>(
|
||
&self,
|
||
txid: &<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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../zcash_client_backend/wallet/struct.NoteId.html" title="struct zcash_client_backend::wallet::NoteId">NoteId</a>>, <Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>>::<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>></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>(
|
||
&self,
|
||
txid: &<a class="struct" href="../zcash_protocol/txid/struct.TxId.html" title="struct zcash_protocol::txid::TxId">TxId</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../zcash_client_backend/data_api/struct.OutputOfSentTx.html" title="struct zcash_client_backend::data_api::OutputOfSentTx">OutputOfSentTx</a>>, <Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>>::<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>></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>(
|
||
&self,
|
||
protocol: &<a class="enum" href="../zcash_protocol/enum.ShieldedProtocol.html" title="enum zcash_protocol::ShieldedProtocol">ShieldedProtocol</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><(<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><Position>)>, <Self as <a class="trait" href="../zcash_client_backend/data_api/trait.WalletRead.html" title="trait zcash_client_backend::data_api::WalletRead">WalletRead</a>>::<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>></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>(
|
||
&self,
|
||
outpoint: &<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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_client_backend/wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>>, <Self as <a class="trait" href="../zcash_client_backend/data_api/trait.InputSource.html" title="trait zcash_client_backend::data_api::InputSource">InputSource</a>>::<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>></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>(
|
||
&self,
|
||
protocol: <a class="enum" href="../zcash_protocol/enum.ShieldedProtocol.html" title="enum zcash_protocol::ShieldedProtocol">ShieldedProtocol</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../zcash_client_backend/wallet/struct.ReceivedNote.html" title="struct zcash_client_backend::wallet::ReceivedNote">ReceivedNote</a><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>>>, <Self as <a class="trait" href="../zcash_client_backend/data_api/trait.InputSource.html" title="trait zcash_client_backend::data_api::InputSource">InputSource</a>>::<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>></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<C: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><Connection>, 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> <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><C, P, CL, R></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>(
|
||
&mut self,
|
||
account_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||
seed: &<a class="type" href="https://docs.rs/secrecy/0.8.0/secrecy/vec/type.SecretVec.html" title="type secrecy::vec::SecretVec">SecretVec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,
|
||
birthday: &<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><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Self::<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>></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>(
|
||
&mut self,
|
||
account_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||
seed: &<a class="type" href="https://docs.rs/secrecy/0.8.0/secrecy/vec/type.SecretVec.html" title="type secrecy::vec::SecretVec">SecretVec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,
|
||
account_index: AccountId,
|
||
birthday: &<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><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Self::<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>></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>(
|
||
&mut self,
|
||
account_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||
ufvk: &<a class="struct" href="../zcash_keys/keys/struct.UnifiedFullViewingKey.html" title="struct zcash_keys::keys::UnifiedFullViewingKey">UnifiedFullViewingKey</a>,
|
||
birthday: &<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><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(<a class="struct" href="../zcash_keys/address/struct.UnifiedAddress.html" title="struct zcash_keys::address::UnifiedAddress">UnifiedAddress</a>, DiversifierIndex)>, 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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../zcash_keys/address/struct.UnifiedAddress.html" title="struct zcash_keys::address::UnifiedAddress">UnifiedAddress</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>></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>(
|
||
&mut self,
|
||
tip_height: <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/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></h4></section></summary><div class='docblock'>Updates the wallet’s 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>(
|
||
&mut self,
|
||
from_state: &<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><<a class="struct" href="../zcash_client_backend/data_api/struct.ScannedBlock.html" title="struct zcash_client_backend::data_api::ScannedBlock">ScannedBlock</a><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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||
&mut self,
|
||
_output: &<a class="struct" href="../zcash_client_backend/wallet/struct.WalletTransparentOutput.html" title="struct zcash_client_backend::wallet::WalletTransparentOutput">WalletTransparentOutput</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><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>></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>(
|
||
&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><'_, 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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||
&mut self,
|
||
transactions: &[<a class="struct" href="../zcash_client_backend/data_api/struct.SentTransaction.html" title="struct zcash_client_backend::data_api::SentTransaction">SentTransaction</a><'_, 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="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||
&mut self,
|
||
max_height: <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/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><(<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>)>, 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>></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>(
|
||
&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>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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<C, P, CL, R> <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><C, P, CL, R><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<C, P, CL, 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> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a><C, P, CL, R><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<C, P, CL, R> <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><C, P, CL, R><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<C, P, CL, R> <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><C, P, CL, R><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<C, P, CL, R> <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><C, P, CL, R><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<C, P, CL, 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> for <a class="struct" href="struct.WalletDb.html" title="struct zcash_client_sqlite::WalletDb">WalletDb</a><C, P, CL, R><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<T> <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>(&self) -> <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<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> 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>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&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<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> 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>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&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<T> 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><T>(self) -> 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><T>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>T</code> using <code>Into<T></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<T> 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) -> FmtBinary<Self><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) -> FmtDisplay<Self><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) -> FmtLowerExp<Self><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) -> FmtLowerHex<Self><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) -> FmtOctal<Self><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) -> FmtPointer<Self><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) -> FmtUpperExp<Self><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) -> FmtUpperHex<Self><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) -> FmtList<Self><div class="where">where
|
||
&'a Self: for<'a> <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<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> 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) -> 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<T> 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) -> Instrumented<Self></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) -> Instrumented<Self></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<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> 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><T>,</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) -> 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><T> 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<T> <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>) -> <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a><Self, Self></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<Self, Self></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<Self, Self></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><F>(self, into_left: F) -> <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a><Self, Self><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>(&Self) -> <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<Self, Self></code></a>
|
||
if <code>into_left(&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<Self, Self></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<T> IntoRequest<T> 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) -> Request<T></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<L> LayerExt<L> 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><S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S><div class="where">where
|
||
L: Layer<S>,</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<T> 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><R>(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) -> R) -> 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><'a, R>(&'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 Self) -> R) -> 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><'a, R>(&'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 mut Self) -> R) -> 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><'a, B, R>(&'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">&'a B</a>) -> R) -> 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><B>,
|
||
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><'a, B, R>(
|
||
&'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">&'a mut B</a>) -> R,
|
||
) -> 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><B>,
|
||
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><'a, U, R>(&'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">&'a U</a>) -> R) -> 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><U>,
|
||
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><'a, U, R>(&'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">&'a mut U</a>) -> R) -> 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><U>,
|
||
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><'a, T, R>(&'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">&'a T</a>) -> R) -> 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><Target = T>,
|
||
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><'a, T, R>(
|
||
&'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">&'a mut T</a>) -> R,
|
||
) -> 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><Target = T> + <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<T> 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: <T as Pointable>::Init) -> <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><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'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><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'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<T> <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<T> 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>(&Self)) -> 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>(&mut Self)) -> 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><B>(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">&B</a>)) -> 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><B>,
|
||
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<B></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><B>(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">&mut B</a>)) -> 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><B>,
|
||
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<B></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><R>(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">&R</a>)) -> 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><R>,
|
||
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<R></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><R>(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">&mut R</a>)) -> 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><R>,
|
||
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<R></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><T>(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">&T</a>)) -> 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><Target = T>,
|
||
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><T>(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">&mut T</a>)) -> 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><Target = T> + <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>(&Self)) -> 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>(&mut Self)) -> 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><B>(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">&B</a>)) -> 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><B>,
|
||
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><B>(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">&mut B</a>)) -> 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><B>,
|
||
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><R>(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">&R</a>)) -> 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><R>,
|
||
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><R>(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">&mut R</a>)) -> 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><R>,
|
||
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><T>(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">&T</a>)) -> 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><Target = T>,
|
||
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><T>(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">&mut T</a>)) -> 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><Target = T> + <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<T> 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><T>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><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>><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><T>,</div></h4></section></summary><div class='docblock'>Attempts to convert <code>self</code> into <code>T</code> using <code>TryInto<T></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<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> 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><T>,</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) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<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'>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<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> 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><T>,</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> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<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) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<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'>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<V, T> VZip<V> for T<div class="where">where
|
||
V: MultiLane<T>,</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) -> 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<T> 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><S>(self, subscriber: S) -> WithDispatch<Self><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><Dispatch>,</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) -> WithDispatch<Self></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> |