[][src]Struct beacon_node::Eth2Config

pub struct Eth2Config {
    pub spec_constants: String,
    pub spec: ChainSpec,
}

The core configuration of a Lighthouse beacon node.

Fields

spec_constants: Stringspec: ChainSpec

Methods

impl Eth2Config[src]

pub fn mainnet() -> Eth2Config[src]

pub fn minimal() -> Eth2Config[src]

pub fn interop() -> Eth2Config[src]

Trait Implementations

impl Default for Eth2Config[src]

impl<'de> Deserialize<'de> for Eth2Config where
    Eth2Config: Default
[src]

impl Serialize for Eth2Config[src]

impl Clone for Eth2Config[src]

impl Debug for Eth2Config[src]

Auto Trait Implementations

impl Send for Eth2Config

impl Unpin for Eth2Config

impl Sync for Eth2Config

impl UnwindSafe for Eth2Config

impl RefUnwindSafe for Eth2Config

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> InitializableFromZeroed for T where
    T: Default

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Erased for T