Enum exonum_btc_anchoring::BitcoinNetwork
[−]
pub enum BitcoinNetwork { Bitcoin, Testnet, }
The cryptocurrency to act on
Variants
Bitcoin
Classic Bitcoin
Testnet
Bitcoin's testnet
Trait Implementations
impl Display for Network
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<D> ConsensusDecodable<D> for Network where
D: SimpleDecoder,
[src]
D: SimpleDecoder,
fn consensus_decode(d: &mut D) -> Result<Network, <D as SimpleDecoder>::Error>
impl Serialize for Network
[src]
fn serialize<S>(&self, s: &mut S) -> Result<(), <S as Serializer>::Error> where
S: Serializer,
S: Serializer,
impl Eq for Network
[src]
impl Copy for Network
[src]
impl Debug for Network
[src]
impl<S> ConsensusEncodable<S> for Network where
S: SimpleEncoder,
[src]
S: SimpleEncoder,
fn consensus_encode(&self, s: &mut S) -> Result<(), <S as SimpleEncoder>::Error>
impl Deserialize for Network
[src]
fn deserialize<D>(d: &mut D) -> Result<Network, <D as Deserializer>::Error> where
D: Deserializer,
D: Deserializer,
impl PartialEq<Network> for Network
[src]
fn eq(&self, __arg_0: &Network) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Hash for Network
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for Network
[src]
fn clone(&self) -> Network
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more