Skip to main content

RandomFn

Type Alias RandomFn 

Source
pub type RandomFn = Arc<dyn Fn() -> u64 + Send + Sync>;
Expand description

The injected random source: called once per live RunCtx::random observation, returning 64 raw bits.

Aliased Typeยง

pub struct RandomFn { /* private fields */ }