pub struct CheckpointPruneReport {
pub run_id: RunId,
pub pruned_count: usize,
pub retained_count: usize,
pub preserved_terminal_checkpoint: Option<String>,
}Expand description
Holds checkpoint prune report application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§run_id: RunIdRun identifier used for lineage, filtering, replay, and dedupe.
pruned_count: usizeCount of pruned items observed or included in this record.
retained_count: usizeCount of retained items observed or included in this record.
preserved_terminal_checkpoint: Option<String>Terminal checkpoint retained even when pruning older checkpoint accelerators. Use it to keep terminal replay shortcuts available without treating checkpoints as durable truth.
Trait Implementations§
Source§impl Clone for CheckpointPruneReport
impl Clone for CheckpointPruneReport
Source§fn clone(&self) -> CheckpointPruneReport
fn clone(&self) -> CheckpointPruneReport
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 CheckpointPruneReport
impl Debug for CheckpointPruneReport
Source§impl<'de> Deserialize<'de> for CheckpointPruneReport
impl<'de> Deserialize<'de> for CheckpointPruneReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CheckpointPruneReport
Source§impl PartialEq for CheckpointPruneReport
impl PartialEq for CheckpointPruneReport
Source§fn eq(&self, other: &CheckpointPruneReport) -> bool
fn eq(&self, other: &CheckpointPruneReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CheckpointPruneReport
impl Serialize for CheckpointPruneReport
impl StructuralPartialEq for CheckpointPruneReport
Auto Trait Implementations§
impl Freeze for CheckpointPruneReport
impl RefUnwindSafe for CheckpointPruneReport
impl Send for CheckpointPruneReport
impl Sync for CheckpointPruneReport
impl Unpin for CheckpointPruneReport
impl UnsafeUnpin for CheckpointPruneReport
impl UnwindSafe for CheckpointPruneReport
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