pub enum RolloutEffect {
RecordRolloutTransition {
rollout_id: RolloutId,
from: RolloutState,
to: RolloutState,
at: DateTime<Utc>,
},
UpdateCurrentWave {
rollout_id: RolloutId,
wave: u32,
},
InsertQuarantineFromRollout {
channel: ChannelId,
closure_hash: ClosureHash,
},
SchedulePruning {
rollout_id: RolloutId,
delay_seconds: i64,
},
}Variants§
RecordRolloutTransition
Persist a rollout-level state transition. Drives the
rollouts.state column update; the applier co-writes the
corresponding event_log row (kind = 'rollout_event').
UpdateCurrentWave
Monotonic wave-index advance on the rollouts.current_wave column.
InsertQuarantineFromRollout
A rollback completed; insert a row into quarantined_closures
referencing the triggering event_log seq (NULL-able under v0.2.1
baseline; RFC-0008 §6.1 item 3).
SchedulePruning
A rollout entered a terminal-set state (Terminal | Superseded |
Failed | Reverted); schedule its retention-expiry event for the
configured delay. The applier queues a delayed RetentionExpired
re-entry into the reducer.
Implementations§
Trait Implementations§
Source§impl Clone for RolloutEffect
impl Clone for RolloutEffect
Source§fn clone(&self) -> RolloutEffect
fn clone(&self) -> RolloutEffect
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 moreSource§impl Debug for RolloutEffect
impl Debug for RolloutEffect
Source§impl<'de> Deserialize<'de> for RolloutEffect
impl<'de> Deserialize<'de> for RolloutEffect
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
Source§impl PartialEq for RolloutEffect
impl PartialEq for RolloutEffect
Source§impl Serialize for RolloutEffect
impl Serialize for RolloutEffect
impl Eq for RolloutEffect
impl StructuralPartialEq for RolloutEffect
Auto Trait Implementations§
impl Freeze for RolloutEffect
impl RefUnwindSafe for RolloutEffect
impl Send for RolloutEffect
impl Sync for RolloutEffect
impl Unpin for RolloutEffect
impl UnwindSafe for RolloutEffect
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more