pub struct TruncateState { /* private fields */ }Expand description
Mutable escalation state carried across ticks by the caller (ADR-091 Plank 2).
Kept separate from CheckpointConfig because it is state, not
configuration: last_attempt and consecutive_failures mutate every tick,
while CheckpointConfig is parsed once and held immutable for the life of
the task.
Trait Implementations§
Source§impl Debug for TruncateState
impl Debug for TruncateState
Source§impl Default for TruncateState
impl Default for TruncateState
Source§fn default() -> TruncateState
fn default() -> TruncateState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TruncateState
impl RefUnwindSafe for TruncateState
impl Send for TruncateState
impl Sync for TruncateState
impl Unpin for TruncateState
impl UnsafeUnpin for TruncateState
impl UnwindSafe for TruncateState
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