Expand description
rtss - Relative TimeStamps for Stuff.
An io::Write implementation which prefixes each line with a timestamp since
a start time, and the duration since the previous line, if any.
Also a couple of utility functions for formatting Duration, and copying from
one IO to another.
Structs§
- Rtss
Writer - A writer that prefixes all lines with relative timestamps.
Traits§
Functions§
- line_
timing_ copy - Copy each line from
inputtooutput, prepending the output line with elapsed time sincestartand since the previous line, separated byseparatoruntil EOF or IO error.