Skip to main content

RecoveryReader

Trait RecoveryReader 

Source
pub trait RecoveryReader<C>:
    Debug
    + Send
    + Sync {
    // Required method
    fn latest_checkpoint(&self) -> Option<RecoveryCheckpoint<C>>;
}
Expand description

Reads the latest checkpoint from durable storage. Separated from DurabilityWriter so that write-only sinks (e.g. append-only audit log) don’t need to implement recovery, and read-only sinks don’t need to implement writes.

Required Methods§

Implementors§