Enum exonum_btc_anchoring::BitcoinNetwork []

pub enum BitcoinNetwork {
    Bitcoin,
    Testnet,
}

The cryptocurrency to act on

Variants

Classic Bitcoin

Bitcoin's testnet

Trait Implementations

impl Display for Network
[src]

Formats the value using the given formatter. Read more

impl<D> ConsensusDecodable<D> for Network where
    D: SimpleDecoder
[src]

impl Serialize for Network
[src]

impl Eq for Network
[src]

impl Copy for Network
[src]

impl Debug for Network
[src]

Formats the value using the given formatter.

impl<S> ConsensusEncodable<S> for Network where
    S: SimpleEncoder
[src]

impl Deserialize for Network
[src]

impl PartialEq<Network> for Network
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Network
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Network
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more