mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 00:01:24 +01:00
7 lines
264 B
Rust
7 lines
264 B
Rust
use std::collections::HashSet;
|
|
use crate::Result;
|
|
|
|
pub trait Data {
|
|
fn get_cached_eventid_authchain(&self, shorteventid: u64) -> Result<Option<HashSet<u64>>>;
|
|
fn cache_eventid_authchain(&self, shorteventid: u64, auth_chain: &HashSet<u64>) -> Result<()>;
|
|
}
|