#[non_exhaustive]pub enum GitDirPathOperation {
WriteObject,
UpdateRef,
AppendReflog,
WriteIndex,
GcPack,
CreateDir,
}Expand description
Git-directory filesystem operation that failed on a single path.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
WriteObject
Writing a loose object or object store directory under objects/.
UpdateRef
Creating or updating a ref file or lock under refs/.
AppendReflog
Appending to a reflog file under logs/.
WriteIndex
Writing or replacing the index file.
GcPack
Repack, prune, or other maintenance writing under objects/pack/.
CreateDir
Creating a directory under the git dir (refs, logs, objects, …).
Trait Implementations§
Source§impl Clone for GitDirPathOperation
impl Clone for GitDirPathOperation
impl Copy for GitDirPathOperation
Source§impl Debug for GitDirPathOperation
impl Debug for GitDirPathOperation
impl Eq for GitDirPathOperation
Source§impl Hash for GitDirPathOperation
impl Hash for GitDirPathOperation
Source§impl PartialEq for GitDirPathOperation
impl PartialEq for GitDirPathOperation
impl StructuralPartialEq for GitDirPathOperation
Auto Trait Implementations§
impl Freeze for GitDirPathOperation
impl RefUnwindSafe for GitDirPathOperation
impl Send for GitDirPathOperation
impl Sync for GitDirPathOperation
impl Unpin for GitDirPathOperation
impl UnsafeUnpin for GitDirPathOperation
impl UnwindSafe for GitDirPathOperation
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