Function start_refresh

Source
pub fn start_refresh(
    state: OpState,
    plan: Vec<TargetId>,
    op_id: u64,
) -> TransitionRes
Expand description

Start a refresh operation from Idle state.

§Arguments

  • state - Current state (must be Idle)
  • plan - List of target IDs to refresh
  • op_id - Unique operation ID

§Returns

  • Ok(TransitionResult) with new Refreshing state