pub fn partial_op_strategy(
    error_strategy: impl Strategy<Value = Option<ErrorKind>>,
    limit_bytes: usize
) -> impl Strategy<Value = PartialOp>
Available on crate feature proptest1 only.
Expand description

Returns a strategy that generates PartialOp instances given a way to generate errors.

To not generate any errors and only limit reads, pass in Just(None) as the error strategy.