mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
66bb88a03a
conduwuit is not a library Signed-off-by: strawberry <strawberry@puppygock.gay>
9 lines
264 B
Rust
9 lines
264 B
Rust
use std::sync::Arc;
|
|
|
|
use crate::Result;
|
|
|
|
pub(crate) 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<()>;
|
|
}
|