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
input
tooutput
, prepending the output line with elapsed time sincestart
and since the previous line, separated byseparator
until EOF or IO error.