spike_timed_event_log.rs
rust
1pub struct SpikeStore { /* ... */ }
2
3impl SpikeStore {
4 pub fn new(config: SpikeStoreConfig) -> Self;
5 pub fn from_preset(preset: SpikePreset) -> Self;
6
7 // Tag registration
8 pub fn register_tags(&mut self, tags: &[(String, String)]) -> u64;
9
10 // Ingestion
11 pub fn ingest_presence(&mut self, tag_hash: u64, timestamp_ns: u64) -> Result<(), SpikeError>;
12
13 // Statistics
14 pub fn stats(&self) -> &StoreStats;
15}
16