[][src]Struct eth2_config::Eth2Config

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

The core configuration of a Lighthouse beacon node.


spec_constants: Stringspec: ChainSpec


impl Eth2Config[src]

pub fn mainnet() -> Self[src]

pub fn minimal() -> Self[src]

pub fn interop() -> Self[src]

Trait Implementations

impl Default for Eth2Config[src]

impl Clone for Eth2Config[src]

impl Debug for Eth2Config[src]

impl<'de> Deserialize<'de> for Eth2Config where
    Eth2Config: Default

impl Serialize 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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T> Borrow<T> for T where
    T: ?Sized

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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

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