~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/vuln-notif

0
0
main
14 lines · 312 B Raw History
//! Actions sent from the orchestrator into the mirror runtime.

use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
#[serde(
    tag = "action_type",
    content = "action_data",
    rename_all = "snake_case"
)]
pub enum Action {
    Tick,
    Shutdown,
}