Trait ExpirableStats

Source
pub trait ExpirableStats {
    // Required method
    fn last_updated(&self) -> Instant;
}
Expand description

Stats that can get out-of-date and should then get reaped.

Required Methods§

Source

fn last_updated(&self) -> Instant

The last time this bag of stats was updated (via an update coming in from a replica, presumably).

Implementors§