Trait ServiceData
thingvellir
pub trait ServiceData: Send + 'static { fn should_persist(&self) -> bool { ... } fn get_expires_at(&self) -> Option<&Instant> { ... } }
fn should_persist(&self) -> bool
fn get_expires_at(&self) -> Option<&Instant>
impl<T: ServiceData> ServiceData for Option<T>