Skip to main content

Module arbitrary

Module arbitrary 

Source
Expand description

Arbitrary data generation for serialization proptests

Functionsยง

datetime_full
Returns a strategy that produces an arbitrary chrono::DateTime<Utc>, based on the full valid range of the type.
datetime_u32
Returns a strategy that produces an arbitrary time from a u32 number of seconds past the epoch.
max_allocation_is_big_enough
Calculate the serialized lengths of maximum-sized vectors of identical items.