[][src]Trait store::test_utils::TestRandom

pub trait TestRandom {
    fn random_for_test(rng: &mut impl RngCore) -> Self;
}

Required methods

fn random_for_test(rng: &mut impl RngCore) -> Self

Loading content...

Implementations on Foreign Types

impl TestRandom for u64[src]

impl TestRandom for H160[src]

impl<N> TestRandom for Bitfield<Fixed<N>> where
    N: Clone + Unsigned
[src]

impl<N> TestRandom for Bitfield<Variable<N>> where
    N: Clone + Unsigned
[src]

impl TestRandom for [u8; 4][src]

impl TestRandom for [u8; 48][src]

impl<U> TestRandom for Vec<U> where
    U: TestRandom
[src]

impl TestRandom for [u8; 32][src]

impl TestRandom for H256[src]

impl TestRandom for [u8; 96][src]

impl TestRandom for bool[src]

impl TestRandom for usize[src]

impl TestRandom for u32[src]

Loading content...

Implementors

impl TestRandom for AttestationData[src]

impl TestRandom for AttestationDataAndCustodyBit[src]

impl TestRandom for BeaconBlockHeader[src]

impl TestRandom for Checkpoint[src]

impl TestRandom for Crosslink[src]

impl TestRandom for Deposit[src]

impl TestRandom for DepositData[src]

impl TestRandom for Eth1Data[src]

impl TestRandom for Fork[src]

impl TestRandom for ProposerSlashing[src]

impl TestRandom for Epoch[src]

impl TestRandom for Slot[src]

impl TestRandom for SlotHeight[src]

impl TestRandom for AggregateSignature[src]

impl TestRandom for PublicKey[src]

impl TestRandom for PublicKeyBytes[src]

impl TestRandom for SecretKey[src]

impl TestRandom for Signature[src]

impl TestRandom for SignatureBytes[src]

impl TestRandom for Transfer[src]

impl TestRandom for Validator[src]

impl TestRandom for VoluntaryExit[src]

impl<T> TestRandom for Attestation<T> where
    T: EthSpec
[src]

impl<T> TestRandom for AttesterSlashing<T> where
    T: EthSpec
[src]

impl<T> TestRandom for BeaconBlock<T> where
    T: EthSpec
[src]

impl<T> TestRandom for BeaconBlockBody<T> where
    T: EthSpec
[src]

impl<T> TestRandom for BeaconState<T> where
    T: EthSpec
[src]

impl<T> TestRandom for CompactCommittee<T> where
    T: EthSpec
[src]

impl<T> TestRandom for HistoricalBatch<T> where
    T: EthSpec
[src]

impl<T> TestRandom for IndexedAttestation<T> where
    T: EthSpec
[src]

impl<T> TestRandom for PendingAttestation<T> where
    T: EthSpec
[src]

impl<T, N> TestRandom for FixedVector<T, N> where
    N: Unsigned,
    T: TestRandom + Default
[src]

impl<T, N> TestRandom for VariableList<T, N> where
    N: Unsigned,
    T: TestRandom
[src]

Loading content...