pub trait ActiveGenerationSource: Send + Sync {
// Required method
fn active_generation(&self) -> Result<Option<ActiveGeneration>>;
}Expand description
Source of truth for the active #atproto generation.
Required Methods§
Sourcefn active_generation(&self) -> Result<Option<ActiveGeneration>>
fn active_generation(&self) -> Result<Option<ActiveGeneration>>
Ok(None) when no sealed generation is observable yet; Err is
fail-closed (corrupt/stale/rolled-back/unverifiable head).