Trait cached::stores::CanExpire

source ·
pub trait CanExpire {
    // Required method
    fn is_expired(&self) -> bool;
}
Expand description

The CanExpire trait defines a function for implementations to determine if the value has expired.

Required Methods§

source

fn is_expired(&self) -> bool

is_expired returns whether the value has expired.

Implementors§