pub enum RescanModuleActionKind {
Restart,
Reload,
Start,
Stop,
Unknown(String),
}Expand description
What applying a candidate would do to one module.
Variants§
Restart
The launch inputs change and the module is running or due to run, so it needs a restart to use them. A rescan only stages the new inputs; it does not restart the module itself.
Reload
No restart is needed: a health policy edit takes effect at once, and a module that stays disabled uses its changed launch inputs when it next starts.
Start
The module is enabled or added enabled, so the rescan starts it.
Stop
The module is disabled or removed while enabled, so the rescan stops it.
Unknown(String)
Trait Implementations§
Source§impl Clone for RescanModuleActionKind
impl Clone for RescanModuleActionKind
Source§impl Debug for RescanModuleActionKind
impl Debug for RescanModuleActionKind
Source§impl<'de> Deserialize<'de> for RescanModuleActionKind
impl<'de> Deserialize<'de> for RescanModuleActionKind
Source§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
impl Eq for RescanModuleActionKind
Source§impl PartialEq for RescanModuleActionKind
impl PartialEq for RescanModuleActionKind
Source§impl Serialize for RescanModuleActionKind
impl Serialize for RescanModuleActionKind
impl StructuralPartialEq for RescanModuleActionKind
Auto Trait Implementations§
impl Forget for RescanModuleActionKind
impl Freeze for RescanModuleActionKind
impl RefUnwindSafe for RescanModuleActionKind
impl Send for RescanModuleActionKind
impl Sync for RescanModuleActionKind
impl Unpin for RescanModuleActionKind
impl UnsafeUnpin for RescanModuleActionKind
impl UnwindSafe for RescanModuleActionKind
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