Skip to main content

FreshDurationByStatusFn

Type Alias FreshDurationByStatusFn 

Source
pub type FreshDurationByStatusFn = fn(StatusCode) -> Option<Duration>;
Expand description

The function to generate TTL from the given StatusCode.