[][src]Struct beacon_chain::builder::Witness

pub struct Witness<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler>(_);

An empty struct used to "witness" all the BeaconChainTypes traits. It has no user-facing functionality and only exists to satisfy the type system.

Trait Implementations

impl<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> BeaconChainTypes for Witness<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> where
    TStore: Store + 'static,
    TSlotClock: SlotClock + 'static,
    TLmdGhost: LmdGhost<TStore, TEthSpec> + 'static,
    TEth1Backend: Eth1ChainBackend<TEthSpec> + 'static,
    TEthSpec: EthSpec + 'static,
    TEventHandler: EventHandler<TEthSpec> + 'static, 
[src]

type Store = TStore

type SlotClock = TSlotClock

type LmdGhost = TLmdGhost

type Eth1Chain = TEth1Backend

type EthSpec = TEthSpec

type EventHandler = TEventHandler

Auto Trait Implementations

impl<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> Send for Witness<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> where
    TEth1Backend: Send,
    TEthSpec: Send,
    TEventHandler: Send,
    TLmdGhost: Send,
    TSlotClock: Send,
    TStore: Send

impl<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> Unpin for Witness<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> where
    TEth1Backend: Unpin,
    TEthSpec: Unpin,
    TEventHandler: Unpin,
    TLmdGhost: Unpin,
    TSlotClock: Unpin,
    TStore: Unpin

impl<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> Sync for Witness<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> where
    TEth1Backend: Sync,
    TEthSpec: Sync,
    TEventHandler: Sync,
    TLmdGhost: Sync,
    TSlotClock: Sync,
    TStore: Sync

impl<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> UnwindSafe for Witness<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> where
    TEth1Backend: UnwindSafe,
    TEthSpec: UnwindSafe,
    TEventHandler: UnwindSafe,
    TLmdGhost: UnwindSafe,
    TSlotClock: UnwindSafe,
    TStore: UnwindSafe

impl<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> RefUnwindSafe for Witness<TStore, TSlotClock, TLmdGhost, TEth1Backend, TEthSpec, TEventHandler> where
    TEth1Backend: RefUnwindSafe,
    TEthSpec: RefUnwindSafe,
    TEventHandler: RefUnwindSafe,
    TLmdGhost: RefUnwindSafe,
    TSlotClock: RefUnwindSafe,
    TStore: RefUnwindSafe

Blanket Implementations

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