pub enum RunAction {
MissingConfig,
RootWorktreeSkipped,
WouldRunInitScript {
path: PathBuf,
},
RanInitScript {
path: PathBuf,
},
ConfigDetected {
path: PathBuf,
},
ConfigApplied {
path: PathBuf,
},
}Expand description
Completed action for a treeboot run invocation.
Variants§
MissingConfig
No config or executable init script was detected.
RootWorktreeSkipped
The run started from the root checkout and had no work to do.
WouldRunInitScript
An init script would run in dry-run mode.
RanInitScript
An init script was executed.
ConfigDetected
A declarative config was detected.
ConfigApplied
Declarative config file operations were applied.
Trait Implementations§
impl Eq for RunAction
impl StructuralPartialEq for RunAction
Auto Trait Implementations§
impl Freeze for RunAction
impl RefUnwindSafe for RunAction
impl Send for RunAction
impl Sync for RunAction
impl Unpin for RunAction
impl UnsafeUnpin for RunAction
impl UnwindSafe for RunAction
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