pub enum Strategy {
Uniform,
StructuredJunk,
MutatedValid,
OversizedClaim,
NegativeLengths,
}Expand description
Fuzz strategy. Each picks a different distribution of byte streams.
Variants§
Uniform
Pure uniform random bytes.
StructuredJunk
First byte is a RESP type marker, then junk.
MutatedValid
A valid SET key value with one byte flipped.
OversizedClaim
*<huge>\r\n claim header, then short body.
NegativeLengths
$-99\r\n or *-99\r\n — negative bulk/array lengths.
Implementations§
Trait Implementations§
impl Copy for Strategy
impl Eq for Strategy
impl StructuralPartialEq for Strategy
Auto Trait Implementations§
impl Freeze for Strategy
impl RefUnwindSafe for Strategy
impl Send for Strategy
impl Sync for Strategy
impl Unpin for Strategy
impl UnsafeUnpin for Strategy
impl UnwindSafe for Strategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more