Enum grin_core::global::ChainTypes
source · [−]pub enum ChainTypes {
AutomatedTesting,
UserTesting,
Testnet,
Mainnet,
}
Expand description
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
Testnet
Protocol testing network
Mainnet
Main production network
Implementations
sourceimpl ChainTypes
impl ChainTypes
Trait Implementations
sourceimpl Clone for ChainTypes
impl Clone for ChainTypes
sourcefn clone(&self) -> ChainTypes
fn clone(&self) -> ChainTypes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChainTypes
impl Debug for ChainTypes
sourceimpl Default for ChainTypes
impl Default for ChainTypes
sourcefn default() -> ChainTypes
fn default() -> ChainTypes
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ChainTypes
impl<'de> Deserialize<'de> for ChainTypes
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ChainTypes> for ChainTypes
impl PartialEq<ChainTypes> for ChainTypes
sourceimpl Serialize for ChainTypes
impl Serialize for ChainTypes
impl Copy for ChainTypes
impl StructuralPartialEq for ChainTypes
Auto Trait Implementations
impl RefUnwindSafe for ChainTypes
impl Send for ChainTypes
impl Sync for ChainTypes
impl Unpin for ChainTypes
impl UnwindSafe for ChainTypes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> CloneAny for T where
T: Any + Clone,
impl<T> CloneAny for T where
T: Any + Clone,
fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + Send + Sync + 'static, Global> where
T: Send + Sync,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more