Expired

Trait Expired 

Source
pub trait Expired {
    // Required method
    fn is_expired(&self) -> bool;
}
Expand description

Trait for types that can expire

Required Methods§

Source

fn is_expired(&self) -> bool

Checks if the data has expired

§Returns
  • true - The data has expired and should be removed
  • false - The data is still valid

Implementors§