mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-29 18:14:35 +02:00
8 lines
257 B
Rust
8 lines
257 B
Rust
use std::sync::Arc;
|
|
|
|
use crate::Result;
|
|
|
|
pub trait Data: Send + Sync {
|
|
fn get_cached_eventid_authchain(&self, shorteventid: &[u64]) -> Result<Option<Arc<[u64]>>>;
|
|
fn cache_auth_chain(&self, shorteventid: Vec<u64>, auth_chain: Arc<[u64]>) -> Result<()>;
|
|
}
|