2022-09-06 23:15:09 +02:00
|
|
|
use std::collections::HashSet;
|
|
|
|
|
|
2022-07-10 17:23:26 +02:00
|
|
|
pub trait Data {
|
|
|
|
|
fn get_cached_eventid_authchain<'a>() -> Result<HashSet<u64>>;
|
|
|
|
|
fn cache_eventid_authchain<'a>(shorteventid: u64, auth_chain: &HashSet<u64>) -> Result<HashSet<u64>>;
|
|
|
|
|
}
|