[−][src]Enum wagyu_zcash::derivation_path::ZcashDerivationPath
Represents a Zcash derivation path
Variants
ZIP32Sapling(ChildIndex)
Sapling ZIP32 - m/32'/{133', 1'}/{account}' https://github.com/zcash/zips/blob/master/zip-0032.rst#sapling-key-path https://github.com/satoshilabs/slips/blob/master/slip-0044.md
ZIP32SaplingIndependent([ChildIndex; 2])
Sapling ZIP32 with Independent Spend Authorities - m/32'/{133', 1'}/{account}'/{index} https://github.com/zcash/zips/blob/master/zip-0032.rst#sapling-key-path https://github.com/satoshilabs/slips/blob/master/slip-0044.md
Unsupported(Vec<ChildIndex>, PhantomData<N>)
An unsupported derivation path that will error and is incompatible with Zcash structs in this library. https://github.com/zcash/zips/blob/master/zip-0032.rst#sapling-key-path
Trait Implementations
impl<N: Clone + ZcashNetwork> Clone for ZcashDerivationPath<N>
[src]
fn clone(&self) -> ZcashDerivationPath<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: ZcashNetwork> Debug for ZcashDerivationPath<N>
[src]
impl<N: ZcashNetwork> DerivationPath for ZcashDerivationPath<N>
[src]
fn to_vec(&self) -> Result<Vec<ChildIndex>, DerivationPathError>
[src]
Returns a child index vector given the derivation path.
fn from_vec(path: &Vec<ChildIndex>) -> Result<Self, DerivationPathError>
[src]
Returns a derivation path given the child index vector.
impl<N: ZcashNetwork> Display for ZcashDerivationPath<N>
[src]
impl<N: Eq + ZcashNetwork> Eq for ZcashDerivationPath<N>
[src]
impl<N: ZcashNetwork> FromStr for ZcashDerivationPath<N>
[src]
type Err = DerivationPathError
The associated error which can be returned from parsing.
fn from_str(path: &str) -> Result<Self, Self::Err>
[src]
impl<N: PartialEq + ZcashNetwork> PartialEq<ZcashDerivationPath<N>> for ZcashDerivationPath<N>
[src]
fn eq(&self, other: &ZcashDerivationPath<N>) -> bool
[src]
fn ne(&self, other: &ZcashDerivationPath<N>) -> bool
[src]
impl<N: ZcashNetwork> StructuralEq for ZcashDerivationPath<N>
[src]
impl<N: ZcashNetwork> StructuralPartialEq for ZcashDerivationPath<N>
[src]
impl<'a, N: ZcashNetwork> TryFrom<&'a [ChildIndex]> for ZcashDerivationPath<N>
[src]
type Error = DerivationPathError
The type returned in the event of a conversion error.
fn try_from(path: &'a [ChildIndex]) -> Result<Self, Self::Error>
[src]
impl<N: ZcashNetwork> TryFrom<Vec<ChildIndex>> for ZcashDerivationPath<N>
[src]
type Error = DerivationPathError
The type returned in the event of a conversion error.
fn try_from(path: Vec<ChildIndex>) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for ZcashDerivationPath<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for ZcashDerivationPath<N>
impl<N> Sync for ZcashDerivationPath<N>
impl<N> Unpin for ZcashDerivationPath<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for ZcashDerivationPath<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>,