pub trait CheckpointDirtyMarks: GraphExport {
// Required methods
fn take_checkpoint_dirty(&self) -> CheckpointDirty;
fn merge_checkpoint_dirty(&self, dirty: &CheckpointDirty);
}Expand description
The checkpoint-dirty marks a graph with live write state carries: a
checkpoint’s cut takes them, a failed dump hands them back. Separate
from GraphExport, so a read-only view over a frozen cut — the
storage crate’s checkpoint cut — can neither clear nor restore the
live marks.
Required Methods§
Sourcefn take_checkpoint_dirty(&self) -> CheckpointDirty
fn take_checkpoint_dirty(&self) -> CheckpointDirty
Hand over the ids changed since the previous take and clear them: the checkpoint’s cut takes the marks it is about to dump.
Sourcefn merge_checkpoint_dirty(&self, dirty: &CheckpointDirty)
fn merge_checkpoint_dirty(&self, dirty: &CheckpointDirty)
Hand back a failed dump’s marks, so the next checkpoint covers them.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".