From 513f947b461f72b5e44ae09b41d08577de43660e Mon Sep 17 00:00:00 2001 From: str4d Date: Tue, 17 Dec 2024 04:24:24 +0000 Subject: [PATCH] deploy: 8c59e25d79d09f0178a8ae9ff7f95e44622256e0 --- rustdoc/latest/pczt/common/index.html | 2 +- rustdoc/latest/pczt/common/struct.Global.html | 16 +++++------ rustdoc/latest/pczt/enum.ParseError.html | 4 +-- rustdoc/latest/pczt/index.html | 2 +- rustdoc/latest/pczt/orchard/index.html | 2 +- .../latest/pczt/orchard/struct.Action.html | 4 +-- .../latest/pczt/orchard/struct.Bundle.html | 8 +++--- .../latest/pczt/orchard/struct.Output.html | 16 +++++------ rustdoc/latest/pczt/orchard/struct.Spend.html | 8 +++--- .../pczt/roles/combiner/enum.Error.html | 4 +-- rustdoc/latest/pczt/roles/combiner/index.html | 2 +- .../pczt/roles/combiner/struct.Combiner.html | 4 +-- rustdoc/latest/pczt/roles/updater/index.html | 2 +- .../roles/updater/struct.GlobalUpdater.html | 4 +-- .../pczt/roles/updater/struct.Updater.html | 6 ++-- rustdoc/latest/pczt/sapling/index.html | 2 +- .../latest/pczt/sapling/struct.Bundle.html | 6 ++-- .../latest/pczt/sapling/struct.Output.html | 16 +++++------ rustdoc/latest/pczt/sapling/struct.Spend.html | 8 +++--- rustdoc/latest/pczt/struct.Pczt.html | 12 ++++---- rustdoc/latest/pczt/transparent/index.html | 2 +- .../pczt/transparent/struct.Bundle.html | 6 ++-- .../latest/pczt/transparent/struct.Input.html | 6 ++-- .../pczt/transparent/struct.Output.html | 8 +++--- rustdoc/latest/src/pczt/common.rs.html | 8 ++++-- rustdoc/latest/src/pczt/lib.rs.html | 18 ++++++++++-- rustdoc/latest/src/pczt/orchard.rs.html | 8 +++++- .../src/pczt/roles/combiner/mod.rs.html | 4 ++- .../latest/src/pczt/roles/creator/mod.rs.html | 2 +- .../latest/src/pczt/roles/updater/mod.rs.html | 8 +++++- rustdoc/latest/src/pczt/sapling.rs.html | 8 ++++-- rustdoc/latest/src/pczt/transparent.rs.html | 8 +++++- .../trait.impl/core/convert/trait.From.js | 4 +-- .../address/enum.Address.html | 28 +++++++++---------- .../address/enum.Receiver.html | 6 ++-- .../zcash_client_backend/address/index.html | 2 +- .../address/struct.UnifiedAddress.html | 28 +++++++++---------- .../address/testing/fn.arb_addr.html | 2 +- .../address/testing/fn.arb_unified_addr.html | 2 +- .../address/testing/index.html | 2 +- .../data_api/testing/struct.TestState.html | 6 ++-- .../data_api/wallet/fn.propose_transfer.html | 2 +- .../data_api/wallet/index.html | 2 +- .../struct.GreedyInputSelector.html | 2 +- .../input_selection/trait.InputSelector.html | 4 +-- .../encoding/enum.Bech32DecodeError.html | 6 ++-- .../encoding/enum.TransparentCodecError.html | 4 +-- .../fn.decode_extended_full_viewing_key.html | 2 +- .../fn.decode_extended_spending_key.html | 2 +- .../fn.decode_extfvk_with_network.html | 2 +- .../encoding/fn.decode_payment_address.html | 2 +- .../fn.decode_transparent_address.html | 2 +- .../fn.encode_extended_full_viewing_key.html | 2 +- .../fn.encode_extended_spending_key.html | 2 +- .../encoding/fn.encode_payment_address.html | 2 +- .../encoding/fn.encode_payment_address_p.html | 2 +- .../fn.encode_transparent_address.html | 2 +- .../fn.encode_transparent_address_p.html | 2 +- .../zcash_client_backend/encoding/index.html | 2 +- .../encoding/trait.AddressCodec.html | 18 ++++++------ .../latest/zcash_client_backend/index.html | 2 +- .../keys/enum.AddressGenerationError.html | 4 +-- .../keys/enum.DecodingError.html | 6 ++-- .../keys/enum.DerivationError.html | 4 +-- .../zcash_client_backend/keys/enum.Era.html | 6 ++-- .../zcash_client_backend/keys/index.html | 2 +- .../keys/sapling/fn.spending_key.html | 2 +- .../keys/sapling/index.html | 2 +- .../keys/struct.UnifiedAddressRequest.html | 12 ++++---- .../keys/struct.UnifiedFullViewingKey.html | 26 ++++++++--------- .../struct.UnifiedIncomingViewingKey.html | 22 +++++++-------- .../keys/struct.UnifiedSpendingKey.html | 18 ++++++------ .../testing/fn.arb_unified_spending_key.html | 2 +- .../keys/testing/index.html | 2 +- .../proposal/struct.Proposal.html | 2 +- .../proposal/struct.Step.html | 6 ++-- .../proto/enum.ProposalDecodingError.html | 6 ++-- .../legacy/enum.TransparentAddress.html | 18 ++++++------ 78 files changed, 270 insertions(+), 228 deletions(-) diff --git a/rustdoc/latest/pczt/common/index.html b/rustdoc/latest/pczt/common/index.html index d2b7043b1..1b6b26438 100644 --- a/rustdoc/latest/pczt/common/index.html +++ b/rustdoc/latest/pczt/common/index.html @@ -1 +1 @@ -pczt::common - Rust
pczt

Module common

Source

Structs§

  • Global fields that are relevant to the transaction as a whole.
\ No newline at end of file +pczt::common - Rust
pczt

Module common

Source

Structs§

  • Global fields that are relevant to the transaction as a whole.
\ No newline at end of file diff --git a/rustdoc/latest/pczt/common/struct.Global.html b/rustdoc/latest/pczt/common/struct.Global.html index be1ab19cd..bbc1fd689 100644 --- a/rustdoc/latest/pczt/common/struct.Global.html +++ b/rustdoc/latest/pczt/common/struct.Global.html @@ -1,15 +1,15 @@ -Global in pczt::common - Rust
pczt::common

Struct Global

Source
pub struct Global { /* private fields */ }
Expand description

Global fields that are relevant to the transaction as a whole.

-

Implementations§

Source§

impl Global

Source

pub fn proprietary(&self) -> &BTreeMap<String, Vec<u8>>

Proprietary fields related to the overall transaction.

-
Source§

impl Global

Source

pub fn inputs_modifiable(&self) -> bool

Returns whether transparent inputs can be added to or removed from the +Global in pczt::common - Rust

pczt::common

Struct Global

Source
pub struct Global { /* private fields */ }
Expand description

Global fields that are relevant to the transaction as a whole.

+

Implementations§

Source§

impl Global

Source

pub fn proprietary(&self) -> &BTreeMap<String, Vec<u8>>

Proprietary fields related to the overall transaction.

+
Source§

impl Global

Source

pub fn inputs_modifiable(&self) -> bool

Returns whether transparent inputs can be added to or removed from the transaction.

-
Source

pub fn outputs_modifiable(&self) -> bool

Returns whether transparent outputs can be added to or removed from the +

Source

pub fn outputs_modifiable(&self) -> bool

Returns whether transparent outputs can be added to or removed from the transaction.

-
Source

pub fn has_sighash_single(&self) -> bool

Returns whether the transaction has a SIGHASH_SINGLE transparent signature who’s +

Source

pub fn has_sighash_single(&self) -> bool

Returns whether the transaction has a SIGHASH_SINGLE transparent signature who’s input and output pairing must be preserved.

-
Source

pub fn shielded_modifiable(&self) -> bool

Returns whether shielded spends or outputs can be added to or removed from the +

Source

pub fn shielded_modifiable(&self) -> bool

Returns whether shielded spends or outputs can be added to or removed from the transaction.

-

Trait Implementations§

Source§

impl Clone for Global

Source§

fn clone(&self) -> Global

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Global

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Global

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Global

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where +

Trait Implementations§

Source§

impl Clone for Global

Source§

fn clone(&self) -> Global

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Global

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Global

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Global

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Global

§

impl RefUnwindSafe for Global

§

impl Send for Global

§

impl Sync for Global

§

impl Unpin for Global

§

impl UnwindSafe for Global

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where diff --git a/rustdoc/latest/pczt/enum.ParseError.html b/rustdoc/latest/pczt/enum.ParseError.html index 9b884786b..3a7619595 100644 --- a/rustdoc/latest/pczt/enum.ParseError.html +++ b/rustdoc/latest/pczt/enum.ParseError.html @@ -1,4 +1,4 @@ -ParseError in pczt - Rust
pczt

Enum ParseError

Source
pub enum ParseError {
+ParseError in pczt - Rust
pczt

Enum ParseError

Source
pub enum ParseError {
     NotPczt,
     Invalid(Error),
     TooShort,
@@ -8,7 +8,7 @@
 
§

Invalid(Error)

The PCZT encoding was invalid.

§

TooShort

The bytes are too short to contain a PCZT.

§

UnknownVersion(u32)

The PCZT has an unknown version.

-

Trait Implementations§

Source§

impl Debug for ParseError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for ParseError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/rustdoc/latest/pczt/index.html b/rustdoc/latest/pczt/index.html index 447e01ee9..43c0158be 100644 --- a/rustdoc/latest/pczt/index.html +++ b/rustdoc/latest/pczt/index.html @@ -1,4 +1,4 @@ -pczt - Rust

Crate pczt

Source
Expand description

The Partially Created Zcash Transaction (PCZT) format.

+pczt - Rust

Crate pczt

Source
Expand description

The Partially Created Zcash Transaction (PCZT) format.

Goal is to split up the parts of creating a transaction across distinct entities. The entity roles roughly match BIP 174: Partially Signed Bitcoin Transaction Format.

-

Re-exports§

  • pub use zip321;

Modules§

  • Structs for handling supported address types.
  • Utilities for Zcash wallet construction
  • Encoding and decoding functions for Zcash key and address structs.
  • Helper functions for managing light client key material.
  • Types related to the construction and evaluation of transaction proposals.
  • This module contains generated code for handling light client protobuf structs.
  • Tools for scanning a compact representation of the Zcash block chain.
  • serializationunstable-serialization
  • syncsync
    Implementation of the synchronization flow described in the crate root.
  • Structs representing transaction data scanned from the block chain by a wallet or +

Re-exports§

Modules§

  • Structs for handling supported address types.
  • Utilities for Zcash wallet construction
  • Encoding and decoding functions for Zcash key and address structs.
  • Helper functions for managing light client key material.
  • Types related to the construction and evaluation of transaction proposals.
  • This module contains generated code for handling light client protobuf structs.
  • Tools for scanning a compact representation of the Zcash block chain.
  • serializationunstable-serialization
  • syncsync
    Implementation of the synchronization flow described in the crate root.
  • Structs representing transaction data scanned from the block chain by a wallet or light client.

Structs§

Enums§

  • A value pool in the Zcash protocol.
  • A Zcash shielded transfer protocol.
  • An enumeration of the possible relationships a TXO can have to the wallet.

Functions§

\ No newline at end of file diff --git a/rustdoc/latest/zcash_client_backend/keys/enum.AddressGenerationError.html b/rustdoc/latest/zcash_client_backend/keys/enum.AddressGenerationError.html index 283ae1bc4..3f53a01aa 100644 --- a/rustdoc/latest/zcash_client_backend/keys/enum.AddressGenerationError.html +++ b/rustdoc/latest/zcash_client_backend/keys/enum.AddressGenerationError.html @@ -1,4 +1,4 @@ -AddressGenerationError in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Enum AddressGenerationError

pub enum AddressGenerationError {
+AddressGenerationError in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Enum AddressGenerationError

Source
pub enum AddressGenerationError {
     InvalidTransparentChildIndex(DiversifierIndex),
     InvalidSaplingDiversifierIndex(DiversifierIndex),
     DiversifierSpaceExhausted,
@@ -16,7 +16,7 @@
 address lacks an item of the requested type.

§

ShieldedReceiverRequired

A Unified address cannot be generated without at least one shielded receiver being included.

-

Trait Implementations§

§

impl Clone for AddressGenerationError

§

fn clone(&self) -> AddressGenerationError

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for AddressGenerationError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for AddressGenerationError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for AddressGenerationError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for AddressGenerationError

Source§

fn clone(&self) -> AddressGenerationError

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AddressGenerationError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for AddressGenerationError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Error for AddressGenerationError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/rustdoc/latest/zcash_client_backend/keys/enum.DecodingError.html b/rustdoc/latest/zcash_client_backend/keys/enum.DecodingError.html index 0e15420d9..eda585136 100644 --- a/rustdoc/latest/zcash_client_backend/keys/enum.DecodingError.html +++ b/rustdoc/latest/zcash_client_backend/keys/enum.DecodingError.html @@ -1,4 +1,4 @@ -DecodingError in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Enum DecodingError

pub enum DecodingError {
+DecodingError in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Enum DecodingError

Source
pub enum DecodingError {
     ReadError(&'static str),
     EraInvalid,
     EraMismatch(Era),
@@ -9,8 +9,8 @@
     KeyDataInvalid(Typecode),
 }
Expand description

A type for errors that can occur when decoding keys from their serialized representations.

Variants§

§

ReadError(&'static str)

Available on crate feature unstable only.
§

EraInvalid

Available on crate feature unstable only.
§

EraMismatch(Era)

Available on crate feature unstable only.
§

TypecodeInvalid

Available on crate feature unstable only.
§

LengthInvalid

Available on crate feature unstable only.
§

LengthMismatch(Typecode, u32)

Available on crate feature unstable only.
§

InsufficientData(Typecode)

Available on crate feature unstable only.
§

KeyDataInvalid(Typecode)

The key data could not be decoded from its string representation to a valid key.

-

Trait Implementations§

§

impl Debug for DecodingError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for DecodingError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for DecodingError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl PartialEq for DecodingError

§

fn eq(&self, other: &DecodingError) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Eq for DecodingError

§

impl StructuralPartialEq for DecodingError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for DecodingError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for DecodingError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Error for DecodingError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl PartialEq for DecodingError

Source§

fn eq(&self, other: &DecodingError) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Eq for DecodingError

Source§

impl StructuralPartialEq for DecodingError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/rustdoc/latest/zcash_client_backend/keys/enum.DerivationError.html b/rustdoc/latest/zcash_client_backend/keys/enum.DerivationError.html index a823c20d5..1a57be6b0 100644 --- a/rustdoc/latest/zcash_client_backend/keys/enum.DerivationError.html +++ b/rustdoc/latest/zcash_client_backend/keys/enum.DerivationError.html @@ -1,6 +1,6 @@ -DerivationError in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Enum DerivationError

pub enum DerivationError {
+DerivationError in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Enum DerivationError

Source
pub enum DerivationError {
     Transparent(Error),
-}

Variants§

§

Transparent(Error)

Available on crate feature transparent-inputs only.

Trait Implementations§

§

impl Debug for DerivationError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for DerivationError

§

fn fmt(&self, _f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for DerivationError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl From<Error> for DerivationError

Available on crate feature transparent-inputs only.
§

fn from(e: Error) -> DerivationError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +}

Variants§

§

Transparent(Error)

Available on crate feature transparent-inputs only.

Trait Implementations§

Source§

impl Debug for DerivationError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for DerivationError

Source§

fn fmt(&self, _f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Error for DerivationError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<Error> for DerivationError

Available on crate feature transparent-inputs only.
Source§

fn from(e: Error) -> DerivationError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/rustdoc/latest/zcash_client_backend/keys/enum.Era.html b/rustdoc/latest/zcash_client_backend/keys/enum.Era.html index 94f1cd0a6..15302c6b3 100644 --- a/rustdoc/latest/zcash_client_backend/keys/enum.Era.html +++ b/rustdoc/latest/zcash_client_backend/keys/enum.Era.html @@ -1,4 +1,4 @@ -Era in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Enum Era

pub enum Era {
+Era in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Enum Era

Source
pub enum Era {
     Orchard,
 }
Available on crate feature unstable only.
Expand description

A version identifier for the encoding of unified spending keys.

Each era corresponds to a range of block heights. During an era, the unified spending key @@ -7,8 +7,8 @@ within the era’s block range.

Variants§

§

Orchard

The Orchard era begins at Orchard activation, and will end if a new pool that requires a change to unified spending keys is introduced.

-

Trait Implementations§

§

impl Debug for Era

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl PartialEq for Era

§

fn eq(&self, other: &Era) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Eq for Era

§

impl StructuralPartialEq for Era

Auto Trait Implementations§

§

impl Freeze for Era

§

impl RefUnwindSafe for Era

§

impl Send for Era

§

impl Sync for Era

§

impl Unpin for Era

§

impl UnwindSafe for Era

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Debug for Era

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Era

Source§

fn eq(&self, other: &Era) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Eq for Era

Source§

impl StructuralPartialEq for Era

Auto Trait Implementations§

§

impl Freeze for Era

§

impl RefUnwindSafe for Era

§

impl Send for Era

§

impl Sync for Era

§

impl Unpin for Era

§

impl UnwindSafe for Era

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where diff --git a/rustdoc/latest/zcash_client_backend/keys/index.html b/rustdoc/latest/zcash_client_backend/keys/index.html index 068acd360..7001d4e38 100644 --- a/rustdoc/latest/zcash_client_backend/keys/index.html +++ b/rustdoc/latest/zcash_client_backend/keys/index.html @@ -1,2 +1,2 @@ -zcash_client_backend::keys - Rust
zcash_client_backend

Module keys

Expand description

Helper functions for managing light client key material.

+zcash_client_backend::keys - Rust
zcash_client_backend

Module keys

Source
Expand description

Helper functions for managing light client key material.

Modules§

Structs§

Enums§

  • Errors that can occur in the generation of unified addresses.
  • A type for errors that can occur when decoding keys from their serialized representations.
  • Eraunstable
    A version identifier for the encoding of unified spending keys.
\ No newline at end of file diff --git a/rustdoc/latest/zcash_client_backend/keys/sapling/fn.spending_key.html b/rustdoc/latest/zcash_client_backend/keys/sapling/fn.spending_key.html index 3266b0239..657433c33 100644 --- a/rustdoc/latest/zcash_client_backend/keys/sapling/fn.spending_key.html +++ b/rustdoc/latest/zcash_client_backend/keys/sapling/fn.spending_key.html @@ -1,4 +1,4 @@ -spending_key in zcash_client_backend::keys::sapling - Rust
zcash_client_backend::keys::sapling

Function spending_key

pub fn spending_key(
+spending_key in zcash_client_backend::keys::sapling - Rust
zcash_client_backend::keys::sapling

Function spending_key

Source
pub fn spending_key(
     seed: &[u8],
     coin_type: u32,
     account: AccountId,
diff --git a/rustdoc/latest/zcash_client_backend/keys/sapling/index.html b/rustdoc/latest/zcash_client_backend/keys/sapling/index.html
index 7bd876c21..0a832eb08 100644
--- a/rustdoc/latest/zcash_client_backend/keys/sapling/index.html
+++ b/rustdoc/latest/zcash_client_backend/keys/sapling/index.html
@@ -1,2 +1,2 @@
-zcash_client_backend::keys::sapling - Rust
zcash_client_backend::keys

Module sapling

Available on crate feature sapling only.

Structs§

Functions§

Trait Implementations§

Source§

impl Clone for UnifiedAddressRequest

Source§

fn clone(&self) -> UnifiedAddressRequest

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UnifiedAddressRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for UnifiedAddressRequest

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedFullViewingKey.html b/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedFullViewingKey.html index 817a022f4..abc9fd2a9 100644 --- a/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedFullViewingKey.html +++ b/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedFullViewingKey.html @@ -1,26 +1,26 @@ -UnifiedFullViewingKey in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Struct UnifiedFullViewingKey

pub struct UnifiedFullViewingKey { /* private fields */ }
Expand description

A ZIP 316 unified full viewing key.

-

Implementations§

§

impl UnifiedFullViewingKey

pub fn new( +UnifiedFullViewingKey in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Struct UnifiedFullViewingKey

Source
pub struct UnifiedFullViewingKey { /* private fields */ }
Expand description

A ZIP 316 unified full viewing key.

+

Implementations§

Source§

impl UnifiedFullViewingKey

Source

pub fn new( transparent: Option<AccountPubKey>, sapling: Option<DiversifiableFullViewingKey>, ) -> Result<UnifiedFullViewingKey, DerivationError>

Available on crate feature test-dependencies only.

Construct a new unified full viewing key.

This method is only available when the test-dependencies feature is enabled, as derivation from the USK or deserialization from the serialized form should be used instead.

-

pub fn from_sapling_extended_full_viewing_key( +

Source

pub fn from_sapling_extended_full_viewing_key( sapling: ExtendedFullViewingKey, -) -> Result<UnifiedFullViewingKey, DerivationError>

Available on crate features sapling and unstable only.

pub fn decode<P>( +) -> Result<UnifiedFullViewingKey, DerivationError>

Available on crate features sapling and unstable only.
Source

pub fn decode<P>( params: &P, encoding: &str, ) -> Result<UnifiedFullViewingKey, String>
where P: Parameters,

Parses a UnifiedFullViewingKey from its ZIP 316 string encoding.

-

pub fn parse(ufvk: &Ufvk) -> Result<UnifiedFullViewingKey, DecodingError>

Parses a UnifiedFullViewingKey from its ZIP 316 string encoding.

-

pub fn encode<P>(&self, params: &P) -> String
where +

Source

pub fn parse(ufvk: &Ufvk) -> Result<UnifiedFullViewingKey, DecodingError>

Parses a UnifiedFullViewingKey from its ZIP 316 string encoding.

+
Source

pub fn encode<P>(&self, params: &P) -> String
where P: Parameters,

Returns the string encoding of this UnifiedFullViewingKey for the given network.

-

pub fn to_unified_incoming_viewing_key(&self) -> UnifiedIncomingViewingKey

Derives a Unified Incoming Viewing Key from this Unified Full Viewing Key.

-

pub fn transparent(&self) -> Option<&AccountPubKey>

Available on crate feature transparent-inputs only.

Returns the transparent component of the unified key at the +

Source

pub fn to_unified_incoming_viewing_key(&self) -> UnifiedIncomingViewingKey

Derives a Unified Incoming Viewing Key from this Unified Full Viewing Key.

+
Source

pub fn transparent(&self) -> Option<&AccountPubKey>

Available on crate feature transparent-inputs only.

Returns the transparent component of the unified key at the BIP44 path m/44'/<coin_type>'/<account>'.

-

pub fn sapling(&self) -> Option<&DiversifiableFullViewingKey>

Available on crate feature sapling only.

Returns the Sapling diversifiable full viewing key component of this unified key.

-

pub fn address( +

Source

pub fn sapling(&self) -> Option<&DiversifiableFullViewingKey>

Available on crate feature sapling only.

Returns the Sapling diversifiable full viewing key component of this unified key.

+
Source

pub fn address( &self, j: DiversifierIndex, request: Option<UnifiedAddressRequest>, @@ -28,7 +28,7 @@ If request is None, the address should be derived to contain a receiver for each item in this UFVK.

Returns None if the specified index does not produce a valid diversifier.

-

pub fn find_address( +

Source

pub fn find_address( &self, j: DiversifierIndex, request: Option<UnifiedAddressRequest>, @@ -38,7 +38,7 @@ address should be derived to contain a receiver for each item in this UFVK.

Returns an Err(AddressGenerationError) if no valid diversifier exists or if the features required to satisfy the unified address request are not properly enabled.

-

pub fn default_address( +

Source

pub fn default_address( &self, request: Option<UnifiedAddressRequest>, ) -> Result<(UnifiedAddress, DiversifierIndex), AddressGenerationError>

Find the Unified Address corresponding to the smallest valid diversifier index, along with @@ -46,7 +46,7 @@ each item in this UFVK.

Returns an Err(AddressGenerationError) if no valid diversifier exists or if the features required to satisfy the unified address request are not properly enabled.

-

Trait Implementations§

§

impl Clone for UnifiedFullViewingKey

§

fn clone(&self) -> UnifiedFullViewingKey

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for UnifiedFullViewingKey

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Trait Implementations§

Source§

impl Clone for UnifiedFullViewingKey

Source§

fn clone(&self) -> UnifiedFullViewingKey

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UnifiedFullViewingKey

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedIncomingViewingKey.html b/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedIncomingViewingKey.html index e913a1019..657ab5067 100644 --- a/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedIncomingViewingKey.html +++ b/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedIncomingViewingKey.html @@ -1,21 +1,21 @@ -UnifiedIncomingViewingKey in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Struct UnifiedIncomingViewingKey

pub struct UnifiedIncomingViewingKey { /* private fields */ }
Expand description

A ZIP 316 unified incoming viewing key.

-

Implementations§

§

impl UnifiedIncomingViewingKey

pub fn new( +UnifiedIncomingViewingKey in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Struct UnifiedIncomingViewingKey

Source
pub struct UnifiedIncomingViewingKey { /* private fields */ }
Expand description

A ZIP 316 unified incoming viewing key.

+

Implementations§

Source§

impl UnifiedIncomingViewingKey

Source

pub fn new( transparent: Option<ExternalIvk>, sapling: Option<IncomingViewingKey>, ) -> UnifiedIncomingViewingKey

Available on crate feature test-dependencies only.

Construct a new unified incoming viewing key.

This method is only available when the test-dependencies feature is enabled, as derivation from the UFVK or deserialization from the serialized form should be used instead.

-

pub fn decode<P>( +

Source

pub fn decode<P>( params: &P, encoding: &str, ) -> Result<UnifiedIncomingViewingKey, String>
where P: Parameters,

Parses a UnifiedFullViewingKey from its ZIP 316 string encoding.

-

pub fn encode<P>(&self, params: &P) -> String
where +

Source

pub fn encode<P>(&self, params: &P) -> String
where P: Parameters,

Returns the string encoding of this UnifiedFullViewingKey for the given network.

-

pub fn transparent(&self) -> &Option<ExternalIvk>

Available on crate feature transparent-inputs only.

Returns the Transparent external IVK, if present.

-

pub fn sapling(&self) -> &Option<IncomingViewingKey>

Available on crate feature sapling only.

Returns the Sapling IVK, if present.

-

pub fn address( +

Source

pub fn transparent(&self) -> &Option<ExternalIvk>

Available on crate feature transparent-inputs only.

Returns the Transparent external IVK, if present.

+
Source

pub fn sapling(&self) -> &Option<IncomingViewingKey>

Available on crate feature sapling only.

Returns the Sapling IVK, if present.

+
Source

pub fn address( &self, _j: DiversifierIndex, request: Option<UnifiedAddressRequest>, @@ -23,7 +23,7 @@ If request is None, the address should be derived to contain a receiver for each item in this UFVK.

Returns None if the specified index does not produce a valid diversifier.

-

pub fn find_address( +

Source

pub fn find_address( &self, j: DiversifierIndex, request: Option<UnifiedAddressRequest>, @@ -32,7 +32,7 @@ diversifier along with the index at which the valid diversifier was found.

Returns an Err(AddressGenerationError) if no valid diversifier exists or if the features required to satisfy the unified address request are not properly enabled.

-

pub fn default_address( +

Source

pub fn default_address( &self, request: Option<UnifiedAddressRequest>, ) -> Result<(UnifiedAddress, DiversifierIndex), AddressGenerationError>

Find the Unified Address corresponding to the smallest valid diversifier index, along with @@ -40,8 +40,8 @@ each item in this UFVK.

Returns an Err(AddressGenerationError) if no valid diversifier exists or if the features required to satisfy the unified address request are not properly enabled.

-

pub fn to_address_request(&self) -> Option<UnifiedAddressRequest>

Constructs a UnifiedAddressRequest that includes the components of this UIVK.

-

Trait Implementations§

§

impl Clone for UnifiedIncomingViewingKey

§

fn clone(&self) -> UnifiedIncomingViewingKey

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for UnifiedIncomingViewingKey

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +

Source

pub fn to_address_request(&self) -> Option<UnifiedAddressRequest>

Constructs a UnifiedAddressRequest that includes the components of this UIVK.

+

Trait Implementations§

Source§

impl Clone for UnifiedIncomingViewingKey

Source§

fn clone(&self) -> UnifiedIncomingViewingKey

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UnifiedIncomingViewingKey

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedSpendingKey.html b/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedSpendingKey.html index b23556e95..fc8d23fda 100644 --- a/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedSpendingKey.html +++ b/rustdoc/latest/zcash_client_backend/keys/struct.UnifiedSpendingKey.html @@ -1,13 +1,13 @@ -UnifiedSpendingKey in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Struct UnifiedSpendingKey

pub struct UnifiedSpendingKey { /* private fields */ }
Expand description

A set of spending keys that are all associated with a single ZIP-0032 account identifier.

-

Implementations§

§

impl UnifiedSpendingKey

pub fn from_seed<P>( +UnifiedSpendingKey in zcash_client_backend::keys - Rust
zcash_client_backend::keys

Struct UnifiedSpendingKey

Source
pub struct UnifiedSpendingKey { /* private fields */ }
Expand description

A set of spending keys that are all associated with a single ZIP-0032 account identifier.

+

Implementations§

Source§

impl UnifiedSpendingKey

Source

pub fn from_seed<P>( _params: &P, seed: &[u8], _account: AccountId, ) -> Result<UnifiedSpendingKey, DerivationError>
where - P: Parameters,

pub fn to_unified_full_viewing_key(&self) -> UnifiedFullViewingKey

pub fn transparent(&self) -> &AccountPrivKey

Available on crate feature transparent-inputs only.

Returns the transparent component of the unified key at the + P: Parameters,

Source

pub fn to_unified_full_viewing_key(&self) -> UnifiedFullViewingKey

Source

pub fn transparent(&self) -> &AccountPrivKey

Available on crate feature transparent-inputs only.

Returns the transparent component of the unified key at the BIP44 path m/44'/<coin_type>'/<account>'.

-

pub fn sapling(&self) -> &ExtendedSpendingKey

Available on crate feature sapling only.

Returns the Sapling extended spending key component of this unified spending key.

-

pub fn to_bytes(&self, era: Era) -> Vec<u8>

Available on crate feature unstable only.

Returns a binary encoding of this key suitable for decoding with Self::from_bytes.

+
Source

pub fn sapling(&self) -> &ExtendedSpendingKey

Available on crate feature sapling only.

Returns the Sapling extended spending key component of this unified spending key.

+
Source

pub fn to_bytes(&self, era: Era) -> Vec<u8>

Available on crate feature unstable only.

Returns a binary encoding of this key suitable for decoding with Self::from_bytes.

The encoded form of a unified spending key is only intended for use within wallets when required for storage and/or crossing FFI boundaries; unified spending keys should not be exposed to users, and consequently @@ -15,17 +15,17 @@ internal validation metadata (such as checksums) as keys decoded from this form will necessarily be validated when the attempt is made to spend a note that they have authority for.

-

pub fn from_bytes( +

Source

pub fn from_bytes( era: Era, encoded: &[u8], ) -> Result<UnifiedSpendingKey, DecodingError>

Available on crate feature unstable only.

Decodes a UnifiedSpendingKey value from its serialized representation.

See Self::to_bytes for additional detail about the encoded form.

-

pub fn default_address( +

Source

pub fn default_address( &self, request: Option<UnifiedAddressRequest>, -) -> (UnifiedAddress, DiversifierIndex)

Available on crate feature test-dependencies only.

pub fn default_transparent_address( +) -> (UnifiedAddress, DiversifierIndex)

Available on crate feature test-dependencies only.
Source

pub fn default_transparent_address( &self, -) -> (TransparentAddress, NonHardenedChildIndex)

Available on crate features transparent-inputs and test-dependencies only.

Trait Implementations§

§

impl Clone for UnifiedSpendingKey

§

fn clone(&self) -> UnifiedSpendingKey

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for UnifiedSpendingKey

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where +) -> (TransparentAddress, NonHardenedChildIndex)

Available on crate features transparent-inputs and test-dependencies only.

Trait Implementations§

Source§

impl Clone for UnifiedSpendingKey

Source§

fn clone(&self) -> UnifiedSpendingKey

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for UnifiedSpendingKey

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where diff --git a/rustdoc/latest/zcash_client_backend/keys/testing/fn.arb_unified_spending_key.html b/rustdoc/latest/zcash_client_backend/keys/testing/fn.arb_unified_spending_key.html index bb5ecbb16..cfb4850e5 100644 --- a/rustdoc/latest/zcash_client_backend/keys/testing/fn.arb_unified_spending_key.html +++ b/rustdoc/latest/zcash_client_backend/keys/testing/fn.arb_unified_spending_key.html @@ -1,3 +1,3 @@ -arb_unified_spending_key in zcash_client_backend::keys::testing - Rust
zcash_client_backend::keys::testing

Function arb_unified_spending_key

pub fn arb_unified_spending_key(
+arb_unified_spending_key in zcash_client_backend::keys::testing - Rust
zcash_client_backend::keys::testing

Function arb_unified_spending_key

Source
pub fn arb_unified_spending_key(
     params: Network,
 ) -> impl Strategy<Value = UnifiedSpendingKey>
Available on crate feature test-dependencies only.
\ No newline at end of file diff --git a/rustdoc/latest/zcash_client_backend/keys/testing/index.html b/rustdoc/latest/zcash_client_backend/keys/testing/index.html index 061566a43..6d0413165 100644 --- a/rustdoc/latest/zcash_client_backend/keys/testing/index.html +++ b/rustdoc/latest/zcash_client_backend/keys/testing/index.html @@ -1 +1 @@ -zcash_client_backend::keys::testing - Rust
zcash_client_backend::keys

Module testing

Available on crate feature test-dependencies only.

Functions§

\ No newline at end of file +zcash_client_backend::keys::testing - Rust
zcash_client_backend::keys

Module testing

Source
Available on crate feature test-dependencies only.

Functions§

\ No newline at end of file diff --git a/rustdoc/latest/zcash_client_backend/proposal/struct.Proposal.html b/rustdoc/latest/zcash_client_backend/proposal/struct.Proposal.html index c3c8d1fc1..5ac345f43 100644 --- a/rustdoc/latest/zcash_client_backend/proposal/struct.Proposal.html +++ b/rustdoc/latest/zcash_client_backend/proposal/struct.Proposal.html @@ -17,7 +17,7 @@
  • steps: A vector of steps that make up the proposal.
  • Source

    pub fn single_step( - transaction_request: TransactionRequest, + transaction_request: TransactionRequest, payment_pools: BTreeMap<usize, PoolType>, transparent_inputs: Vec<WalletTransparentOutput>, shielded_inputs: Option<ShieldedInputs<NoteRef>>, diff --git a/rustdoc/latest/zcash_client_backend/proposal/struct.Step.html b/rustdoc/latest/zcash_client_backend/proposal/struct.Step.html index 16176a7ad..3061ecf8a 100644 --- a/rustdoc/latest/zcash_client_backend/proposal/struct.Step.html +++ b/rustdoc/latest/zcash_client_backend/proposal/struct.Step.html @@ -1,7 +1,7 @@ Step in zcash_client_backend::proposal - Rust
    zcash_client_backend::proposal

    Struct Step

    Source
    pub struct Step<NoteRef> { /* private fields */ }
    Expand description

    The inputs to be consumed and outputs to be produced in a proposed transaction.

    Implementations§

    Source§

    impl<NoteRef> Step<NoteRef>

    Source

    pub fn from_parts( prior_steps: &[Step<NoteRef>], - transaction_request: TransactionRequest, + transaction_request: TransactionRequest, payment_pools: BTreeMap<usize, PoolType>, transparent_inputs: Vec<WalletTransparentOutput>, shielded_inputs: Option<ShieldedInputs<NoteRef>>, @@ -16,7 +16,7 @@
  • transaction_request: The ZIP 321 transaction request describing the payments to be made.
  • payment_pools: A map from payment index to pool type. The set of payment indices -provided here must exactly match the set of payment indices in the [TransactionRequest], +provided here must exactly match the set of payment indices in the TransactionRequest, and the selected pool for an index must correspond to a valid receiver of the address at that index (or the address itself in the case of bare transparent or Sapling addresses).
  • @@ -26,7 +26,7 @@
  • is_shielding: A flag that identifies whether this is a wallet-internal shielding transaction.
  • -

    Source

    pub fn transaction_request(&self) -> &TransactionRequest

    Returns the transaction request that describes the payments to be made.

    +
    Source

    pub fn transaction_request(&self) -> &TransactionRequest

    Returns the transaction request that describes the payments to be made.

    Source

    pub fn payment_pools(&self) -> &BTreeMap<usize, PoolType>

    Returns the map from payment index to the pool that has been selected for the output that will fulfill that payment.

    Source

    pub fn transparent_inputs(&self) -> &[WalletTransparentOutput]

    Returns the transparent inputs that have been selected to fund the transaction.

    diff --git a/rustdoc/latest/zcash_client_backend/proto/enum.ProposalDecodingError.html b/rustdoc/latest/zcash_client_backend/proto/enum.ProposalDecodingError.html index 895d52e46..e7a4c8da5 100644 --- a/rustdoc/latest/zcash_client_backend/proto/enum.ProposalDecodingError.html +++ b/rustdoc/latest/zcash_client_backend/proto/enum.ProposalDecodingError.html @@ -1,6 +1,6 @@ ProposalDecodingError in zcash_client_backend::proto - Rust
    zcash_client_backend::proto

    Enum ProposalDecodingError

    Source
    pub enum ProposalDecodingError<DbError> {
     
    Show 16 variants NoSteps, - Zip321(Zip321Error), + Zip321(Zip321Error), NullInput(usize), TxIdInvalid(TryFromSliceError), ValuePoolNotSupported(i32), @@ -18,7 +18,7 @@
    }
    Expand description

    Errors that can occur in the process of decoding a Proposal from its protobuf representation.

    Variants§

    §

    NoSteps

    The encoded proposal contained no steps.

    -
    §

    Zip321(Zip321Error)

    The ZIP 321 transaction request URI was invalid.

    +
    §

    Zip321(Zip321Error)

    The ZIP 321 transaction request URI was invalid.

    §

    NullInput(usize)

    A proposed input was null.

    §

    TxIdInvalid(TryFromSliceError)

    A transaction identifier string did not decode to a valid transaction ID.

    §

    ValuePoolNotSupported(i32)

    An invalid value pool identifier was encountered.

    @@ -34,7 +34,7 @@
    §

    TransparentMemo

    A memo field was provided for a transparent output.

    §

    InvalidChangeRecipient(PoolType)

    Change outputs to the specified pool are not supported.

    §

    InvalidEphemeralRecipient(PoolType)

    Ephemeral outputs to the specified pool are not supported.

    -

    Trait Implementations§

    Source§

    impl<DbError: Clone> Clone for ProposalDecodingError<DbError>

    Source§

    fn clone(&self) -> ProposalDecodingError<DbError>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<DbError: Debug> Debug for ProposalDecodingError<DbError>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<E: Display> Display for ProposalDecodingError<E>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<E: Error + 'static> Error for ProposalDecodingError<E>

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl<E> From<Zip321Error> for ProposalDecodingError<E>

    Source§

    fn from(value: Zip321Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<DbError> Freeze for ProposalDecodingError<DbError>
    where +

    Trait Implementations§

    Source§

    impl<DbError: Clone> Clone for ProposalDecodingError<DbError>

    Source§

    fn clone(&self) -> ProposalDecodingError<DbError>

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl<DbError: Debug> Debug for ProposalDecodingError<DbError>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<E: Display> Display for ProposalDecodingError<E>

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<E: Error + 'static> Error for ProposalDecodingError<E>

    Source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · Source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · Source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    Source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    Source§

    impl<E> From<Zip321Error> for ProposalDecodingError<E>

    Source§

    fn from(value: Zip321Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<DbError> Freeze for ProposalDecodingError<DbError>
    where DbError: Freeze,

    §

    impl<DbError> RefUnwindSafe for ProposalDecodingError<DbError>
    where DbError: RefUnwindSafe,

    §

    impl<DbError> Send for ProposalDecodingError<DbError>
    where DbError: Send,

    §

    impl<DbError> Sync for ProposalDecodingError<DbError>
    where diff --git a/rustdoc/latest/zcash_primitives/legacy/enum.TransparentAddress.html b/rustdoc/latest/zcash_primitives/legacy/enum.TransparentAddress.html index 7ff140b78..e17dcc399 100644 --- a/rustdoc/latest/zcash_primitives/legacy/enum.TransparentAddress.html +++ b/rustdoc/latest/zcash_primitives/legacy/enum.TransparentAddress.html @@ -13,20 +13,20 @@ and should not be overridden without very good reason.

    Source§

    impl PartialOrd for TransparentAddress

    Source§

    fn partial_cmp(&self, other: &TransparentAddress) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    Source§

    impl TryFromRawAddress for TransparentAddress

    Source§

    type Error = ()

    Conversion errors for the user type (e.g. failing to parse the data passed to -Self::try_from_raw_sapling as a valid Sapling address).
    Source§

    fn try_from_raw_transparent_p2pkh( +the >= operator. Read more

    Source§

    impl TryFromRawAddress for TransparentAddress

    Source§

    type Error = ()

    Conversion errors for the user type (e.g. failing to parse the data passed to +[Self::try_from_raw_sapling] as a valid Sapling address).
    Source§

    fn try_from_raw_transparent_p2pkh( data: [u8; 20], -) -> Result<TransparentAddress, ConversionError<<TransparentAddress as TryFromRawAddress>::Error>>

    Source§

    fn try_from_raw_transparent_p2sh( +) -> Result<TransparentAddress, ConversionError<<TransparentAddress as TryFromRawAddress>::Error>>

    Source§

    fn try_from_raw_transparent_p2sh( data: [u8; 20], -) -> Result<TransparentAddress, ConversionError<<TransparentAddress as TryFromRawAddress>::Error>>

    Source§

    fn try_from_raw_sprout( +) -> Result<TransparentAddress, ConversionError<<TransparentAddress as TryFromRawAddress>::Error>>

    §

    fn try_from_raw_sprout( data: [u8; 64], -) -> Result<Self, ConversionError<Self::Error>>

    Source§

    fn try_from_raw_sapling( +) -> Result<Self, ConversionError<Self::Error>>

    §

    fn try_from_raw_sapling( data: [u8; 43], -) -> Result<Self, ConversionError<Self::Error>>

    Source§

    fn try_from_raw_unified( - data: Address, -) -> Result<Self, ConversionError<Self::Error>>

    Source§

    fn try_from_raw_tex( +) -> Result<Self, ConversionError<Self::Error>>

    §

    fn try_from_raw_unified( + data: Address, +) -> Result<Self, ConversionError<Self::Error>>

    §

    fn try_from_raw_tex( data: [u8; 20], -) -> Result<Self, ConversionError<Self::Error>>

    Source§

    impl Copy for TransparentAddress

    Source§

    impl Eq for TransparentAddress

    Source§

    impl StructuralPartialEq for TransparentAddress

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where +) -> Result<Self, ConversionError<Self::Error>>

    Source§

    impl Copy for TransparentAddress

    Source§

    impl Eq for TransparentAddress

    Source§

    impl StructuralPartialEq for TransparentAddress

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where