Files
continuwuity/src/service/rooms/auth_chain/data.rs
T

7 lines
224 B
Rust
Raw Normal View History

2022-09-06 23:15:09 +02:00
use std::collections::HashSet;
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>>;
}