pub struct Daemon {
pub pause_group_on_failure: bool,
pub pause_all_on_failure: bool,
pub callback: Option<String>,
pub callback_log_lines: usize,
pub groups: Option<HashMap<String, i64>>,
}Expand description
All settings which are used by the daemon
Fields
pause_group_on_failure: boolWhether a group should be paused as soon as a single task fails
pause_all_on_failure: boolWhether the daemon (and all groups) should be paused as soon as a single task fails
callback: Option<String>The callback that’s called whenever a task finishes.
callback_log_lines: usizeThe amount of log lines from stdout/stderr that are passed to the callback command.
groups: Option<HashMap<String, i64>>👎 Deprecated since 1.1.0:
The configuration for groups is now stored in the state.
The legacy configuration for groups
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Daemon
impl UnwindSafe for Daemon
Blanket Implementations
Mutably borrows from an owned value. Read more