Struct libafl::utils::RomuTrioRand[][src]

pub struct RomuTrioRand { /* fields omitted */ }

Extremely quick rand implementation see https://arxiv.org/pdf/2002.11331.pdf

Implementations

impl RomuTrioRand[src]

pub fn with_seed(seed: u64) -> Self[src]

Trait Implementations

impl Clone for RomuTrioRand[src]

impl Copy for RomuTrioRand[src]

impl Debug for RomuTrioRand[src]

impl Default for RomuTrioRand[src]

A default RNG will usually produce a nondeterministic stream of random numbers. As we do not have any way to get random seeds for no_std, they have to be reproducible there. Use [RandomSeed::with_seed] to generate a reproducible RNG.

impl<'de> Deserialize<'de> for RomuTrioRand[src]

impl Rand for RomuTrioRand[src]

impl RandomSeed for RomuTrioRand[src]

fn new() -> Self[src]

Creates a rand instance, pre-seeded with the current time in nanoseconds.

impl Serialize for RomuTrioRand[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.