pub enum HookDetail {
Ran {
command: String,
ok: bool,
log: Utf8PathBuf,
},
WouldRun(String),
SkippedOwnership,
NoHook,
SkippedUnresolved {
command: String,
placeholder: String,
},
}Variants§
Ran
WouldRun(String)
Would have run, but this was a dry run.
SkippedOwnership
project or user ownership: shared beyond this instance.
NoHook
No [cleanup] command defined.
SkippedUnresolved
The hook’s command still had an unresolved {{...}}, so running it
would have passed a literal placeholder to a destructive command.
Trait Implementations§
Source§impl Clone for HookDetail
impl Clone for HookDetail
Source§fn clone(&self) -> HookDetail
fn clone(&self) -> HookDetail
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 HookDetail
impl Debug for HookDetail
impl Eq for HookDetail
Source§impl PartialEq for HookDetail
impl PartialEq for HookDetail
impl StructuralPartialEq for HookDetail
Auto Trait Implementations§
impl Freeze for HookDetail
impl RefUnwindSafe for HookDetail
impl Send for HookDetail
impl Sync for HookDetail
impl Unpin for HookDetail
impl UnsafeUnpin for HookDetail
impl UnwindSafe for HookDetail
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