mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-08-03 21:58:32 +00:00
7 lines
256 B
Rust
7 lines
256 B
Rust
use std::collections::HashSet;
|
|
use crate::Result;
|
|
|
|
pub trait Data {
|
|
fn get_cached_eventid_authchain(&self, shorteventid: u64) -> Result<HashSet<u64>>;
|
|
fn cache_eventid_authchain(&self, shorteventid: u64, auth_chain: &HashSet<u64>) -> Result<()>;
|
|
}
|