pub struct Destroyed {
pub statements: Vec<StatementId>,
pub blobs: Vec<Hash>,
pub changes: bool,
pub kept: Vec<(ChangeId, Kept)>,
pub restored: Restores,
}Expand description
What purges destroyed: the record keys of secret statements, the keys of sealed blobs, and whether changes lost their keys and payloads; with what a replica that waits keeps of it, and what changes that restore brought back.
Fields§
§statements: Vec<StatementId>The secret statements whose record keys were destroyed.
blobs: Vec<Hash>The sealed hashes of the blobs whose keys were destroyed.
changes: boolWhether changes lost their keys and payloads.
kept: Vec<(ChangeId, Kept)>What the purges destroyed, as it was, by the purge that destroyed each part, if the
log keeps it (Log::keep_destroyed).
restored: RestoresWhat is no longer purged, as a change that restores it came to count: the changes that wait for their payloads and keys again, and the statements and blobs that wait for their wrapped keys.
Implementations§
Trait Implementations§
impl Eq for Destroyed
impl StructuralPartialEq for Destroyed
Auto Trait Implementations§
impl Forget for Destroyed
impl Freeze for Destroyed
impl Move for Destroyed
impl RefUnwindSafe for Destroyed
impl Send for Destroyed
impl Sync for Destroyed
impl Unpin for Destroyed
impl UnsafeUnpin for Destroyed
impl UnwindSafe for Destroyed
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