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§
Sourcefn last_updated(&self) -> Instant
fn last_updated(&self) -> Instant
The last time this bag of stats was updated (via an update coming in from a replica, presumably).