Trait lwk::ForeignPersister
source · pub trait ForeignPersister: Send + Sync {
// Required methods
fn get(&self, index: u64) -> Result<Option<Arc<Update>>, LwkError>;
fn push(&self, update: Arc<Update>) -> Result<(), LwkError>;
}
Expand description
An exported trait, useful for caller-defined persistence.