[−][src]Struct wagyu_zcash::extended_private_key::ZcashExtendedPrivateKey
Represents a Zcash extended private key
Methods
impl<N: ZcashNetwork> ZcashExtendedPrivateKey<N>
[src]
pub fn to_extended_spending_key(&self) -> ExtendedSpendingKey<N>
[src]
Returns the extended spending key of the Zcash extended private key.
Trait Implementations
impl<N: Clone + ZcashNetwork> Clone for ZcashExtendedPrivateKey<N>
[src]
fn clone(&self) -> ZcashExtendedPrivateKey<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: Debug + ZcashNetwork> Debug for ZcashExtendedPrivateKey<N>
[src]
impl<N: ZcashNetwork> Display for ZcashExtendedPrivateKey<N>
[src]
impl<N: ZcashNetwork> Eq for ZcashExtendedPrivateKey<N>
[src]
impl<N: ZcashNetwork> ExtendedPrivateKey for ZcashExtendedPrivateKey<N>
[src]
type Address = ZcashAddress<N>
type DerivationPath = ZcashDerivationPath<N>
type ExtendedPublicKey = ZcashExtendedPublicKey<N>
type Format = ZcashFormat
type PrivateKey = ZcashPrivateKey<N>
type PublicKey = ZcashPublicKey<N>
fn new(
seed: &[u8],
_format: &Self::Format,
path: &Self::DerivationPath
) -> Result<Self, ExtendedPrivateKeyError>
[src]
seed: &[u8],
_format: &Self::Format,
path: &Self::DerivationPath
) -> Result<Self, ExtendedPrivateKeyError>
Returns a new Zcash extended private key.
fn new_master(
seed: &[u8],
_: &Self::Format
) -> Result<Self, ExtendedPrivateKeyError>
[src]
seed: &[u8],
_: &Self::Format
) -> Result<Self, ExtendedPrivateKeyError>
Returns a new Zcash extended private key.
fn derive(
&self,
path: &Self::DerivationPath
) -> Result<Self, ExtendedPrivateKeyError>
[src]
&self,
path: &Self::DerivationPath
) -> Result<Self, ExtendedPrivateKeyError>
Returns the extended private key of the given derivation path.
fn to_extended_public_key(&self) -> Self::ExtendedPublicKey
[src]
Returns the extended public key of the corresponding extended private key.
fn to_private_key(&self) -> Self::PrivateKey
[src]
Returns the private key of the corresponding extended private key.
fn to_public_key(&self) -> Self::PublicKey
[src]
Returns the public key of the corresponding extended private key.
fn to_address(
&self,
format: &Self::Format
) -> Result<Self::Address, AddressError>
[src]
&self,
format: &Self::Format
) -> Result<Self::Address, AddressError>
Returns the address of the corresponding extended private key.
impl<N: ZcashNetwork> FromStr for ZcashExtendedPrivateKey<N>
[src]
type Err = ExtendedPrivateKeyError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl<N: ZcashNetwork> Ord for ZcashExtendedPrivateKey<N>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<N: ZcashNetwork> PartialEq<ZcashExtendedPrivateKey<N>> for ZcashExtendedPrivateKey<N>
[src]
impl<N: ZcashNetwork> PartialOrd<ZcashExtendedPrivateKey<N>> for ZcashExtendedPrivateKey<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for ZcashExtendedPrivateKey<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for ZcashExtendedPrivateKey<N>
impl<N> Sync for ZcashExtendedPrivateKey<N>
impl<N> Unpin for ZcashExtendedPrivateKey<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for ZcashExtendedPrivateKey<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,