Crate arbitrary[][src]

The Arbitrary trait crate

This trait provides an Arbitrary trait to produce well-typed data from byte buffers. The crate additionally provides different flavors of byte buffers with useful semantics.

Structs

FiniteBuffer

A source of unstructured data with a finite size

RingBuffer

A source of unstructured data which returns the same data over and over again

Enums

BufferError

An enumeration of buffer creation errors

Traits

Arbitrary

A trait to generate and shrink arbitrary types from an Unstructured pool of bytes.

Unstructured

Unstructured data from which structured Arbitrary data shall be generated.