[][src]Trait types::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 bool[src]

impl TestRandom for u64[src]

impl TestRandom for u32[src]

impl TestRandom for usize[src]

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

impl TestRandom for [u8; 4][src]

impl TestRandom for [u8; 32][src]

impl TestRandom for [u8; 48][src]

impl TestRandom for [u8; 96][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 TestRandom for Address[src]

impl TestRandom for Hash256[src]

impl<N: Unsigned + Clone> TestRandom for BitList<N>[src]

impl<N: Unsigned + Clone> TestRandom for BitVector<N>[src]

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

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

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

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

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

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

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

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

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

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

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

Loading content...