pub enum GitStructureIssueKind {
Show 13 variants
SymbolicLink,
UnsupportedPathType,
FilesystemUnavailable {
error_kind: ErrorKind,
},
PointerTooLarge {
limit_bytes: u64,
observed_bytes: u64,
},
PointerNotUtf8,
MalformedPointer,
MissingPointerTarget,
InvalidCommonDirectory,
UnsupportedSourceConfiguration,
RegistrationOutsideCommonDirectory,
MissingRegistrationPointer,
ReciprocalControlMismatch {
expected: PathBuf,
observed: PathBuf,
},
CommonDirectoryMismatch {
expected: PathBuf,
observed: PathBuf,
},
}Expand description
Closed classifications for malformed or conflicting Git structural evidence.
Variants§
SymbolicLink
A control path is a symbolic link or junction and is not followed as identity evidence.
UnsupportedPathType
A control path has the wrong filesystem type.
Control metadata could not be read for an operating-system reason.
PointerTooLarge
A bounded control file exceeded its declared byte limit.
PointerNotUtf8
A control file was not valid UTF-8.
MalformedPointer
A control file did not contain exactly one non-empty path record in its expected form.
MissingPointerTarget
A selected control pointer addressed a path that does not exist.
InvalidCommonDirectory
A candidate common directory did not have the required Git control structure.
UnsupportedSourceConfiguration
Local Git configuration can relocate or suppress the addressed source root.
RegistrationOutsideCommonDirectory
A linked administrative directory was not an immediate registered child of the common directory.
MissingRegistrationPointer
A registration is missing its required gitdir pointer.
ReciprocalControlMismatch
Reciprocal worktree control evidence pointed at a different path.
Fields
CommonDirectoryMismatch
A worktree resolved to a different common directory.
Trait Implementations§
Source§impl Clone for GitStructureIssueKind
impl Clone for GitStructureIssueKind
Source§fn clone(&self) -> GitStructureIssueKind
fn clone(&self) -> GitStructureIssueKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GitStructureIssueKind
impl Debug for GitStructureIssueKind
impl Eq for GitStructureIssueKind
Source§impl PartialEq for GitStructureIssueKind
impl PartialEq for GitStructureIssueKind
Source§fn eq(&self, other: &GitStructureIssueKind) -> bool
fn eq(&self, other: &GitStructureIssueKind) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitStructureIssueKind
Auto Trait Implementations§
impl Freeze for GitStructureIssueKind
impl RefUnwindSafe for GitStructureIssueKind
impl Send for GitStructureIssueKind
impl Sync for GitStructureIssueKind
impl Unpin for GitStructureIssueKind
impl UnsafeUnpin for GitStructureIssueKind
impl UnwindSafe for GitStructureIssueKind
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
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
key and return true if they are equal.