Trait CuMsgMetadataTrait

pub trait CuMsgMetadataTrait {
    // Required methods
    fn process_time(&self) -> PartialCuTimeRange;
    fn tov(&self) -> Tov;
    fn status_txt(&self) -> &CuCompactString;
}
Expand description

Key metadata piece attached to every message in Copper.

Required Methods§

fn process_time(&self) -> PartialCuTimeRange

The time range used for the processing of this message

fn tov(&self) -> Tov

The time of validity ie. matching time in the real world of this measure or computation derived from those measures. It can be undefined (None), one measure point or a range of measures (TimeRange).

fn status_txt(&self) -> &CuCompactString

Small status text for user UI to get the realtime state of task (max 24 chrs)

Implementors§