pub trait CanExpire {
fn is_expired(&self) -> bool;
}
Expand description
The CanExpire trait defines a function for implementations to determine if the value has expired.
Required Methods
fn is_expired(&self) -> bool
fn is_expired(&self) -> bool
is_expired returns whether the value has expired.