pub enum HookInstallResult {
Installed,
Updated,
UpToDate,
}Expand description
Result of installing hook lines into a file.
Variants§
Installed
Hook was freshly installed (no retro marker existed before).
Updated
Hook was updated (old retro lines replaced with new ones).
UpToDate
Hook already had the exact same lines — no change needed.
Trait Implementations§
Source§impl Debug for HookInstallResult
impl Debug for HookInstallResult
Source§impl PartialEq for HookInstallResult
impl PartialEq for HookInstallResult
impl StructuralPartialEq for HookInstallResult
Auto Trait Implementations§
impl Freeze for HookInstallResult
impl RefUnwindSafe for HookInstallResult
impl Send for HookInstallResult
impl Sync for HookInstallResult
impl Unpin for HookInstallResult
impl UnsafeUnpin for HookInstallResult
impl UnwindSafe for HookInstallResult
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