[−][src]Module nyx::write
Adapter functions for writers.
The functions returns a new writer that extends the write
and write_vectored
implementations to be able to report their throughput every second.
If any other methods on the writer has been specialized to not use one of the above methods,
this writer will not report anything.
Structs
Writer | A writer that extends the |
Functions
call | Creates a writer that yields the bytes by calling the provided function. |
send | Creates a writer that yields the bytes by sending it through the provided |
stderr | Creates a writer that yields the bytes by printing it to |
stdout | Creates a writer that yields the bytes by printing it to |