refactor(#2591): derive PartialEq/Eq/Serialize on TransientKind
This commit is contained in:
parent
456847eaa1
commit
50172d1716
1 changed files with 2 additions and 1 deletions
|
|
@ -369,7 +369,8 @@ impl Drop for MetaUpdateGuard {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, serde::Serialize)]
|
||||||
|
#[serde(rename_all = "snake_case")]
|
||||||
pub enum TransientKind {
|
pub enum TransientKind {
|
||||||
/// `lifecycle::spawn` is running (nixos-container create + update + start).
|
/// `lifecycle::spawn` is running (nixos-container create + update + start).
|
||||||
Spawning,
|
Spawning,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue