pub enum GitManagerSourceSelection {
None,
Unambiguous {
root: PathBuf,
},
Ambiguous {
worktree_count: usize,
},
}Expand description
Bounded manager-side source selection derived only from active structural entries.
Variants§
None
No active checked-out source root was structurally discoverable.
Unambiguous
Exactly one active source root can be selected without guessing.
Ambiguous
Multiple active roots exist, so an adapter must require deliberate selection.
Trait Implementations§
Source§impl Clone for GitManagerSourceSelection
impl Clone for GitManagerSourceSelection
Source§fn clone(&self) -> GitManagerSourceSelection
fn clone(&self) -> GitManagerSourceSelection
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 GitManagerSourceSelection
impl Debug for GitManagerSourceSelection
impl Eq for GitManagerSourceSelection
Source§impl PartialEq for GitManagerSourceSelection
impl PartialEq for GitManagerSourceSelection
Source§fn eq(&self, other: &GitManagerSourceSelection) -> bool
fn eq(&self, other: &GitManagerSourceSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitManagerSourceSelection
Auto Trait Implementations§
impl Freeze for GitManagerSourceSelection
impl RefUnwindSafe for GitManagerSourceSelection
impl Send for GitManagerSourceSelection
impl Sync for GitManagerSourceSelection
impl Unpin for GitManagerSourceSelection
impl UnsafeUnpin for GitManagerSourceSelection
impl UnwindSafe for GitManagerSourceSelection
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.