[][src]Module nyx::iter

Adapter functions for iterators.

The functions maps the input iterator and extends it with the ability to report their throughput every second to the specified receiver.

Functions

call

Creates an iterator that yields the bytes by calling the provided function.

send

Creates an iterator that yields the bytes by sending it through the provided Sender.

stderr

Creates an iterator that yields the bytes by printing it to stderr.

stdout

Creates an iterator that yields the bytes by printing it to stdout.