pub trait Expire { // Required method fn get_created(&self) -> Res<Time>; // Provided method fn check_exp(&self, delta: Time) -> Res<Time> { ... } }
Checks if for the given delta the object is considered as expired.
Returns exp time with relation to the given delta.