Enum git2::WorktreeLockStatus
source · [−]Expand description
Lock Status of a worktree
Variants
Unlocked
Worktree is Unlocked
Locked(Option<String>)
Worktree is locked with the optional message
Trait Implementations
sourceimpl Debug for WorktreeLockStatus
impl Debug for WorktreeLockStatus
sourceimpl PartialEq<WorktreeLockStatus> for WorktreeLockStatus
impl PartialEq<WorktreeLockStatus> for WorktreeLockStatus
sourcefn eq(&self, other: &WorktreeLockStatus) -> bool
fn eq(&self, other: &WorktreeLockStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WorktreeLockStatus) -> bool
fn ne(&self, other: &WorktreeLockStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for WorktreeLockStatus
Auto Trait Implementations
impl RefUnwindSafe for WorktreeLockStatus
impl Send for WorktreeLockStatus
impl Sync for WorktreeLockStatus
impl Unpin for WorktreeLockStatus
impl UnwindSafe for WorktreeLockStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more