pub enum RetainedHistory {
UpToDate,
Unpushed,
NoUpstream,
Detached,
}Expand description
Retained branch or commit history disclosed during unlinking.
Variants§
UpToDate
No unpushed commits were reported.
Unpushed
Local commits have yet to reach the upstream.
NoUpstream
The local branch has no configured upstream.
Detached
The worktree is detached from a local branch.
Trait Implementations§
Source§impl Clone for RetainedHistory
impl Clone for RetainedHistory
Source§impl Debug for RetainedHistory
impl Debug for RetainedHistory
impl Eq for RetainedHistory
Source§impl PartialEq for RetainedHistory
impl PartialEq for RetainedHistory
impl StructuralPartialEq for RetainedHistory
Auto Trait Implementations§
impl Forget for RetainedHistory
impl Freeze for RetainedHistory
impl Move for RetainedHistory
impl RefUnwindSafe for RetainedHistory
impl Send for RetainedHistory
impl Sync for RetainedHistory
impl Unpin for RetainedHistory
impl UnsafeUnpin for RetainedHistory
impl UnwindSafe for RetainedHistory
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