pub struct FuzzInjector<D: for<'a> Device<'a>, FTx: Fuzzer, FRx: Fuzzer> { /* private fields */ }
Expand description

A fuzz injector device.

A fuzz injector is a device that alters packets traversing through it according to the directions of a guided fuzzer. It is designed to support fuzzing internal state machines inside smoltcp, and is not for production use.

Implementations

Create a fuzz injector device.

Return the underlying device, consuming the fuzz injector.

Trait Implementations

Formats the value using the given formatter. Read more

Get a description of device capabilities.

Construct a token pair consisting of one receive token and one transmit token. Read more

Construct a transmit token.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.