pub type FreshDurationByStatusFn = fn(StatusCode) -> Option<Duration>;Expand description
The function to generate TTL from the given StatusCode.
pub type FreshDurationByStatusFn = fn(StatusCode) -> Option<Duration>;The function to generate TTL from the given StatusCode.