pub struct DeleteBatch {
pub removes: Vec<Tag>,
pub adds: Vec<RawEdbEntry>,
}Expand description
Atomic update set produced by a delete operation.
The server must apply removes and adds in a single transaction.
Partial application would leave the index in an inconsistent state.
Fields§
§removes: Vec<Tag>Old-epoch tags to erase from the EDB.
adds: Vec<RawEdbEntry>New-epoch ciphertexts to insert.
Auto Trait Implementations§
impl Freeze for DeleteBatch
impl RefUnwindSafe for DeleteBatch
impl Send for DeleteBatch
impl Sync for DeleteBatch
impl Unpin for DeleteBatch
impl UnsafeUnpin for DeleteBatch
impl UnwindSafe for DeleteBatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more