[][src]Enum grin_core::global::ChainTypes

pub enum ChainTypes {
    AutomatedTesting,
    UserTesting,
    Floonet,
    Mainnet,
}

Types of chain a server can run with, dictates the genesis block and and mining parameters used.

Variants

AutomatedTesting

For CI testing

UserTesting

For User testing

Floonet

Protocol testing network

Mainnet

Main production network

Methods

impl ChainTypes[src]

pub fn shortname(&self) -> String[src]

Short name representing the chain type ("floo", "main", etc.)

Trait Implementations

impl Clone for ChainTypes[src]

impl Default for ChainTypes[src]

impl PartialEq<ChainTypes> for ChainTypes[src]

impl Debug for ChainTypes[src]

impl Serialize for ChainTypes[src]

impl<'de> Deserialize<'de> for ChainTypes[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> CloneAny for T where
    T: Clone + Any

impl<T> UnsafeAny for T where
    T: Any

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T