[][src]Struct wagyu_zcash::network::testnet::Testnet

pub struct Testnet;

Trait Implementations

impl Clone for Testnet[src]

impl Copy for Testnet[src]

impl Debug for Testnet[src]

impl Display for Testnet[src]

impl Eq for Testnet[src]

impl FromStr for Testnet[src]

type Err = NetworkError

The associated error which can be returned from parsing.

impl Hash for Testnet[src]

impl Network for Testnet[src]

impl Ord for Testnet[src]

impl PartialEq<Testnet> for Testnet[src]

impl PartialOrd<Testnet> for Testnet[src]

impl Serialize for Testnet[src]

impl StructuralEq for Testnet[src]

impl StructuralPartialEq for Testnet[src]

impl ZcashNetwork for Testnet[src]

fn to_address_prefix(format: &ZcashFormat) -> Vec<u8>[src]

Returns the address prefix of the given network.

fn from_address_prefix(prefix: &Vec<u8>) -> Result<Self, AddressError>[src]

Returns the network of the given address prefix.

fn to_wif_prefix() -> u8[src]

Returns the WIF prefix of the given network.

fn from_wif_prefix(prefix: u8) -> Result<Self, PrivateKeyError>[src]

Returns the network of the given WIF prefix.

fn to_sprout_spending_key_prefix() -> [u8; 2][src]

Returns the prefix for a Sprout spending key.

fn to_sprout_viewing_key_prefix() -> [u8; 3][src]

Returns the prefix for a Sprout viewing key.

fn to_sapling_spending_key_prefix() -> String[src]

Returns the Sapling spending key prefix of the given network.

fn to_sapling_viewing_key_prefix() -> String[src]

Returns the Sapling viewing key prefix of the given network.

fn to_extended_private_key_prefix() -> String[src]

Returns the extended private key prefix of the given network. https://github.com/zcash/zips/blob/master/zip-0032.rst#sapling-extended-spending-keys

fn from_extended_private_key_prefix(prefix: &str) -> Result<Self, NetworkError>[src]

Returns the network of the given extended private key prefix. https://github.com/zcash/zips/blob/master/zip-0032.rst#sapling-extended-spending-keys

fn to_extended_public_key_prefix() -> String[src]

Returns the extended public key prefix of the given network. https://github.com/zcash/zips/blob/master/zip-0032.rst#sapling-extended-full-viewing-keys

fn from_extended_public_key_prefix(prefix: &str) -> Result<Self, NetworkError>[src]

Returns the network of the given extended public key prefix. https://github.com/zcash/zips/blob/master/zip-0032.rst#sapling-extended-full-viewing-keys

Auto Trait Implementations

impl RefUnwindSafe for Testnet

impl Send for Testnet

impl Sync for Testnet

impl Unpin for Testnet

impl UnwindSafe for Testnet

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,