pub enum WriteOp {
Put {
key: String,
value: Vec<u8>,
},
Delete {
key: String,
},
}Expand description
The storage seam, muniment’s (2026-07-12).
Eidetic used to declare its own Store trait — get/put/delete/list over
&str -> Vec<u8>, async, one method per operation. That was
muniment::Backend written twice: eidetic poured its own floor before
muniment existed. It now consumes the real one, and Store remains as an
alias so every layer above (manifests, schemas, sealing, engrams) reads
unchanged.
What the swap buys beyond deleting a duplicate: backends take &self,
delete/list are required rather than Err-by-default, muniment’s
scan (ordered range) and apply (atomic batch) come along, and every
muniment backend (memory, redb) is now an eidetic store — while
eidetic-fjall becomes a backend the whole family can reuse.
A single write in an apply batch.
Variants§
Put
Write value at key, overwriting any previous value.
Delete
Remove key. Absent keys are not an error.