pub struct ErasureCompletion {
pub user: UserId,
pub completed_tick: Tick,
pub tombstoned_rows: usize,
pub attestation: DekShredAttestation,
pub regions: Vec<RegionProgress>,
}Expand description
Completion record — one per user, accumulated as the observer runs.
The router exposes these to callers that want to emit the matching
PerRegionErasureProgress (one per regions entry) plus the terminal
UserErasureCompleted event onto the WAL (ctx.emit_event).
Fields§
§user: UserIdSubject.
completed_tick: TickTick at which the cascade finished.
tombstoned_rows: usizeRow count tombstoned.
attestation: DekShredAttestationAggregate DEK shred attestation — folded into
UserErasureCompleted.attestation_bytes.
regions: Vec<RegionProgress>Per-region progress entries (single-element Vec for single-region
backends). Each entry maps 1:1 to a PerRegionErasureProgress
event the caller emits before the terminal UserErasureCompleted
(two-phase commit).
Trait Implementations§
Source§impl Clone for ErasureCompletion
impl Clone for ErasureCompletion
Source§fn clone(&self) -> ErasureCompletion
fn clone(&self) -> ErasureCompletion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErasureCompletion
impl Debug for ErasureCompletion
Source§impl PartialEq for ErasureCompletion
impl PartialEq for ErasureCompletion
Source§fn eq(&self, other: &ErasureCompletion) -> bool
fn eq(&self, other: &ErasureCompletion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ErasureCompletion
impl StructuralPartialEq for ErasureCompletion
Auto Trait Implementations§
impl !Freeze for ErasureCompletion
impl RefUnwindSafe for ErasureCompletion
impl Send for ErasureCompletion
impl Sync for ErasureCompletion
impl Unpin for ErasureCompletion
impl UnsafeUnpin for ErasureCompletion
impl UnwindSafe for ErasureCompletion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.