pub struct RecoveryOutcome {
pub current_closure: Option<String>,
pub replay_from: Option<u64>,
pub heartbeat_sent_at: DateTime<Utc>,
pub bootstrap_rollouts: Vec<HostRolloutSnapshot>,
}Expand description
Outcome of the boot-recovery handshake. Returned to runtime::spawn
so the caller can decide whether to feed synthesised events through
the reducer before workers start.
Fields§
§current_closure: Option<String>§replay_from: Option<u64>§heartbeat_sent_at: DateTime<Utc>§bootstrap_rollouts: Vec<HostRolloutSnapshot>LIFT #3: per-rollout snapshots from CP, populated when CP detected the agent’s reducer empty (boot-recovery heartbeat with rollout_id=None) AND CP holds non-terminal records for the host. The runtime spawn path applies each snapshot to the agent’s in-memory reducer state before workers start, restoring the cache so probe runners + advance-ticker resume work post-restart.
Trait Implementations§
Source§impl Clone for RecoveryOutcome
impl Clone for RecoveryOutcome
Source§fn clone(&self) -> RecoveryOutcome
fn clone(&self) -> RecoveryOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RecoveryOutcome
impl RefUnwindSafe for RecoveryOutcome
impl Send for RecoveryOutcome
impl Sync for RecoveryOutcome
impl Unpin for RecoveryOutcome
impl UnwindSafe for RecoveryOutcome
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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