pub enum CheckAction {
MissingConfig,
RootWorktreeSkipped,
InitScript {
path: PathBuf,
},
Config {
path: PathBuf,
},
}Expand description
Completed action for a treeboot check invocation.
Variants§
MissingConfig
No config or executable init script was detected.
RootWorktreeSkipped
The check started from the root checkout and had no work to validate.
InitScript
An init script would take precedence.
Config
Declarative config was validated.
Trait Implementations§
Source§impl Clone for CheckAction
impl Clone for CheckAction
Source§fn clone(&self) -> CheckAction
fn clone(&self) -> CheckAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckAction
impl Debug for CheckAction
impl Eq for CheckAction
Source§impl PartialEq for CheckAction
impl PartialEq for CheckAction
Source§fn eq(&self, other: &CheckAction) -> bool
fn eq(&self, other: &CheckAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CheckAction
impl Serialize for CheckAction
impl StructuralPartialEq for CheckAction
Auto Trait Implementations§
impl Freeze for CheckAction
impl RefUnwindSafe for CheckAction
impl Send for CheckAction
impl Sync for CheckAction
impl Unpin for CheckAction
impl UnsafeUnpin for CheckAction
impl UnwindSafe for CheckAction
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