pub trait TTTRFile {
    // Required methods
    fn time_resolution(&self) -> Result<f64, Error>;
    fn record_type(&self) -> Result<RecordType, Error>;
}
Expand description

The TTTRFile trait ensures that all files we support are aware of the time_resolution and the what type of records they contain.

TTTR files don’t usually represent time in seconds but rather as a multiple of them that matches the equipment time resolution. This makes it possible to shave a few bits per record.

Required Methods§

Implementors§