pub enum RootPinOutcome {
PinnedAndStaged,
Staged,
AlreadyTracked,
}Expand description
What pin_root_in_repo did, so the caller can report it accurately.
Variants§
PinnedAndStaged
The root was newly pinned and the pin file staged.
Staged
The root was already pinned but the pin file was untracked; it is now staged.
AlreadyTracked
The root was already pinned and the pin file already tracked. Nothing to do.
Trait Implementations§
Source§impl Clone for RootPinOutcome
impl Clone for RootPinOutcome
Source§fn clone(&self) -> RootPinOutcome
fn clone(&self) -> RootPinOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RootPinOutcome
impl Debug for RootPinOutcome
impl Eq for RootPinOutcome
Source§impl PartialEq for RootPinOutcome
impl PartialEq for RootPinOutcome
impl StructuralPartialEq for RootPinOutcome
Auto Trait Implementations§
impl Freeze for RootPinOutcome
impl RefUnwindSafe for RootPinOutcome
impl Send for RootPinOutcome
impl Sync for RootPinOutcome
impl Unpin for RootPinOutcome
impl UnsafeUnpin for RootPinOutcome
impl UnwindSafe for RootPinOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.