[−][src]Enum wagyu_zcash::public_key::ZcashPublicKey
Represents a Zcash public key
Variants
P2PKH(P2PKHViewingKey)
P2PKH transparent viewing key
P2SH(P2SHViewingKey)
P2SH transparent viewing key
Sprout(SproutViewingKey)
Sprout shielded viewing key
Sapling(SaplingFullViewingKey<N>)
Sapling shielded viewing key
Trait Implementations
impl<N: Eq + ZcashNetwork> Eq for ZcashPublicKey<N>
[src]
impl<N: Clone + ZcashNetwork> Clone for ZcashPublicKey<N>
[src]
fn clone(&self) -> ZcashPublicKey<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: PartialEq + ZcashNetwork> PartialEq<ZcashPublicKey<N>> for ZcashPublicKey<N>
[src]
fn eq(&self, other: &ZcashPublicKey<N>) -> bool
[src]
fn ne(&self, other: &ZcashPublicKey<N>) -> bool
[src]
impl<N: Debug + ZcashNetwork> Debug for ZcashPublicKey<N>
[src]
impl<N: ZcashNetwork> Display for ZcashPublicKey<N>
[src]
impl<N: ZcashNetwork> FromStr for ZcashPublicKey<N>
[src]
type Err = PublicKeyError
The associated error which can be returned from parsing.
fn from_str(public_key: &str) -> Result<Self, Self::Err>
[src]
impl<N: ZcashNetwork> PublicKey for ZcashPublicKey<N>
[src]
type Address = ZcashAddress<N>
type Format = ZcashFormat
type PrivateKey = ZcashPrivateKey<N>
fn from_private_key(private_key: &Self::PrivateKey) -> Self
[src]
Returns the public key corresponding to the given 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 private key.
Auto Trait Implementations
impl<N> Send for ZcashPublicKey<N>
impl<N> Unpin for ZcashPublicKey<N> where
N: Unpin,
N: Unpin,
impl<N> Sync for ZcashPublicKey<N>
impl<N> UnwindSafe for ZcashPublicKey<N> where
N: UnwindSafe,
N: UnwindSafe,
impl<N> RefUnwindSafe for ZcashPublicKey<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
Blanket Implementations
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,