[][src]Crate rtss

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

RtssWriter

A writer that prefixes all lines with relative timestamps.

Traits

DurationExt

Functions

line_timing_copy

Copy each line from input to output, prepending the output line with elapsed time since start and since the previous line, separated by separator until EOF or IO error.

Type Definitions

DurationFormatter