pub enum Effect {
Break(UnitId),
Remove(UnitId),
TouchCore,
ReplaceProbe(UnitId, ProbeDef),
DropProbe(UnitId, String),
NeedsReboot,
Declare {
service: String,
file: String,
},
Package {
name: String,
version: String,
insecure: bool,
},
}Variants§
Break(UnitId)
The unit fails to start in generations where the rule holds.
Remove(UnitId)
The unit is not part of such generations (disabled).
TouchCore
The evaluated unit files for planariad change (touches_core).
ReplaceProbe(UnitId, ProbeDef)
The probe definition on a unit changes (a manifest edit).
DropProbe(UnitId, String)
The probe with this id is gone from the unit (removed, not weakened).
NeedsReboot
Kernel/boot change: needs a reboot to be confirmed.
Declare
A system service the generation declares (watched or not), defined in
file (§15 provenance). gym-bad-payload is the catalog’s payload:
it takes gym-web’s port PAYLOAD_DELAY after it comes up.
Package
The package at this version, with or without nixpkgs’
knownVulnerabilities (§12e).
Trait Implementations§
impl Eq for Effect
impl StructuralPartialEq for Effect
Auto Trait Implementations§
impl Freeze for Effect
impl RefUnwindSafe for Effect
impl Send for Effect
impl Sync for Effect
impl Unpin for Effect
impl UnsafeUnpin for Effect
impl UnwindSafe for Effect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more