hooked_config/config/
exit_action.rs

1//! Action to take on hook exit.
2
3use serde::{Deserialize, Serialize};
4
5/// Action to take on hook exit.
6#[derive(Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "snake_case")]
8pub enum ExitAction {
9  Continue,
10  Stop,
11}
12
13impl Default for ExitAction {
14  fn default() -> Self {
15    Self::Stop
16  }
17}