[][src]Struct beacon_chain::test_utils::PersistedBeaconChain

pub struct PersistedBeaconChain<T: BeaconChainTypes> {
    pub canonical_head: CheckPoint<T::EthSpec>,
    pub op_pool: PersistedOperationPool<T::EthSpec>,
    pub genesis_block_root: Hash256,
}

Fields

canonical_head: CheckPoint<T::EthSpec>op_pool: PersistedOperationPool<T::EthSpec>genesis_block_root: Hash256

Trait Implementations

impl<T: BeaconChainTypes> Decode for PersistedBeaconChain<T>[src]

impl<T: BeaconChainTypes> Encode for PersistedBeaconChain<T>[src]

impl<T: BeaconChainTypes> StoreItem for PersistedBeaconChain<T>[src]

Auto Trait Implementations

impl<T> Send for PersistedBeaconChain<T> where
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerHistoricalVector: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerSlashingsVector: Send,
    <T as BeaconChainTypes>::EthSpec: EthSpec,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::HistoricalRootsLimit: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::JustificationBitsLength: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttestations: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttesterSlashings: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxDeposits: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxPendingAttestations: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxProposerSlashings: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxTransfers: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxValidatorsPerCommittee: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxVoluntaryExits: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ShardCount: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerEth1VotingPeriod: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerHistoricalRoot: Send,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ValidatorRegistryLimit: Send

impl<T> Unpin for PersistedBeaconChain<T> where
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerHistoricalVector: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerSlashingsVector: Unpin,
    <T as BeaconChainTypes>::EthSpec: EthSpec,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::HistoricalRootsLimit: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::JustificationBitsLength: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttestations: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttesterSlashings: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxDeposits: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxPendingAttestations: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxProposerSlashings: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxTransfers: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxValidatorsPerCommittee: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxVoluntaryExits: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ShardCount: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerEth1VotingPeriod: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerHistoricalRoot: Unpin,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ValidatorRegistryLimit: Unpin

impl<T> Sync for PersistedBeaconChain<T> where
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerHistoricalVector: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerSlashingsVector: Sync,
    <T as BeaconChainTypes>::EthSpec: EthSpec,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::HistoricalRootsLimit: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::JustificationBitsLength: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttestations: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttesterSlashings: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxDeposits: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxPendingAttestations: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxProposerSlashings: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxTransfers: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxValidatorsPerCommittee: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxVoluntaryExits: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ShardCount: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerEth1VotingPeriod: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerHistoricalRoot: Sync,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ValidatorRegistryLimit: Sync

impl<T> UnwindSafe for PersistedBeaconChain<T> where
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerHistoricalVector: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerSlashingsVector: UnwindSafe,
    <T as BeaconChainTypes>::EthSpec: EthSpec,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::HistoricalRootsLimit: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::JustificationBitsLength: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttestations: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttesterSlashings: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxDeposits: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxPendingAttestations: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxProposerSlashings: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxTransfers: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxValidatorsPerCommittee: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxVoluntaryExits: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ShardCount: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerEth1VotingPeriod: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerHistoricalRoot: UnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ValidatorRegistryLimit: UnwindSafe

impl<T> RefUnwindSafe for PersistedBeaconChain<T> where
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerHistoricalVector: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::EpochsPerSlashingsVector: RefUnwindSafe,
    <T as BeaconChainTypes>::EthSpec: EthSpec,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::HistoricalRootsLimit: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::JustificationBitsLength: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttestations: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxAttesterSlashings: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxDeposits: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxPendingAttestations: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxProposerSlashings: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxTransfers: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxValidatorsPerCommittee: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::MaxVoluntaryExits: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ShardCount: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerEth1VotingPeriod: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::SlotsPerHistoricalRoot: RefUnwindSafe,
    <<T as BeaconChainTypes>::EthSpec as EthSpec>::ValidatorRegistryLimit: 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