#[derive(Debug, Clone)]
pub struct AcquireLockCommand {
pub cmd_hash: String,
pub pid: u32,
pub output_path: Option<String>,
}
#[derive(Debug, Clone)]
pub struct ReleaseLockCommand {
pub cmd_hash: String,
pub pid: u32,
}
#[derive(Debug, Clone)]
pub struct RecordSuccessCommand {
pub target: String,
}
#[derive(Debug, Clone)]
pub struct RecordFailureCommand {
pub target: String,
}
#[derive(Debug, Clone)]
pub struct SetHealthCommand {
pub component: String,
pub score: f32,
}
#[derive(Debug, Clone)]
pub struct RecordProviderSuccessCommand {
pub provider: String,
pub latency_ms: u32,
}
#[derive(Debug, Clone)]
pub struct RecordProviderFailureCommand {
pub provider: String,
}