Enum git2::WorktreeLockStatus
source · pub enum WorktreeLockStatus {
Unlocked,
Locked(Option<String>),
}
Expand description
Lock Status of a worktree
Variants§
Trait Implementations§
source§impl Debug for WorktreeLockStatus
impl Debug for WorktreeLockStatus
source§impl PartialEq for WorktreeLockStatus
impl PartialEq for WorktreeLockStatus
source§fn 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 ==
.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§
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