pub enum InstalledState {
Present,
Absent,
Partial,
Unknown,
}Expand description
How much of amont is in a hooks directory.
Variants§
Present
All six shims.
Absent
None, and every hook could be read.
Partial
Unknown
A hook could not be read, or git would not answer: never “absent”.
Implementations§
Trait Implementations§
Source§impl Clone for InstalledState
impl Clone for InstalledState
impl Copy for InstalledState
Source§impl Debug for InstalledState
impl Debug for InstalledState
impl Eq for InstalledState
Source§impl PartialEq for InstalledState
impl PartialEq for InstalledState
impl StructuralPartialEq for InstalledState
Auto Trait Implementations§
impl Forget for InstalledState
impl Freeze for InstalledState
impl RefUnwindSafe for InstalledState
impl Send for InstalledState
impl Sync for InstalledState
impl Unpin for InstalledState
impl UnsafeUnpin for InstalledState
impl UnwindSafe for InstalledState
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